<div dir="ltr">Hi Michael,<div><br></div><div>Thanks for looking into it.</div><div><br></div><div>FS Log: <a href="http://pastebin.com/LzYAdzQG">http://pastebin.com/LzYAdzQG</a></div><div>Chrome log: <a href="http://pastebin.com/jcL1QkyJ">http://pastebin.com/jcL1QkyJ</a></div><div>Webrtc-internals: <a href="http://pastebin.com/YNkK2dgV">http://pastebin.com/YNkK2dgV</a></div><div><br></div><div>By 2 SDP answers I mean I receive 1 with the 183 SIP message I right after I get an 200 OK with SDP again which confuses the webrtc client. According to the chaps from the webrtc group and the sipjs group, this is not allowed in the webrtc standard. In my original email you can find the links to the discussions I had with them as well.</div><div><br></div><div>Let me know if anything else is needed.</div><div><br></div><div>Thank you!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 14, 2017 at 4:50 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">not sure what 2 sdp answers mean.  Do you have a freeswitch debug log with sip trace enabled?<div><br><div><blockquote type="cite"><div><div class="h5"><div>On Feb 14, 2017, at 9:36 AM, Georgi Nikolaev &lt;<a href="mailto:georgi@proitc.org" target="_blank">georgi@proitc.org</a>&gt; wrote:</div><br class="m_-3153712843076009652Apple-interchange-newline"></div></div><div><div><div class="h5">



<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">
<div name="messageBodySection" style="font-family:-apple-system,BlinkMacSystemFont,sans-serif">Hi Folks,
<div><br></div>
<div>I am experiencing an issue where remote SDP can not be set due to receiving 2 SDP answers. </div>
<div>The setup is webrtc (sipjs)-&gt;Freeswitch-&gt;SIP Termination, where a call is originated by the <a href="http://sipjs.ua/" target="_blank">sipjs.ua</a> calling a public number. As soon as the remote party answers the call, the call drops due to not being able to gather the remote media path.</div>
<div><br></div>
<div>Worth mentioning is that only some calls fail where the majority are successful. The difference between the successful and the unsuccessful ones is in the SDP messages. The good one receive ‘answer&#39; for <font size="3">UDP/TLS/RTP/SAVPF followed by ‘offer’ for </font><span style="font-size:12px">RTP/SAVPF.</span></div>
<div><span style="font-size:12px">The one that fail are 2 SDP answers. </span></div>
<div><span style="font-size:12px"><br></span></div>
<div><span style="font-size:12px">I have discussed the topic on the webrtc group: </span><a href="https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!msg/discuss-webrtc/IwOxU-IcxdY/Hfn02tEfCwAJ" target="_blank">https://groups.google.<wbr>com/forum/?utm_medium=email&amp;<wbr>utm_source=footer#!msg/<wbr>discuss-webrtc/IwOxU-IcxdY/<wbr>Hfn02tEfCwAJ</a></div>
<div>Also raised this in the sipjs forum: <a href="https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!topic/sip_js/ABy98d3Kwu8" target="_blank">https://groups.google.<wbr>com/forum/?utm_medium=email&amp;<wbr>utm_source=footer#!topic/sip_<wbr>js/ABy98d3Kwu8</a></div>
<div><br></div>
<div>On both it has been suggested that this is either a setting in Freeswitch or its incorrectly sent SDP messages.</div>
<div><br></div>
<div>Freeswitch version: 1.6.14</div>
<div>SIP.js: 0.7.5</div>
<div>Browser: Chrome - latest version</div>
<div><br></div>
<div>I would appreciate any help on this as its causing me some random call drops affecting the service.</div>
<div><br></div>
<div>Here are the logs as well:</div>
<div>FS log: <a href="http://pastebin.com/UQW6AdcQ" target="_blank">http://pastebin.com/<wbr>UQW6AdcQ</a> </div>
<div>Chrome log: <a href="http://pastebin.com/Crk69MrS" target="_blank">http://pastebin.com/<wbr>Crk69MrS</a> </div>
<div>webrtc-internals-log: <a href="http://pastebin.com/BVr7v4EB" target="_blank">http://<wbr>pastebin.com/BVr7v4EB</a></div>
<div><br></div>
<div>Any ideas/suggestions/comments are welcome.</div>
<div><br></div>
<div>Thank you in advance.</div>
</div>
</div>
<div name="messageSignatureSection"><br>
<div class="m_-3153712843076009652matchFont">Best Regards,<br style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">
Georgi Nikolaev</div>
</div>
</div></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" target="_blank">http://www.<wbr>freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>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" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div><br>______________________________<wbr>______________________________<wbr>_____________<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.<wbr>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.<wbr>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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>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>