<div dir="ltr"><div>the user@domain is a remote SIP URI, and the DNS points to port 5080 on the remote server.<br><br></div>Here's sofia loglevel 9. It receives two NAPTR records, and takes the one for SIP. It prints "tport not used"<font face="monospace,monospace"></font> -- probably that's the clue why it doesn't try to use TCP.<br><br><br><br><br><font face="monospace,monospace">sres.c:3572 sres_log_response() sres_resolver_receive(0x17af08, 0x1a3ff8) id=36650 (from [10.1.31.38]:53)<br>nta.c:10465 outgoing_answer_naptr() nta: <a href="http://demo.voxserv.net">demo.voxserv.net</a>. IN NAPTR 100 100 "S" "SIP+D2T" "" _sip._<a href="http://tcp.demo.voxserv.net">tcp.demo.voxserv.net</a>. (tport not used)<br>nta.c:10465 outgoing_answer_naptr() nta: <a href="http://demo.voxserv.net">demo.voxserv.net</a>. IN NAPTR 110 100 "S" "SIP+D2U" "" _sip._<a href="http://udp.demo.voxserv.net">udp.demo.voxserv.net</a>.<br>sres_cache.c:272 sres_cache_get() sres_cache_get(0x164408, SRV, "_sip._<a href="http://udp.demo.voxserv.net">udp.demo.voxserv.net</a>.") called<br>sres_cache.c:318 sres_cache_get() sres_cache_get(0x164408, SRV, "_sip._<a href="http://udp.demo.voxserv.net">udp.demo.voxserv.net</a>.") returned 1 entries<br>nta.c:10598 outgoing_query_srv() nta: for "<a href="http://demo.voxserv.net">demo.voxserv.net</a>" query "_sip._<a href="http://udp.demo.voxserv.net">udp.demo.voxserv.net</a>." SRV (cached)<br>nta.c:10694 outgoing_answer_srv() nta: _sip._<a href="http://udp.demo.voxserv.net">udp.demo.voxserv.net</a>. IN SRV 10 0 5080 <a href="http://ph02.trrtrr.net">ph02.trrtrr.net</a>. (udp)</font><br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 5:36 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">sofia loglevel all 9, watch the debug, is user@domain locally registered or a remote user/domain?</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 9:45 AM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">the records are actually documented here, and you can feel free to<br>
send calls to these extensions:<br>
<a href="http://voxserv.ch/demolab.html" rel="noreferrer" target="_blank">http://voxserv.ch/demolab.html</a><br>
<br>
The "<a href="http://tdemo.voxserv.net" rel="noreferrer" target="_blank">tdemo.voxserv.net</a>" points to the same service, but for TCP only.<br>
<div><div><br>
<br>
<br>
<br>
On Mon, Nov 9, 2015 at 4:00 PM, Lawrence Conroy <<a href="mailto:lconroy@insensate.co.uk" target="_blank">lconroy@insensate.co.uk</a>> wrote:<br>
> Hi there,<br>
> from experience of running NAPTR record interops, it was common for libraries/apps to ignore the "weights" and just take the first record in the DNS message.<br>
> [I don't have recent fS source to hand to check].<br>
><br>
> More interesting is your comment that, with a single NAPTER, fS silently fails.<br>
> Perhaps give an example by removing the 100/110 udp NAPTR (just leaving the tcp NAPTR)?<br>
> [and flushing the fS local DNS cache, of course :]<br>
><br>
> all the best,<br>
> Lawrence<br>
><br>
><br>
> On 9 Nov 2015, at 13:17, Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>> wrote:<br>
><br>
>> $ dig naptr <a href="http://demo.voxserv.net" rel="noreferrer" target="_blank">demo.voxserv.net</a><br>
>><br>
>> ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> naptr <a href="http://demo.voxserv.net" rel="noreferrer" target="_blank">demo.voxserv.net</a><br>
>> ;; global options: +cmd<br>
>> ;; Got answer:<br>
>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19044<br>
>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0<br>
>><br>
>> ;; QUESTION SECTION:<br>
>> ;<a href="http://demo.voxserv.net" rel="noreferrer" target="_blank">demo.voxserv.net</a>. IN NAPTR<br>
>><br>
>> ;; ANSWER SECTION:<br>
>> <a href="http://demo.voxserv.net" rel="noreferrer" target="_blank">demo.voxserv.net</a>. 600 IN NAPTR 110 100 "S" "SIP+D2U" "" _sip._<a href="http://udp.demo.voxserv.net" rel="noreferrer" target="_blank">udp.demo.voxserv.net</a>.<br>
>> <a href="http://demo.voxserv.net" rel="noreferrer" target="_blank">demo.voxserv.net</a>. 600 IN NAPTR 100 100 "S" "SIP+D2T" "" _sip._<a href="http://tcp.demo.voxserv.net" rel="noreferrer" target="_blank">tcp.demo.voxserv.net</a>.<br>
>><br>
>> ;; Query time: 206 msec<br>
>> ;; SERVER: 91.214.168.168#53(91.214.168.168)<br>
>> ;; WHEN: Mon Nov 9 14:17:30 2015<br>
>> ;; MSG SIZE rcvd: 144<br>
>><br>
>><br>
>><br>
>><br>
>> On Mon, Nov 9, 2015 at 1:41 PM, Brian West <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>> wrote:<br>
>> You're in a NAPTR records may be incorrect, example pleas<br>
>><br>
>><br>
>> On Monday, November 9, 2015, Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>> wrote:<br>
>> If I specify a bridge destination as "sofia/external/USER@DOMAIN", and<br>
>> that domain has a NAPTR record specifying TCP transport as more<br>
>> preferred, FreeSWITCH is still sending a UDP INVITE.<br>
>><br>
>> If the domain has only a NAPTR record for TCP transport, the call<br>
>> fails without sending any INVITE.<br>
>><br>
>> It works with TCP if I add ";transport=tcp" to the bridge string.<br>
>><br>
>> does this look like a bug, or it was set so with some reason?<br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.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.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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>> --<br>
>> Brian West<br>
>> <a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a><br>
>><br>
>><br>
>><br>
>> Twitter: @FreeSWITCH , @briankwest<br>
>> <a href="http://www.freeswitchbook.com" rel="noreferrer" target="_blank">http://www.freeswitchbook.com</a><br>
>> <a href="http://www.freeswitchcookbook.com" rel="noreferrer" target="_blank">http://www.freeswitchcookbook.com</a><br>
>><br>
>> Got Bugs? Report them here! | Reddit: /r/freeswitch<br>
>><br>
>> T:<a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | F:<a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | M:+1918424WEST (9378)<br>
>> iNUM:<a href="tel:%2B883%205100%201420%209001" value="+883510014209001" target="_blank">+883 5100 1420 9001</a> | ISN:410*543 | Skype:briankwest<br>
>><br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.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.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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.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.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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.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.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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.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.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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><span class=""><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></span></div></div></div></div></div></div></div></div></div></div>
</div>
<br>_________________________________________________________________________<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.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.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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>