DPMA Question

I installed the 1.8.11-cert7 x64 on Centos 6.3 and I installed the DPMA module + avahi however I’m stumped as to what I need to do now to get the phone to load a config from the server. it sees the configuration server and has the correct ip address and port but when it tries to connect I get "timed out contacting proxy message. both the D40 and the PBX are plugged into a Dell powerconnect switch and it does seem to hit the PBX as I see the following lines when the phone tries to connect.

[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [proxy@from-sip-external:1] NoOp(“Message/ast_msg_queue”, “Received incoming SIP connection from unknown peer to proxy”) in new stack
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [T@from-sip-external:1] NoOp(“Message/ast_msg_queue”, “Received incoming SIP connection from unknown peer to T”) in new stack
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [T@from-sip-external:2] Set(“Message/ast_msg_queue”, “DID=s”) in new stack
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [T@from-sip-external:3] Goto(“Message/ast_msg_queue”, “s,1”) in new stack
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Goto (from-sip-external,s,1)
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [s@from-sip-external:1] GotoIf(“Message/ast_msg_queue”, “0?checklang:noanonymous”) in new stack
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Goto (from-sip-external,s,5)
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [s@from-sip-external:5] Set(“Message/ast_msg_queue”, “TIMEOUT(absolute)=15”) in new stack
[2012-10-13 04:31:36] VERBOSE[2719] func_timeout.c: Channel will hangup at 2012-10-13 04:31:51.456 PDT.
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [s@from-sip-external:6] Answer(“Message/ast_msg_queue”, “”) in new stack
[2012-10-13 04:31:36] VERBOSE[2719] pbx.c: – Executing [s@from-sip-external:7] Wait(“Message/ast_msg_queue”, “2”) in new stack
[2012-10-13 04:31:43] WARNING[2719] channel.c: Codec mismatch on channel Message/ast_msg_queue setting write format to slin from unknown native formats 0x0 (nothing)

anyone have any ideas as to what I should try?

Thanks,
Josh

Turn off allowguest=yes, then debug the remaining problem.

Your probably want SIP debugging on, to see how the phone is identifying itself.

The trace hints that you have disabled all codecs in the general section, but still have guests anebled, and the phone is not matching any sip.conf entry.

Ok I finally got it working, I just assumed the phone or DPMA would either have more useful error or log info to isolate the problem.

I did not notice that I needed to add the following to my sip_general_custom.conf:
accept_outofcall_messages = yes
outofcall_message_context = dpma_message_context
auth_message_requests = no
callcounter = yes

and in res_digium_phone_general.conf my firmware directory was not pointing to the correct place.
once those were fixed it pulls everything perfectly from the server.

Thanks,
Josh

1 Like

I have this same problem. I have checked the key/value pairs in sip_general_custom.conf and res_digium_phones_general.conf and all are good yet my D40 still times out trying to contact proxy.

I also noticed something else strange. My phone won’t see the configuration server listed unless i reload res_digium_phone.so.

If I let it attempt to list the extensions (and times out as I’ve mentioned above), the config server is no longer listed on the Choose Configuration Server screen, UNLESS I reload the DPMA module again.

Frustrating! I hope someone has a suggestion for me.

Thanks!