[Freeswitch-users] Freeswitch sends 2 SDP answers which causes webrtc client to drop the call

Michael Jerris mike at jerris.com
Tue Feb 14 19:50:29 MSK 2017


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 at 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 <http://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. 
> 
> I have discussed the topic on the webrtc group: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/discuss-webrtc/IwOxU-IcxdY/Hfn02tEfCwAJ <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/discuss-webrtc/IwOxU-IcxdY/Hfn02tEfCwAJ>
> Also raised this in the sipjs forum: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/sip_js/ABy98d3Kwu8 <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/sip_js/ABy98d3Kwu8>
> 
> 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:
> FS log: http://pastebin.com/UQW6AdcQ <http://pastebin.com/UQW6AdcQ> 
> Chrome log: http://pastebin.com/Crk69MrS <http://pastebin.com/Crk69MrS> 
> webrtc-internals-log: http://pastebin.com/BVr7v4EB <http://pastebin.com/BVr7v4EB>
> 
> Any ideas/suggestions/comments are welcome.
> 
> Thank you in advance.
> 
> Best Regards,
> Georgi Nikolaev
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170214/60df4bf8/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list