[Freeswitch-users] Failed Registration with status DNS Error [503]
Henning Heedfeld
heedfeld at gmail.com
Mon Jul 2 16:20:19 UTC 2018
Hi,
to get the „Deutsche Telekom SIP Trunk“ working, configure your gateway like this:
<gateway name="telekom">
<param name="realm" value="sip-trunk.telekom.de"/>
<param name="register-proxy" value="reg.sip-trunk.telekom.de"/>
<param name="outbound-proxy" value="reg.sip-trunk.telekom.de"/>
<param name="register" value="true"/>
<param name="from-user" value="+49xxxxxxxx"/>
<param name="username" value="<Zugangsnummer>"/>
<param name="password" value="<Passwort>“/>
<param name="extension" value="auto_to_user"/>
</gateway>
There is no need to set any tcp params, the DNS SRV record does the job.
Good luck,
Henning
> Am 29.06.2018 um 19:38 schrieb Paul Muaddib <paul.muaddib83 at gmail.com>:
>
> Hi,
>
> how do I fix this problem:
> Failed Registration with status DNS Error [503]?
>
> I already search the net but couldn't find a proper answer. The only thing that I found was something about DNS SRV Resource Record but this was fixed in freeswitch a long time ago.
>
> My Setup:
> FreeSWITCH Version 1.6.19
> Debian 7 wheezy
> Freeswitch(Debian) -> Router(OpenBSD) -> Internet
>
> Failed Registration with status DNS Error [503]
> 2018-06-29 19:27:21.732868 [NOTICE] sofia_reg.c:448 Registering telekom_voip
> nua.c:622 nua_register() nua: nua_register: entering
> nua_stack.c:529 nua_signal() nua(0x8c8c0c8): sent signal r_register
> nua_stack.c:569 nua_stack_signal() nua(0x8c8c0c8): recv signal r_register
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:403 soa_set_params() soa_set_params(static::0xb5c1a298, ...) called
> nua_dialog.c:338 nua_dialog_usage_add() nua(0x8c8c0c8): adding register usage
> nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0xb6279478)
> nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip
> sres_cache.c:272 sres_cache_get() sres_cache_get(0x8ccd7b0, NAPTR, "sip-trunk.telekom.de.") called
> sres_cache.c:318 sres_cache_get() sres_cache_get(0x8ccd7b0, NAPTR, "sip-trunk.telekom.de.") returned 1 entries
> nta.c:10398 outgoing_query_naptr() nta: for "sip-trunk.telekom.de" query "sip-trunk.telekom.de" NAPTR (cached)
> sres_cache.c:272 sres_cache_get() sres_cache_get(0x8ccd7b0, SRV, "_sip._udp.sip-trunk.telekom.de.") called
> sres_cache.c:318 sres_cache_get() sres_cache_get(0x8ccd7b0, SRV, "_sip._udp.sip-trunk.telekom.de.") returned 1 entries
> nta.c:10598 outgoing_query_srv() nta: for "sip-trunk.telekom.de" query "_sip._udp.sip-trunk.telekom.de" SRV (cached)
> sres_cache.c:272 sres_cache_get() sres_cache_get(0x8ccd7b0, A, "sip-trunk.telekom.de.") called
> sres_cache.c:318 sres_cache_get() sres_cache_get(0x8ccd7b0, A, "sip-trunk.telekom.de.") returned 1 entries
> nta.c:10803 outgoing_query_a() nta: for "sip-trunk.telekom.de" query "sip-trunk.telekom.de" A (cached)
> nta.c:1350 set_timeout() nta: timer set to 32000 ms
> nta.c:1348 set_timeout() nta: timer shortened to 5000 ms
> nua_stack.c:271 nua_stack_event() nua(0x8c8c0c8): event r_register 503 DNS Error
> nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x8c8c0c8): removing register usage
> nta.c:4470 nta_leg_destroy() nta_leg_destroy(0xb6279478)
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> 2018-06-29 19:27:21.732868 [ERR] sofia_reg.c:2447 telekom_voip Failed Registration with status DNS Error [503]. failure #34
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> 2018-06-29 19:27:22.772957 [WARNING] sofia_reg.c:505 telekom_voip Failed Registration [503], setting retry to 30 seconds.
> nta.c:9101 outgoing_timer_dk() nta: timer K fired, terminate REGISTER (124810556)
> nta.c:8799 outgoing_reclaim_queued() outgoing_reclaim_all((nil), (nil), 0xb60911e0)
> nta.c:8929 _nta_outgoing_timer() nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free
> nta.c:1289 agent_timer() nta: timer not set
>
> sofia_dig --tcp reg.sip-trunk.telekom.de
> Preference Weight Transport Port Address
> ================================================================================
> 1 1.000 tcp 5060 217.0.26.165
> 2 1.000 tcp 5060 217.0.26.163
> 3 1.000 tcp 5060 217.0.26.133
>
> Gateway settings
> <include>
> <gateway name="telekom_voip">
> <param name="username" value=„XXXXXXXX“/>
> <param name="password" value=„XXXXXXXX“/>
>
> <param name="proxy" value="reg.sip-trunk.telekom.de"/>
> <param name="register-proxy" value="sip-trunk.telekom.de"/>
> <param name="register" value="true"/>
> <param name="register-transport" value="tcp"/>
> <param name="expire-seconds" value="3600"/>
>
> </gateway>
> </include>
>
> Regards,
> Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180702/6db28fdc/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list