<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">&lt;<a href="mailto:Adam.Seeliger@qsc.de" target="_blank">Adam.Seeliger@qsc.de</a>&gt;</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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">Hi and thanks for the feedback,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">I already use:<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">&lt;variable name=“sip-force-contact” value=&quot;NDLB-connectile-dysfunction-2.0&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">User                                        Server<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">13:09:33.311446:             REGISTER [TLS] -&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">13:09:33.312552:             &lt;- 401 UNAUTHORIZED [TLS]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">13:09:33.331948:             REGISTER (AUTH) [TLS]  -&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">13:09:33.336959:             &lt;- 200 OK [TLS]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">Nothing happens
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">2016-02-26 13:10:00.619525 [WARNING] sofia.c:5769 Sip user &#39;user@host&#39; is now Unreachable<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">2016-02-26 13:10:00.619525 [WARNING] sofia.c:5780 Expire sip user &#39;user@host&#39; due to options failure<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">Thanks in advance,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:black">Adam<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Von:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">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:&quot;Menlo&quot;,&quot;serif&quot;;color:#34bbc7">&lt;variable</span><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;;color:#34bd26"> name=“sip-force-contact” value=&quot;NDLB-connectile-dysfunction-2.0&quot;/</span><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;;color:#34bbc7">&gt;</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:&quot;Menlo&quot;,&quot;serif&quot;;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:&quot;Menlo&quot;,&quot;serif&quot;;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:&quot;Menlo&quot;,&quot;serif&quot;;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:&quot;Menlo&quot;,&quot;serif&quot;">    &lt;!-- add a ;received=&quot;&lt;ip&gt;:&lt;port&gt;&quot; to the contact when replying to register for nat handling --&gt;<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;">&lt;!— &lt;param name=&quot;NDLB-received-in-nat-reg-contact&quot; value=&quot;true&quot;/&gt; --&gt;   <u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;">&lt;!— &lt;param name=&quot;bind-params&quot; value=&quot;transport=tcp,udp,tls&quot;/&gt;  --&gt;<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;">&lt;!-- additional bind parameters for TLS --&gt;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;">    &lt;param name=“tls-bind-params&quot; value=&quot;transport=tls&quot;/&gt;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;">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:&quot;Menlo&quot;,&quot;serif&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;">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:&quot;Menlo&quot;,&quot;serif&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:&quot;Menlo&quot;,&quot;serif&quot;">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 &lt;</span><a href="mailto:Adam.Seeliger@qsc.de" target="_blank"><span lang="EN-US">Adam.Seeliger@qsc.de</span></a><span lang="EN-US">&gt; wrote:</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">Hi all,</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">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:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">Thanks in advance</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">- Adam</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;"> </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:&quot;Times New Roman&quot;,&quot;serif&quot;">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
<br>
Official FreeSWITCH Sites<br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
<br>
FreeSWITCH-users mailing list<br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><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:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u><u></u></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><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>