<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br></div><div>to get the „Deutsche Telekom SIP Trunk“ working, configure your gateway like this:</div><div><br></div><div><div><span style="font-family: "Andale Mono";"><gateway name="telekom"></span></div>
<div><span style="font-family: "Andale Mono";"> <param name="realm" value="<a dir="ltr" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0" href="http://sip-trunk.telekom.de" x-apple-data-detectors="true">sip-trunk.telekom.de</a>"/></span></div>
<div><span style="font-family: "Andale Mono";"> <param name="register-proxy" value="<a href="http://reg.sip-trunk.telekom.de">reg.sip-trunk.telekom.de</a></span><span style="font-family: "Andale Mono";">"</span><span style="font-family: "Andale Mono";">/></span></div>
<div><span style="font-family: "Andale Mono";"> <param name=</span><span style="font-family: "Andale Mono";">"</span><span style="font-family: "Andale Mono";">outbound-proxy" value="<a href="http://reg.sip-trunk.telekom.de">reg.sip-trunk.telekom.de</a></span><span style="font-family: "Andale Mono";">"</span><span style="font-family: "Andale Mono";">/></span></div>
<div><span style="font-family: "Andale Mono";"> <param name="register" value="true"/></span></div>
<div><span style="font-family: "Andale Mono";"> <param name="from-user" value="+49xxxxxxxx"/></span></div>
<div><span style="font-family: "Andale Mono";"> <param name="username" value="<Zugangsnummer>"/></span></div>
<div><span style="font-family: "Andale Mono";"> <param name="password" value="<Passwort>“/></span></div>
<div><span style="font-family: "Andale Mono";"> <param name="extension" value="auto_to_user"/></span></div>
<div><span style="font-family: "Andale Mono";"></gateway></span></div><br><div>There is no need to set any tcp params, the DNS SRV record does the job.</div><div><br></div><div>Good luck,</div><div>Henning</div><div><br></div><div><br>Am 29.06.2018 um 19:38 schrieb Paul Muaddib <<a href="mailto:paul.muaddib83@gmail.com">paul.muaddib83@gmail.com</a>>:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>Hi,</div><div><br></div><div>how do I fix this problem: </div><div>Failed Registration with status DNS Error [503]?</div><div><br></div><div>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. <br></div><div><br></div><div><b>My Setup:</b><br></div>FreeSWITCH Version 1.6.19<br><div>Debian 7 wheezy</div><div>Freeswitch(Debian) -> Router(OpenBSD) -> Internet<br></div><br><b>Failed Registration with status DNS Error [503]</b><br>2018-06-29 19:27:21.732868 [NOTICE] sofia_reg.c:448 Registering telekom_voip<br>nua.c:622 nua_register() nua: nua_register: entering<br>nua_stack.c:529 nua_signal() nua(0x8c8c0c8): sent signal r_register<br>nua_stack.c:569 nua_stack_signal() nua(0x8c8c0c8): recv signal r_register<br>nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering<br>soa.c:403 soa_set_params() soa_set_params(static::0xb5c1a298, ...) called<br>nua_dialog.c:338 nua_dialog_usage_add() nua(0x8c8c0c8): adding register usage<br>nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0xb6279478)<br>nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip<br>sres_cache.c:272 sres_cache_get() sres_cache_get(0x8ccd7b0, NAPTR, "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>.") called<br>sres_cache.c:318 sres_cache_get() sres_cache_get(0x8ccd7b0, NAPTR, "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>.") returned 1 entries<br>nta.c:10398 outgoing_query_naptr() nta: for "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>" query "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>" NAPTR (cached)<br>sres_cache.c:272 sres_cache_get() sres_cache_get(0x8ccd7b0, SRV, "_sip._<a href="http://udp.sip-trunk.telekom.de">udp.sip-trunk.telekom.de</a>.") called<br>sres_cache.c:318 sres_cache_get() sres_cache_get(0x8ccd7b0, SRV, "_sip._<a href="http://udp.sip-trunk.telekom.de">udp.sip-trunk.telekom.de</a>.") returned 1 entries<br>nta.c:10598 outgoing_query_srv() nta: for "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>" query "_sip._<a href="http://udp.sip-trunk.telekom.de">udp.sip-trunk.telekom.de</a>" SRV (cached)<br>sres_cache.c:272 sres_cache_get() sres_cache_get(0x8ccd7b0, A, "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>.") called<br>sres_cache.c:318 sres_cache_get() sres_cache_get(0x8ccd7b0, A, "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>.") returned 1 entries<br>nta.c:10803 outgoing_query_a() nta: for "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>" query "<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>" A (cached)<br>nta.c:1350 set_timeout() nta: timer set to 32000 ms<br>nta.c:1348 set_timeout() nta: timer shortened to 5000 ms<br>nua_stack.c:271 nua_stack_event() nua(0x8c8c0c8): event r_register 503 DNS Error<br>nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x8c8c0c8): removing register usage<br>nta.c:4470 nta_leg_destroy() nta_leg_destroy(0xb6279478)<br>nua_stack.c:359 nua_application_event() nua: nua_application_event: entering<br>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>2018-06-29 19:27:21.732868 [ERR] sofia_reg.c:2447 telekom_voip Failed Registration with status DNS Error [503]. failure #34<br>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>2018-06-29 19:27:22.772957 [WARNING] sofia_reg.c:505 telekom_voip Failed Registration [503], setting retry to 30 seconds.<br>nta.c:9101 outgoing_timer_dk() nta: timer K fired, terminate REGISTER (124810556)<br>nta.c:8799 outgoing_reclaim_queued() outgoing_reclaim_all((nil), (nil), 0xb60911e0)<br>nta.c:8929 _nta_outgoing_timer() nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free<br>nta.c:1289 agent_timer() nta: timer not set<br><br><b>sofia_dig --tcp <a href="http://reg.sip-trunk.telekom.de">reg.sip-trunk.telekom.de</a></b><br>Preference Weight Transport Port Address<br>================================================================================<br> 1 1.000 tcp 5060 217.0.26.165<br> 2 1.000 tcp 5060 217.0.26.163<br> 3 1.000 tcp 5060 217.0.26.133<br><div><br></div><div><b>Gateway settings</b><br></div><include><br> <gateway name="telekom_voip"><br> <param name="username" value=„XXXXXXXX“/><br> <param name="password" value=„XXXXXXXX“/><br><br> <param name="proxy" value="<a href="http://reg.sip-trunk.telekom.de">reg.sip-trunk.telekom.de</a>"/><br> <param name="register-proxy" value="<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a>"/><br> <param name="register" value="true"/><br> <param name="register-transport" value="tcp"/><br> <param name="expire-seconds" value="3600"/><br><br> </gateway><br><div></include></div><div><br></div><div>Regards,<br></div><div>Paul<br></div></div>
</div></blockquote></div></body></html>