<div dir="ltr">And I was wrong, nothnig to do with STUN,<div>Problem is that engine state (switch_rtp_ready(engine->rtp_session) is false) is not ready at the moment that STUN/ICE is starting.</div><div><br></div><div>Not to see what is holding Audio engine to get to ready state (I'm suspecting the TRANSCODING_NECESSARY event) </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 3:46 PM, Mirko Brankovic <span dir="ltr"><<a href="mailto:mirkobrankovic@gmail.com" target="_blank">mirkobrankovic@gmail.com</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">actually the answering leg responds with CONTROLING request</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 3:33 PM, Mirko Brankovic <span dir="ltr"><<a href="mailto:mirkobrankovic@gmail.com" target="_blank">mirkobrankovic@gmail.com</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">Looks like the problem lies in fact that both call legs/channels in refer call scenario are in my case outgoing legs, and then they are sending CONTROLED stun username requests, so I don't have CONTROLING side.<div><br></div><div>while at the same time Video stun is negotiated immediately and correctly.</div><div>Log shows it I guess.</div><div><a href="https://pastebin.freeswitch.org/view/33d30c7e" target="_blank">https://pastebin.freeswitch.or<wbr>g/view/33d30c7e</a><br></div></div><div class="gmail_extra"><div><div class="m_4084261411775482454h5"><br><div class="gmail_quote">On Sat, Sep 23, 2017 at 3:12 PM, Mirko Brankovic <span dir="ltr"><<a href="mailto:mirkobrankovic@gmail.com" target="_blank">mirkobrankovic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Thanks Mike,<div dir="auto">all clients are webrtc clients behind same freeswitch.</div><div dir="auto">At the same time video rtp/rtcp dtls is instant, but audio is waiting for something, my best guess is for rtcp from client to confirm correct ip.port or to do auto correct.</div><div dir="auto">Call scenario is A call B and B transfers(refer)  call to C.</div><div dir="auto">Also I see in those 5 seconds that first client, A sends total of 6 stun username requests and that C answers to them all at the same time, after 5s.</div><div dir="auto">Can this be rtcp problem.</div><div dir="auto">I was thinking to go through video ice thread and compare it to audio to see how that one works instantly.</div><div dir="auto">thanks,</div><div dir="auto">Mirko</div><div dir="auto"><br></div><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_4084261411775482454m_-379122014842063979h5">On Sep 21, 2017 19:55, "Michael Jerris" <<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>> wrote:<br type="attribution"></div></div><blockquote class="m_4084261411775482454m_-379122014842063979m_-4098512720910909070quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_4084261411775482454m_-379122014842063979h5"><div style="word-wrap:break-word">its not going to negotiate until we get the stun responses.  If we are not, you should look if the client is sending them and something is blocking, or why the client is waiting to send them.  Sounds broken on client side from the description.<div class="m_4084261411775482454m_-379122014842063979m_-4098512720910909070elided-text"><div><br><div><blockquote type="cite"><div>On Sep 21, 2017, at 7:53 AM, Mirko Brankovic <<a href="mailto:mirkobrankovic@gmail.com" target="_blank">mirkobrankovic@gmail.com</a>> wrote:</div><br class="m_4084261411775482454m_-379122014842063979m_-4098512720910909070m_2501165717186883956Apple-interchange-newline"><div><div dir="ltr">HI,<div>Has anyone experienced DTLS handshake takes 5s to get to SETUP state:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2017-09-21 11:40:40.021178 [INFO] switch_rtp.c:3515 Changing audio DTLS state from OFF to HANDSHAKE<br>2017-09-21 11:40:45.319457 [INFO] switch_rtp.c:3172 Changing audio DTLS state from HANDSHAKE to SETUP</blockquote><div><br></div><div>In network dump i see that answering side is not sending STUN for this 5s and then suddenly answers last 5 STUNs from A side.</div><div><br></div><div>Has anyone encountered this kind of problem ?</div><div><br></div><div>I have a pcap if necessary...</div></div></div></div></blockquote></div><br></div></div></div><br></div></div>______________________________<wbr>______________________________<wbr>_____________<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<wbr>.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.o<wbr>rg</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.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_4084261411775482454HOEnZb"><font color="#888888">-- <br><div class="m_4084261411775482454m_-379122014842063979gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Regards,<div>Mirko</div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_4084261411775482454gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Regards,<div>Mirko</div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Regards,<div>Mirko</div></div></div></div></div></div></div></div></div>
</div>