Hi Michael,

Thanks for looking into it.

FS Log: http://pastebin.com/LzYAdzQG
Chrome log: http://pastebin.com/jcL1QkyJ
Webrtc-internals: http://pastebin.com/YNkK2dgV

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.

Let me know if anything else is needed.

Thank you!

On Tue, Feb 14, 2017 at 4:50 PM, Michael Jerris <mike@jerris.com> wrote:
not sure what 2 sdp answers mean.  Do you have a freeswitch debug log with sip trace enabled?

On Feb 14, 2017, at 9:36 AM, Georgi Nikolaev <georgi@proitc.org> wrote:

Hi Folks,

I am experiencing an issue where remote SDP can not be set due to receiving 2 SDP answers. 
The setup is webrtc (sipjs)->Freeswitch->SIP Termination, where a call is originated by the sipjs.ua 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.

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 UDP/TLS/RTP/SAVPF followed by ‘offer’ for RTP/SAVPF.
The one that fail are 2 SDP answers. 


On both it has been suggested that this is either a setting in Freeswitch or its incorrectly sent SDP messages.

Freeswitch version: 1.6.14
SIP.js: 0.7.5
Browser: Chrome - latest version

I would appreciate any help on this as its causing me some random call drops affecting the service.

Here are the logs as well:
webrtc-internals-log: http://pastebin.com/BVr7v4EB

Any ideas/suggestions/comments are welcome.

Thank you in advance.

Best Regards,
Georgi Nikolaev
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org