<div dir="rtl"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">  There might be two issues here:</div><div dir="ltr"><br></div><div dir="ltr">1. Yealink had a bug in TLS omplementation and FreeSwitch. This has been fixed about a month ago, so make sure you are using the latest firmware.</div>
<div dir="ltr">2. Make sure you set:</div><div dir="ltr">        &lt;action application=&quot;set&quot; data=&quot;sip_secure_media=true&quot;/&gt;<br></div><div dir="ltr">        &lt;action application=&quot;export&quot; data=&quot;nolocal:sip_secure_media=true&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;rtp_secure_media=true&quot;/&gt;<br>        &lt;action application=&quot;export&quot; data=&quot;nolocal:rtp_secure_media=true&quot;/&gt;</div><div dir="ltr"><br>before calling the phone (some of the above lines might be superfluous, but I didn&#39;t bother to check it).</div>
<div dir="ltr"><br></div><div dir="ltr">                        Regards, __Yehavi:</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2014-04-25 16:38 GMT+03:00 Iskren Hadzhinedev <span dir="ltr">&lt;<a href="mailto:iskren.hadzhinedev@ikiji.com" target="_blank">iskren.hadzhinedev@ikiji.com</a>&gt;</span>:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:&quot;Exo 2&quot;;font-size:8pt;font-style:normal;font-weight:400">
<p style="margin:0px;text-indent:0px">Hello everyone,</p>
<p style="margin:0px;text-indent:0px">Just got a couple of new Yealink T48G phones and I am having a couple of rather weird (at least for me) issues with them.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Whenever I enable TLS authentication on the phones, they register with the FreeSWITCH box but there&#39;s no media on the </p>
<p style="margin:0px;text-indent:0px">outbound calls and I&#39;m unable to get any incoming calls at all. If I switch the authentication protocol to TCP or UDP it&#39;s all </p>
<p style="margin:0px;text-indent:0px">working good. I tried enabling/disabling SRTP for all 3 protocols and it kept the behaviour consistent.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">All calls made are local (registered to the same FreeSWITCH box) and only these phones have any issues with calls. </p>
<p style="margin:0px;text-indent:0px">I can call someone from the Yealink and then add another person in a 3-way conference. </p>
<p style="margin:0px;text-indent:0px">That way the two remote parties can hear eachother, but the Yealink is dead silent.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Here&#39;s the profile on which all phones are connected:</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">&lt;profile name=&quot;local&quot;&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">        &lt;domains&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;domain name=&quot;all&quot; alias=&quot;true&quot; parse=&quot;false&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">        &lt;/domains&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">        &lt;settings&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;sip-trace&quot; value=&quot;no&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;sip-capture&quot; value=&quot;no&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;watchdog-enabled&quot; value=&quot;no&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;watchdog-step-timeout&quot; value=&quot;30000&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;watchdog-event-timeout&quot; value=&quot;30000&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;log-auth-failures&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;forward-unsolicited-mwi-notify&quot; value=&quot;false&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;rfc2833-pt&quot; value=&quot;101&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;sip-port&quot; value=&quot;5060&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;liberal-dtmf&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;dtmf-duration&quot; value=&quot;2000&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;inbound-codec-prefs&quot; value=&quot;SILK,OPUS,G722,PCMU,PCMA,GSM&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;PCMU,PCMA,GSM&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;rtp-timer-name&quot; value=&quot;soft&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;rtp-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;sip-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;hold-music&quot; value=&quot;local_stream://moh&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;record-path&quot; value=&quot;$${base_dir}/recordings&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;record-template&quot; value=&quot;${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</span></p>

<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;manage-presence&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;inbound-codec-negotiation&quot; value=&quot;generous&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;tls&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;tls-only&quot; value=&quot;false&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;tls-version&quot; value=&quot;tlsv1&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;tls-bind-params&quot; value=&quot;transport=tls&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;tls-sip-port&quot; value=&quot;5061&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;tls-cert-dir&quot; value=&quot;$${base_dir}/conf/ssl&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;tls-verify-date&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;inbound-zrtp-passthru&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;nonce-ttl&quot; value=&quot;60&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;auth-calls&quot; value=&quot;yes&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;inbound-reg-force-matching-username&quot; value=&quot;true&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;auth-all-packets&quot; value=&quot;false&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;ext-sip-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">                &lt;param name=&quot;challenge-realm&quot; value=&quot;auto_from&quot;/&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">        &lt;/settings&gt;</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;cousine&quot;">&lt;/profile&gt;</span></p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">and (due to their sizes) a tport log, a siptrace for an outgoing call from the Yealink and an incoming call (that never rings the phone) with TLS enabled.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">The whole setup is:</p>
<p style="margin:0px;text-indent:0px">FreeSWITCH -- Internet -- NAT Router -- Yealink and Android phone (in different subnets so no direct LAN communication between them)</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Any thoughts are greatly appreciated.</p>
<p style="margin:0px;text-indent:0px">Thanks in advance!</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Kind regards,<br>-- </p>
<p style="margin:0px;text-indent:0px"><span style="font-family:&quot;exo 2&quot;">Iskren Hadzhinedev</span></p></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>