<div dir="ltr">If your phone has enabled SIPS uri please disable and use sip+tls.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 26, 2016 at 3:37 PM, Seeliger, Adam <span dir="ltr"><<a href="mailto:Adam.Seeliger@qsc.de" target="_blank">Adam.Seeliger@qsc.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">Hi and thanks for the feedback,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">sry that I did not respond for a long time.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">I already use:<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><variable name=“sip-force-contact” value="NDLB-connectile-dysfunction-2.0"/><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">I also tested all mentioned params below, nothing works.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">When I register a User via TLS FreeSWITCH does not even try to ping the user.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">I turned sofia global siptrace on and watched the flow:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:70.8pt;text-indent:35.4pt"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">User Server<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">13:09:33.311446: REGISTER [TLS] -><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">13:09:33.312552: <- 401 UNAUTHORIZED [TLS]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">13:09:33.331948: REGISTER (AUTH) [TLS] -><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">13:09:33.336959: <- 200 OK [TLS]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">Nothing happens
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">2016-02-26 13:10:00.619525 [WARNING] sofia.c:5769 Sip user 'user@host' is now Unreachable<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">2016-02-26 13:10:00.619525 [WARNING] sofia.c:5780 Expire sip user 'user@host' due to options failure<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">When I REGISTER the User via UDP FreeSWITCH starts to ping (OPTIONS) the user as soon as he is registered.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">Is there any way to force FreeSWITCH to send OPTIONs in both, udp and tls, depending on the registration?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">Thanks in advance,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black">Adam<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:black"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>Im Auftrag von </b>Emrah<br>
<b>Gesendet:</b> Freitag, 29. </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Januar 2016 09:25<br>
<b>An:</b> FreeSWITCH Users Help<br>
<b>Betreff:</b> Re: [Freeswitch-users] all-reg-options-ping and tls issue<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi!<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">This is interesting. I experienced something rather similar where calls would drop because FS would timeout on certain packets sent over UDP instead of TLS.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I assume you mean FS exits with port 5060 instead of port 5061? Because the port on the remote end should be dynamically set.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I found out that in my case, what works best even with TLS, is to use:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif";color:#34bbc7"><variable</span><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif";color:#34bd26"> name=“sip-force-contact” value="NDLB-connectile-dysfunction-2.0"/</span><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif";color:#34bbc7">></span><span lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif";color:#34bbc7">This goes as far as it can to lay out the path to contacting the client with all consideration in regards to NAT and dynamic ports.</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif";color:#34bbc7">Not sure if it will help you. I’ve personally disabled options-ping an let my clients deal with keep-alive instead.</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif";color:#34bbc7">You could also look into:</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""> <!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling --><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""><!— <param name="NDLB-received-in-nat-reg-contact" value="true"/> --> <u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""><!— <param name="bind-params" value="transport=tcp,udp,tls"/> --><u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""><!-- additional bind parameters for TLS --><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""> <param name=“tls-bind-params" value="transport=tls"/><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif"">I’ll leave it up to you to investigate those options more in details on the FS documentation.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif"">Please keep us posted!<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo","serif"">E<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span lang="EN-US">On Jan 28, 2016, at 11:48 AM, Seeliger, Adam <</span><a href="mailto:Adam.Seeliger@qsc.de" target="_blank"><span lang="EN-US">Adam.Seeliger@qsc.de</span></a><span lang="EN-US">> wrote:</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">Hi all,</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif""> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">I have a problem, when I enable TLS and register a phone using TLS on Port 5061.</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">FreeSWITCH still tries to “ping” the phone using Port 5060 using UDP, which is ignored by the phone.</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">Moments later FreeSWITCH deletes the registration, because “unregister-on-options-fail” is set to “true”.</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif""> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">I already figured out, that you can set “all-reg-options-ping” to “udp-only”, but this would completely disable this feature for TLS.</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">Is there any way to ping TLS registered using TLS?</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif""> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">Thanks in advance</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif""> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"">- Adam</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif""> </span><span lang="EN-US"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif"">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="mailto:consulting@freeswitch.org" target="_blank"><span lang="EN-US">consulting@freeswitch.org</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="http://www.freeswitchsolutions.com" target="_blank"><span lang="EN-US">http://www.freeswitchsolutions.com</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<br>
Official FreeSWITCH Sites<br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="http://www.freeswitch.org" target="_blank"><span lang="EN-US">http://www.freeswitch.org</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="http://confluence.freeswitch.org" target="_blank"><span lang="EN-US">http://confluence.freeswitch.org</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="http://www.cluecon.com" target="_blank"><span lang="EN-US">http://www.cluecon.com</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<br>
FreeSWITCH-users mailing list<br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><span lang="EN-US">FreeSWITCH-users@lists.freeswitch.org</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><span lang="EN-US">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="http://www.freeswitch.org" target="_blank"><span lang="EN-US">http://www.freeswitch.org</span></a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u> <u></u></span></p>
</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>