<div dir="ltr"><div>Hi Giovanni,</div><div><br></div><div>Thank you for tips!</div><div><br></div><div>Lets see if I'll be able to fix this. ;)</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 20, 2019 at 7:35 PM Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>That seems to be a nat problem, or an ice misconfiguration, like using wrong stun (that results in a nat problem, again).</div><div dir="auto"><br></div><div dir="auto">I assume all is equal in server.</div><div dir="auto"><br></div><div dir="auto">Check to see if you can give different parameters to clients, maybe between releases Freeswitch changed in subtle modes how it react to subtle client parameters. I would check all nat/ice/stun client parameters and experiment with them...</div><div dir="auto"><br></div><div dir="auto">Just a possible line of investigation, no warranties ;)</div><div dir="auto"><br></div><div dir="auto">-giovanni</div><div dir="auto"><br></div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Wed, Feb 20, 2019, 16:18 Jurijs Ivolga <<a href="mailto:jurijs.ivolga@gmail.com" target="_blank">jurijs.ivolga@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi Giovanni,</div><div><br></div><div>Thank you for tips!</div><div><br></div><div>There is nothing happening after what I sent, so call just stuck there. Only if I hangup on any side.</div><div><br></div><div>Only I can to add that after 30 seconds I just get this line:</div><div><br></div><div>2019-02-20 14:22:07.195060 [ERR] switch_rtp.c:834 No audio stun for a long time!</div><div><br></div><div>If I hangup calls on both side, call still shows in freeswitch as active if I do show calls.</div><div><br></div><div>I believe I have everything needed for trans-coding in config files, cause calls where no DTLS involved but with transcoding, calls works fine. In that case I have RTP(ALAW) => Freeswitch => SRTP(OPUS)<br></div><div><br></div><div>Regarding ICE:</div><div><br></div><div>
<div class="gmail-m_6853819659518764682m_8707008968763213965gmail-de1">2019-02-20 12:51:21.532911 [INFO] switch_core_media.c:8690 Activating Audio ICE</div>
<div class="gmail-m_6853819659518764682m_8707008968763213965gmail-de1">2019-02-20 12:51:21.532911 [NOTICE] switch_rtp.c:4799 Activating RTP audio ICE: 1cf2011d:u4NGJi1myDzrpRoh <a href="http://10.99.88.122:55465" rel="noreferrer" target="_blank">10.99.88.122:55465</a></div>
<div class="gmail-m_6853819659518764682m_8707008968763213965gmail-de1">2019-02-20 12:51:21.532911 [DEBUG] switch_core_media.c:8731 Activating RTCP PORT 55465</div>
<div class="gmail-m_6853819659518764682m_8707008968763213965gmail-de2">2019-02-20 12:51:21.532911 [DEBUG] switch_rtp.c:4696 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 55465</div>
2019-02-20 12:51:21.532911 [INFO] switch_core_media.c:8742 Skipping RTCP ICE (Same as RTP)

