Registration Failed with status DNS Error
Hi I have a problem registering a gateway, the return error is DNS error [503]. My DNS is OK, i can dig to the destination domain in question, and even when o do sofia_dig in fresswith it resolves the domain without problems. how does freeswitch resolves the destination domain? if you need more information, please let me know. Btw i just compile the last git head. Thanks, António ******** Log register. 2012-01-25 17:20:42.637192 [NOTICE] sofia_reg.c:414 Registering sol 2012-01-25 17:20:42.737189 [ERR] sofia_reg.c:2004 sol Registration Failed with status DNS Error [503]. failure #1 2012-01-25 17:20:43.637195 [WARNING] sofia_reg.c:473 sol Failed Registration [0], setting retry to 30 seconds. ******** sofia status gateway sol: freeswitch@internal> sofia status gateway sol ================================================================================================= Name sol Profile 192.168.10.25 Scheme Digest Realm mobile.commsmundi.com:5060 Username 2203 Password yes From <sip:2203@mobile.commsmundi.com:5060;transport=udp> Contact <sip:gw+sol@192.168.10.25:5060;transport=udp;gw=sol> Exten 2203 To sip:2203@mobile.commsmundi.com:5060 Proxy sip:mobile.commsmundi.com:5060 Context incoming Expires 1800 Freq 1800 Ping 1327508466 PingFreq 25 PingState -1/0/1 State FAIL_WAIT Status DOWN CallsIN 0 CallsOUT 0 FailedCallsIN 0 FailedCallsOUT 0 ================================================================================================= ******** sofia_dig: freeswitch@internal> sofia_dig mobile.commsmundi.com Preference Weight Transport Port Address ================================================================================ 1 0.200 udp 5060 192.168.10.1
Is it even sending the request? try turning on nua and sresolv debug in sofia to see more about what is going on? Mike On Jan 25, 2012, at 11:37 AM, Antonio wrote:
Hi
I have a problem registering a gateway, the return error is DNS error [503].
My DNS is OK, i can dig to the destination domain in question, and even when o do sofia_dig in fresswith it resolves the domain without problems.
how does freeswitch resolves the destination domain?
Mike, thanks for the answer. Actually the problem is the DNS server doesn't have an A entry for the destination domain. When i add this entry to the domain, the register works nice. Shouldn't freeswitch try to resolve first to the SRV entry and then if none is found, try to resolve the A entry? you can find my logs in http://pastebin.freeswitch.org/18231 I read something in the jira for some options to disable SRV in the profile, i look at the code and it seams to be enabled by default. Just to be sure i also try to put in the profile all the possibilities to disable-srv and disable-srv503, without luck. Thanks, António On Wed, 2012-01-25 at 13:53 -0500, Michael Jerris wrote:
Is it even sending the request? try turning on nua and sresolv debug in sofia to see more about what is going on?
Mike
On Jan 25, 2012, at 11:37 AM, Antonio wrote:
Hi
I have a problem registering a gateway, the return error is DNS error [503].
My DNS is OK, i can dig to the destination domain in question, and even when o do sofia_dig in fresswith it resolves the domain without problems.
how does freeswitch resolves the destination domain?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Antonio
-
Michael Jerris