SIP.JS 0.11 FREESWITCH 1.6 AUDIO ISSUES
up vote
0
down vote
favorite
I am trying to use sip.js 0.11 with FreeSwitch 1.6 but when the call is established (ACCEPTED) it has no audio. Audio works when a hold-unhold is made. Tested on: Chrome 70 and electron 3. APP Code : USERAGENT userAgent = new SIP.UA({ uri: user+'@'+url, transportOptions: { wsServers: ['wss://' + url], }, authorizationUser: user, password: password, register : true, }); userAgent.start() MAKE A CALL var sessionDescriptionHandlerOptions = { constraints: { audio: true, video: false } } var session = userAgent.invite('sip:'+number+'@freeswitch_server', sessionDescriptionHandlerOptions); ATTACH_MEDIA session.on('trackAdded', function() { var pc = ses...