</div><div><br></div><div><div><div dir="ltr" class="gmail-m_6853819659518764682m_8707008968763213965gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 20, 2019 at 4:17 PM Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com" rel="noreferrer" target="_blank">gmaruzz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>You stopped the log much before the call ends... Can you pastebin a complete log, up to DESTROY CS ?</div><div><br></div><div>Also, out of memory, do you have the things related to transcode media and mixing media activated in config? Do FreeSWITCH find a media candidate during ICE bargaining?</div><div><br></div><div>If you pastebin a complete log maybe we can help more</div><div><br></div><div>-giovanni<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 20, 2019 at 2:58 PM Jurijs Ivolga <<a href="mailto:jurijs.ivolga@gmail.com" rel="noreferrer" target="_blank">jurijs.ivolga@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I doubt that this is in network or configuration error. Everything are same between 1.6 & 1.8. I'm using docker and difference are only in Docker file where I build freeswitch. If I rebuild with old Docker file(1.6) then it works fine, but with new Docker file for 1.8, I have problems. Everything else seems to work, but DTLS calls...<br></div><div><br></div><div>Logs:<br></div><div><a href="https://pastebin.com/g2FqHWWz" rel="noreferrer" target="_blank">https://pastebin.com/g2FqHWWz</a><br></div><div><br></div><div><div><div dir="ltr" class="gmail-m_6853819659518764682m_8707008968763213965gmail-m_4276689801894408286gmail-m_6384384333637871276gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 20, 2019 at 2:47 PM Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com" rel="noreferrer" target="_blank">gmaruzz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Wed, Feb 20, 2019 at 12:59 PM Jurijs Ivolga <<a href="mailto:jurijs.ivolga@gmail.com" rel="noreferrer" target="_blank">jurijs.ivolga@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I'm trying to migrate from 1.6.20 to 1.8.5, but I'm facing a problem with DTLS calls(media_webrtc=true).</div><div><br></div><div>Does anybody has same issues as me?</div><div><br></div><div>I have following setup:</div><div><br></div><div>
RTP=>Freeswitch=>DTLS </div><div><br></div><div>In 1.8.5, when Freeswitch receive 200 from DTLS endpoint, but it never sends it back to RTP endpoint.<br></div></div></div></div></div></div></blockquote><div><br></div><div>maybe you have a network problem, or a configuration problem network related in 1.8 deployment?</div><div><br></div><div>Also, for us to better understand: from fs cli, "sofia global siptrace on", after this, copy and paste the ENTIRE debug level output from beginning to end in a pastebin.</div><div><br></div><div>Then put here the pastebin link</div><div><br></div><div>-giovanni<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div><div><br></div><div>Here some snippet from logs, where call stuck:<br></div><div><br></div>2019-02-20 09:50:07.368784 [INFO] switch_rtp.c:3832 Changing audio DTLS state from OFF to HANDSHAKE<br>2019-02-20 09:50:07.368784 [DEBUG] switch_core_media.c:8815 sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a> Set 2833 dtmf send payload to 101<br>2019-02-20 09:50:07.368784 [DEBUG] switch_core_media.c:8822 sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a> Set 2833 dtmf receive payload to 101<br>2019-02-20 09:50:07.368784 [DEBUG] switch_core_media.c:8845 sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a> Set rtp dtmf delay to 40<br><br>In 1.6.20 everything works as expected:<br><br>2019-02-20 11:12:40.129989 [DEBUG] switch_core_media.c:7180 sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a> Set 2833 dtmf send payload to 101<br>2019-02-20 11:12:40.129989 [DEBUG] switch_core_media.c:7187 sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a> Set 2833 dtmf receive payload to 101<br>2019-02-20 11:12:40.129989 [DEBUG] switch_core_media.c:7210 sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a> Set rtp dtmf delay to 40<br>2019-02-20 11:12:40.129989 [NOTICE] sofia.c:8218 Channel [sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a>] has been answered<br>2019-02-20 11:12:40.129989 [DEBUG] switch_channel.c:3773 (sofia/internal/<a href="mailto:9999999999999999999@sip.myapp.net" rel="noreferrer" target="_blank">9999999999999999999@sip.myapp.net</a>) Callstate Change RINGING -> ACTIVE<br>2019-02-20 11:12:40.129989 [DEBUG] switch_core_codec.c:248 sofia/internal/<a href="mailto:1234567890@sip.myapp.net" rel="noreferrer" target="_blank">1234567890@sip.myapp.net</a> Restore previous codec PCMA:8.<br>2019-02-20 11:12:40.129989 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/internal/<a href="mailto:1234567890@sip.myapp.net" rel="noreferrer" target="_blank">1234567890@sip.myapp.net</a>.<br>2019-02-20 11:12:40.129989 [DEBUG] mod_sofia.c:850 Local SDP sofia/internal/<a href="mailto:1234567890@sip.myapp.net" rel="noreferrer" target="_blank">1234567890@sip.myapp.net</a>:<br><div><br></div><div><div dir="ltr" class="gmail-m_6853819659518764682m_8707008968763213965gmail-m_4276689801894408286gmail-m_6384384333637871276gmail-m_-9091100055038368426gmail-m_2023522295598177054gmail_signature"><div dir="ltr">Jurijs<br></div></div></div></div></div></div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer 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 noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_6853819659518764682m_8707008968763213965gmail-m_4276689801894408286gmail-m_6384384333637871276gmail-m_-9091100055038368426gmail_signature">Sincerely,<br><br>Giovanni Maruzzelli<br>OpenTelecom.IT<br>cell: +39 347 266 56 18<br><br></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer 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 noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer 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 noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_6853819659518764682m_8707008968763213965gmail-m_4276689801894408286gmail_signature">Sincerely,<br><br>Giovanni Maruzzelli<br>OpenTelecom.IT<br>cell: +39 347 266 56 18<br><br></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer 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 noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer 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 noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>