<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<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.&#160;</div>
<div>The setup is webrtc (sipjs)-&gt;Freeswitch-&gt;SIP Termination, where a call is originated by the&#160;<a href="http://sipjs.ua/">sipjs.ua</a>&#160;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 style="orphans: 2; widows: 2;">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' for&#160;<font size="3">UDP/TLS/RTP/SAVPF followed by&#160;‘offer’ for&#160;</font><span style="font-size: medium;">RTP/SAVPF.</span></div>
<div style="orphans: 2; widows: 2;"><span style="font-size: medium;">The one that fail are 2 SDP answers.&#160;</span></div>
<div style="orphans: 2; widows: 2;"><span style="font-size: medium;"><br /></span></div>
<div style="orphans: 2; widows: 2;"><span style="font-size: medium;">I have discussed the topic on the webrtc group:&#160;</span><a href="https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!msg/discuss-webrtc/IwOxU-IcxdY/Hfn02tEfCwAJ">https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!msg/discuss-webrtc/IwOxU-IcxdY/Hfn02tEfCwAJ</a></div>
<div style="orphans: 2; widows: 2;">Also raised this in the sipjs forum:&#160;<a href="https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!topic/sip_js/ABy98d3Kwu8">https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!topic/sip_js/ABy98d3Kwu8</a></div>
<div style="orphans: 2; widows: 2;"><br /></div>
<div style="orphans: 2; widows: 2;">On both it has been suggested that this is either a setting in Freeswitch or its incorrectly sent SDP messages.</div>
<div style="orphans: 2; widows: 2;"><br /></div>
<div style="orphans: 2; widows: 2;">Freeswitch version: 1.6.14</div>
<div style="orphans: 2; widows: 2;">SIP.js: 0.7.5</div>
<div style="orphans: 2; widows: 2;">Browser: Chrome - latest version</div>
<div style="orphans: 2; widows: 2;"><br /></div>
<div style="orphans: 2; widows: 2;">I would appreciate any help on this as its causing me some random call drops affecting the service.</div>
<div style="orphans: 2; widows: 2;"><br /></div>
<div style="orphans: 2; widows: 2;">Here are the logs as well:</div>
<div style="orphans: 2; widows: 2;">FS log:&#160;<a href="http://pastebin.com/UQW6AdcQ">http://pastebin.com/UQW6AdcQ</a>&#160;</div>
<div style="orphans: 2; widows: 2;">Chrome log:&#160;<a href="http://pastebin.com/Crk69MrS">http://pastebin.com/Crk69MrS</a>&#160;</div>
<div style="orphans: 2; widows: 2;">webrtc-internals-log:&#160;<a href="http://pastebin.com/BVr7v4EB">http://pastebin.com/BVr7v4EB</a></div>
<div style="orphans: 2; widows: 2;"><br /></div>
<div style="orphans: 2; widows: 2;">Any ideas/suggestions/comments are welcome.</div>
<div style="orphans: 2; widows: 2;"><br /></div>
<div style="orphans: 2; widows: 2;">Thank you in advance.</div>
</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">Best Regards,<br style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" />
Georgi Nikolaev</div>
</div>
</body>
</html>