<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div><br></div><div>It seems, that it has something to do with NAPTR Records.</div></div><div><br></div><div>I’ve no clue about that. I’m running a simple DNS-Resolver on pfsense. No full DNS Server. Maybe could be this the problem?</div><div>How do i fix NAPTR Records?</div><div><br></div><div>Here is the logging output from freeswitch:</div><div><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f529c0042c0): events IN</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">tport.c:2864 tport_recv_event() tport_recv_event(0x7f529c0042c0)</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f529c0042c0) msg 0x7f529c003230 from (udp/192.168.170.204:5060) has 4 bytes, veclen = 1</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">tport.c:3023 tport_deliver() tport_deliver(0x7f529c0042c0): bad msg 0x7f529c003230 (4 bytes) from udp/192.168.170.10:5060/sip next=(nil)</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(51, 187, 200); background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">2018-01-26 12:05:56.939301 [NOTICE] sofia_reg.c:448 Registering 9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua.c:622 nua_register() nua: nua_register: entering</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua_stack.c:569 nua_stack_signal() nua(0x7f5294024b60): recv signal r_register</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">soa.c:403 soa_set_params() soa_set_params(static::0x7f529c0360a0, ...) called</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua_dialog.c:338 nua_dialog_usage_add() nua(0x7f5294024b60): adding register usage</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua_stack.c:529 nua_signal() nua(0x7f5294024b60): sent signal r_register</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7f529c038a40)</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">sres_cache.c:272 sres_cache_get() sres_cache_get(0x7f529c002c40, SRV, "_sip._udp.9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f.") called</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">sres_cache.c:318 sres_cache_get() sres_cache_get(0x7f529c002c40, SRV, "_sip._udp.9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f.") returned 1 entries</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nta.c:10598 outgoing_query_srv() nta: for "9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f" query "_sip._udp.9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f" SRV (cached)</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">sres_cache.c:272 sres_cache_get() sres_cache_get(0x7f529c002c40, A, "9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f.") called</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">sres_cache.c:318 sres_cache_get() sres_cache_get(0x7f529c002c40, A, "9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f.") returned 1 entries</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nta.c:10803 outgoing_query_a() nta: for "9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f" query "9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f" A (cached)</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nta.c:1348 set_timeout() nta: timer shortened to 5000 ms</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua_stack.c:271 nua_stack_event() nua(0x7f5294024b60): event r_register 503 DNS Error</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x7f5294024b60): removing register usage</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nta.c:4470 nta_leg_destroy() nta_leg_destroy(0x7f529c038a40)</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">2018-01-26 12:05:56.939301 [ERR] sofia_reg.c:2447 9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f Failed Registration with status DNS Error [503]. failure #99</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(213, 59, 211); background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">2018-01-26 12:05:57.939301 [WARNING] sofia_reg.c:505 9bde7ac0-4a8f-4937-ab2e-0c213e8c1d2f Failed Registration [503], setting retry to 30 seconds.</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">nta.c:9101 outgoing_timer_dk() nta: timer K fired, terminate REGISTER (118146314)</span></p></div><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures">greetings</span></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">Von: </span> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>> on behalf of Volodymyr Fedorov <<a href="mailto:lexxua@gmail.com">lexxua@gmail.com</a>><br><span style="font-weight:bold">Antworten an: </span> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br><span style="font-weight:bold">Datum: </span> Freitag, 26. Januar 2018 um 10:25<br><span style="font-weight:bold">An: </span> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br><span style="font-weight:bold">Betreff: </span> Re: [Freeswitch-users] Trouble connecting Sangoma Vega 50 BRI to Freeswitch<br></div><div><br></div><div dir="ltr">Hi, maybe pcap with register towards to Freeswitch will be useful.<div>I had vega euro 50 with FXS ports and combination works without any issue.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 25, 2018 at 4:09 PM, badhills <span dir="ltr"><<a href="mailto:markus@ply.com" target="_blank">markus@ply.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>
i have trouble connecting my Sangoma vega 50 BRI to Freeswitch.<br><br>
I setup the Vega in quick setup, with user and password.<br><br>
Then i setup the gateway in freeswitch. But both sides are getting forbidden<br>
and unauthorized messages.<br>
In the freeswitch log is a dns failure, but dns seems to working great. I<br>
can't find issues there.<br><br>
Unfortunately, I haven't found anything suitable yet and I'm getting<br>
desperate. It can't be that hard. If I configure extensions, it works fine<br>
and I can make internal calls with 2 or more phones. The connection to the<br>
gateway isn't very different, is it?<br><br>
Under Asterisk with Freepbx I already got this to work, but I wanted to try<br>
it with FreeSwitch.<br><br>
Had anybody a working connection and could explain it a lil bit to me?<br><br>
kind regards,<br>
Markus<br><br><br><br>
--<br>
Sent from: <a href="http://freeswitch-users.2379917.n2.nabble.com/" rel="noreferrer" target="_blank">http://freeswitch-users.<wbr>2379917.n2.nabble.com/</a><br><br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>
Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br><br>
FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div style="font-size:small">Best regards,</div><div style="font-size:small">Volodymyr</div></div></div></div></div>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></body></html>