Skip to content

No sound when overwriting "peerConnectionOptions" in "sessionDescriptionHandlerFactoryOptions" #531

Closed

Description

@bharath-inference

Hi,

I'm using sip.js version 0.9.1. I was trying to overwrite " rtcpMuxPolicy: 'negotiate" under sessionDescriptionHandlerFactoryOptions in UA creation. When I make a call, it looks successful but couldn't hear any sound from the other end. I have attached the logs of both with and without using sessionDescriptionHandlerFactoryOptions. Feel free to suggest some proper way to handle this issue.

Script in UA creation:

ua = new SIP.UA({
uri: myAuth + "@xx.xxx.xxx.xx",
wsServers: "wss://xx.xxx.xxx.xx:4433",
traceSip: true,
authorizationUser: '1000',
password: '1000',
displayName: 'WebRTC App',
sessionDescriptionHandlerFactoryOptions:{
constraints: {
audio: true,
video: false
},
peerConnectionOptions:{
rtcConfiguration:{
rtcpMuxPolicy: 'negotiate'
}
}
}
});

Logs when I use sessionDescriptionHandlerFactoryOptions

sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | configuration parameters after validation:
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · viaHost: "q1tkqfbh3glt.invalid"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · uri: sip:[email protected]
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · wsServers: [{"ws_uri":"wss://xx.xxx.xxx.xx:4433","sip_uri":"sip:xx.xxx.xxx.xx:4433;transport=ws;lr","weight":0,"status":0,"scheme":"WSS"}]
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · custom: {}
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · displayName: "WebRTC App"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · password: NOT SHOWN
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · registerExpires: 600
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · register: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · registrarServer: sip:xx.xxx.xxx.xx
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · wsServerMaxReconnection: 3
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · wsServerReconnectionTimeout: 4
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · connectionRecoveryMinInterval: 2
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · connectionRecoveryMaxInterval: 30
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · keepAliveInterval: 0
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · extraSupported: []
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · usePreloadedRoute: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · userAgentString: "SIP.js/0.9.1"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · noAnswerTimeout: 60000
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · traceSip: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackViaTcp: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackIpInContact: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackWssInTransport: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackAllowUnregisteredOptionTags: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · sessionDescriptionHandlerFactoryOptions: {"constraints":{"audio":true,"video":false},"peerConnectionOptions":{"rtcConfiguration":{"rtcpMuxPolicy":"negotiate"}}}
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · contactName: "s43mptnh"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · contactTransport: "ws"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · forceRport: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · autostart: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · autostop: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · rel100: "none"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · replaces: "none"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · sessionDescriptionHandlerFactory: function defaultFactory(session, options) {
return new SessionDescriptionHandler(session, options);
}
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · authenticationFactory: undefined
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · allowLegacyNotifications: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · allowOutOfDialogRefers: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · authorizationUser: "1000"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · instanceId: "e443167e-2f31-4cdc-917e-27328623a7c2"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · sipjsId: "1e6ik"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hostportParams: "xx.xxx.xxx.xx"
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | user requested startup...
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.transport | connecting to WebSocket wss://xx.xxx.xxx.xx:4433
callControl-9.1.js:87 UA {log: LoggerFactory, logger: Logger, cache: {…}, configuration: {…}, dialogs: {…}, …}
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.transport | WebSocket wss://xx.xxx.xxx.xx:4433 connected
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.ua | connection state set to 0
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.transport | sending WebSocket message:

REGISTER sip:xx.xxx.xxx.xx SIP/2.0
Via: SIP/2.0/WSS q1tkqfbh3glt.invalid;branch=z9hG4bK4044892
Max-Forwards: 70
To: "WebRTC App" sip:[email protected]
From: "WebRTC App" sip:[email protected];tag=filsr1bmnr
Call-ID: lbhbpldk0jnp2sg3c0krat
CSeq: 1967 REGISTER
Contact: sip:[email protected];transport=ws;reg-id=1;+sip.instance="urn:uuid:e443167e-2f31-4cdc-917e-27328623a7c2";expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: path, gruu, outbound
User-Agent: SIP.js/0.9.1
Content-Length: 0

sip-0.9.1.js:807 Fri Mar 09 2018 13:46:08 GMT+1100 (AUS Eastern Summer Time) | sip.transport | received WebSocket text message:

SIP/2.0 200 OK
Via: SIP/2.0/WSS q1tkqfbh3glt.invalid;received=xx.xxx.xxx.xx;branch=z9hG4bK4044892
To: "WebRTC App" sip:[email protected];tag=79f170d9eedc1092ba7849ac2aa01fc0.5b4a
From: "WebRTC App" sip:[email protected];tag=filsr1bmnr
Call-ID: lbhbpldk0jnp2sg3c0krat
CSeq: 1967 REGISTER
Contact: sip:[email protected]:56949;transport=ws;expires=600;received="sip:xx.xxx.xxx.xx:56949;transport=WSS"
Server: OpenSIPS (2.3.3 (x86_64/linux))
Content-Length: 0

callControl-9.1.js:126 makecalltest MediaStream {id: "38eb508a-3638-4639-9282-a434b6fe8ab8", active: false, onaddtrack: null, onremovetrack: null, onactive: null, …}
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | initPeerConnection
sip-0.9.1.js:8962 [Deprecation] The rtcpMuxPolicy option is being considered for removal and may be removed no earlier than M62, around October 2017. If you depend on it, please see https://www.chromestatus.com/features/5654810086866944 for more details.
initPeerConnection @ sip-0.9.1.js:8962
SessionDescriptionHandler @ sip-0.9.1.js:8650
defaultFactory @ sip-0.9.1.js:8663
invite @ sip-0.9.1.js:5854
(anonymous) @ sip-0.9.1.js:7323
Promise.then (async)
UA.invite @ sip-0.9.1.js:7322
makeCalltest @ callControl-9.1.js:137
onclick @ dtmfindex.html?_ijt=edarillan1lqhmdj0ldh8ifcpn:63
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | New peer connection created
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | acquiring local media
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | acquired local media streams
sip-0.9.1.js:807 RTCSessionDescription {type: "offer", sdp: "v=0
↵o=- 7558141224133054892 2 IN IP4 127.0.0.1
↵s…4604 label:c2281745-dbf6-4503-a199-e94a231e9e13
↵"}
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | RTCIceGatheringState changed: gathering
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2346683772 1 udp 2122255103 2001::9d38:6abd:86d:353e:ce00:3509 50135 typ host generation 0 ufrag vxV6 network-id 2 network-cost 50
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:3732548911 1 udp 2122194687 xx.xxx.xxx.xx 50136 typ host generation 0 ufrag vxV6 network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2346683772 2 udp 2122255102 2001::9d38:6abd:86d:353e:ce00:3509 50137 typ host generation 0 ufrag vxV6 network-id 2 network-cost 50
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:3732548911 2 udp 2122194686 xx.xxx.xxx.xx 50138 typ host generation 0 ufrag vxV6 network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:3311169932 1 tcp 1518275327 2001::9d38:6abd:86d:353e:ce00:3509 9 typ host tcptype active generation 0 ufrag vxV6 network-id 2 network-cost 50
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2432291295 1 tcp 1518214911 xx.xxx.xxx.xx 9 typ host tcptype active generation 0 ufrag vxV6 network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:3311169932 2 tcp 1518275326 2001::9d38:6abd:86d:353e:ce00:3509 9 typ host tcptype active generation 0 ufrag vxV6 network-id 2 network-cost 50
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2432291295 2 tcp 1518214910 xx.xxx.xxx.xx 9 typ host tcptype active generation 0 ufrag vxV6 network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:678057211 1 udp 1685987071 xx.xxx.xxx.xx 50136 typ srflx raddr xx.xxx.xxx.xx rport 50136 generation 0 ufrag vxV6 network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:678057211 2 udp 1685987070 xx.xxx.xxx.xx 50138 typ srflx raddr xx.xxx.xxx.xx rport 50138 generation 0 ufrag vxV6 network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | RTCIceGatheringState changed: complete
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.transport | sending WebSocket message:

INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/WSS q1tkqfbh3glt.invalid;branch=z9hG4bK9588158
Max-Forwards: 70
To: sip:[email protected]
From: "WebRTC App" sip:[email protected];tag=2hnajnbdbk
Call-ID: 1e6iktmv4es57h0p8dqg
CSeq: 5345 INVITE
Contact: sip:[email protected];transport=ws;ob
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound
User-Agent: SIP.js/0.9.1
Content-Type: application/sdp
Content-Length: 2485

v=0
o=- 7558141224133054892 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS iktHeBNohsvKjteYN14wKiIyXYmiSehPVvhw
m=audio 50136 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 xx.xxx.xxx.xx
a=rtcp:50138 IN IP4 xx.xxx.xxx.xx
a=candidate:2346683772 1 udp 2122255103 2001::9d38:6abd:86d:353e:ce00:3509 50135 typ host generation 0 network-id 2 network-cost 50
a=candidate:3732548911 1 udp 2122194687 xx.xxx.xxx.xx 50136 typ host generation 0 network-id 1
a=candidate:2346683772 2 udp 2122255102 2001::9d38:6abd:86d:353e:ce00:3509 50137 typ host generation 0 network-id 2 network-cost 50
a=candidate:3732548911 2 udp 2122194686 xx.xxx.xxx.xx 50138 typ host generation 0 network-id 1
a=candidate:3311169932 1 tcp 1518275327 2001::9d38:6abd:86d:353e:ce00:3509 9 typ host tcptype active generation 0 network-id 2 network-cost 50
a=candidate:2432291295 1 tcp 1518214911 xx.xxx.xxx.xx 9 typ host tcptype active generation 0 network-id 1
a=candidate:3311169932 2 tcp 1518275326 2001::9d38:6abd:86d:353e:ce00:3509 9 typ host tcptype active generation 0 network-id 2 network-cost 50
a=candidate:2432291295 2 tcp 1518214910 xx.xxx.xxx.xx 9 typ host tcptype active generation 0 network-id 1
a=candidate:678057211 1 udp 1685987071 xx.xxx.xxx.xx 50136 typ srflx raddr xx.xxx.xxx.xx rport 50136 generation 0 network-id 1
a=candidate:678057211 2 udp 1685987070 xx.xxx.xxx.xx 50138 typ srflx raddr xx.xxx.xxx.xx rport 50138 generation 0 network-id 1
a=ice-ufrag:vxV6
a=ice-pwd:kXRL1VgXvxRc0SFXXCHQJoMC
a=ice-options:trickle
a=fingerprint:sha-256 97:9D:4F:94:DD:9E:DB:00:08:07:3C:C8:26:5F:99:BA:4B:FD:C0:0F:E6:1C:E1:BD:78:32:4D:72:A9:A0:C1:50
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1727364604 cname:bYaW9OHg5J5MuKAS
a=ssrc:1727364604 msid:iktHeBNohsvKjteYN14wKiIyXYmiSehPVvhw c2281745-dbf6-4503-a199-e94a231e9e13
a=ssrc:1727364604 mslabel:iktHeBNohsvKjteYN14wKiIyXYmiSehPVvhw
a=ssrc:1727364604 label:c2281745-dbf6-4503-a199-e94a231e9e13

sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.transport | received WebSocket text message:

SIP/2.0 100 Giving a try
Via: SIP/2.0/WSS q1tkqfbh3glt.invalid;received=xx.xxx.xxx.xx;branch=z9hG4bK9588158
To: sip:[email protected]
From: "WebRTC App" sip:[email protected];tag=2hnajnbdbk
Call-ID: 1e6iktmv4es57h0p8dqg
CSeq: 5345 INVITE
Server: OpenSIPS (2.3.3 (x86_64/linux))
Content-Length: 0

sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.transport | received WebSocket text message:

SIP/2.0 200 OK
Via: SIP/2.0/WSS q1tkqfbh3glt.invalid;received=xx.xxx.xxx.xx;branch=z9hG4bK9588158
Record-Route: sip:xx.xxx.xxx.xx;r2=on;lr
Record-Route: sip:xx.xxx.xxx.xx:4433;transport=wss;r2=on;lr
From: "WebRTC App" sip:[email protected];tag=2hnajnbdbk
To: sip:[email protected];tag=1215620261
Call-ID: 1e6iktmv4es57h0p8dqg
CSeq: 5345 INVITE
Contact: sip:xx.xxx.xxx.xx:5060
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, INFO, OPTIONS, CANCEL
Content-Length: 499

v=0
o=BroadWks 50 0 IN IP4 xx.xxx.xxx.xx
s=Media Server SDP
t=0 0
m=audio 18892 UDP/TLS/RTP/SAVPF 0
c=IN IP4 xx.xxx.xxx.xx
a=rtpmap:0 PCMU/8000
a=ptime:20
a=sendrecv
a=rtcp:18893
a=setup:passive
a=fingerprint:sha-1 03:A2:C0:46:33:08:14:1F:F7:CC:AA:D1:46:74:97:2D:0B:30:6F:18
a=ice-ufrag:Xd8VOuCl
a=ice-pwd:qSwaZDwdclhxKnZPl5RwG3OCgV
a=candidate:zmUBiRJNRUADS9kF 1 UDP 2130706431 xx.xxx.xxx.xx 18892 typ host
a=candidate:zmUBiRJNRUADS9kF 2 UDP 2130706430 xx.xxx.xxx.xx 18893 typ host

sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.dialog | new UAC dialog created with status CONFIRMED
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | Using deprecated stream API
LoggerFactory.print @ sip-0.9.1.js:807
LoggerFactory.(anonymous function) @ sip-0.9.1.js:824
Logger.(anonymous function) @ sip-0.9.1.js:818
peerConnection.onaddstream @ sip-0.9.1.js:8973
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | stream added
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | track added
sip-0.9.1.js:807 Fri Mar 09 2018 13:46:09 GMT+1100 (AUS Eastern Summer Time) | sip.transport | sending WebSocket message:

ACK sip:xx.xxx.xxx.xx:5060 SIP/2.0
Route: sip:xx.xxx.xxx.xx:4433;transport=wss;r2=on;lr
Route: sip:xx.xxx.xxx.xx;r2=on;lr
Via: SIP/2.0/WSS q1tkqfbh3glt.invalid;branch=z9hG4bK6569981
Max-Forwards: 70
To: sip:[email protected];tag=1215620261
From: "WebRTC App" sip:[email protected];tag=2hnajnbdbk
Call-ID: 1e6iktmv4es57h0p8dqg
CSeq: 5345 ACK
Supported: outbound
User-Agent: SIP.js/0.9.1
Content-Length: 0

Logs After I remove sessionDescriptionHandlerFactoryOptions:

sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | configuration parameters after validation:
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · viaHost: "440dq3hvflqm.invalid"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · uri: sip:[email protected]
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · wsServers: [{"ws_uri":"wss://xx.xxx.xxx.xx:4433","sip_uri":"sip:xx.xxx.xxx.xx:4433;transport=ws;lr","weight":0,"status":0,"scheme":"WSS"}]
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · custom: {}
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · displayName: "WebRTC App"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · password: NOT SHOWN
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · registerExpires: 600
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · register: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · registrarServer: sip:xx.xxx.xxx.xx
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · wsServerMaxReconnection: 3
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · wsServerReconnectionTimeout: 4
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · connectionRecoveryMinInterval: 2
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · connectionRecoveryMaxInterval: 30
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · keepAliveInterval: 0
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · extraSupported: []
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · usePreloadedRoute: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · userAgentString: "SIP.js/0.9.1"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · noAnswerTimeout: 60000
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · traceSip: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackViaTcp: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackIpInContact: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackWssInTransport: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hackAllowUnregisteredOptionTags: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · sessionDescriptionHandlerFactoryOptions: {"constraints":{},"peerConnectionOptions":{}}
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · contactName: "a1cs8a9j"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · contactTransport: "ws"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · forceRport: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · autostart: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · autostop: true
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · rel100: "none"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · replaces: "none"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · sessionDescriptionHandlerFactory: function defaultFactory(session, options) {
return new SessionDescriptionHandler(session, options);
}
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · authenticationFactory: undefined
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · allowLegacyNotifications: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · allowOutOfDialogRefers: false
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · authorizationUser: "1000"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · instanceId: "5cdd627f-163a-4039-9241-f8e05115bc0f"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · sipjsId: "or5u2"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | · hostportParams: "xx.xxx.xxx.xx"
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | user requested startup...
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.transport | connecting to WebSocket wss://xx.xxx.xxx.xx:4433
callControl-9.1.js:87 UA {log: LoggerFactory, logger: Logger, cache: {…}, configuration: {…}, dialogs: {…}, …}
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.transport | WebSocket wss://xx.xxx.xxx.xx:4433 connected
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.ua | connection state set to 0
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.transport | sending WebSocket message:

REGISTER sip:xx.xxx.xxx.xx SIP/2.0
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;branch=z9hG4bK5700548
Max-Forwards: 70
To: "WebRTC App" sip:[email protected]
From: "WebRTC App" sip:[email protected];tag=to36i3ucoq
Call-ID: 50ih7urdgsrbofmsqu4fqk
CSeq: 4936 REGISTER
Contact: sip:[email protected];transport=ws;reg-id=1;+sip.instance="urn:uuid:5cdd627f-163a-4039-9241-f8e05115bc0f";expires=600
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: path, gruu, outbound
User-Agent: SIP.js/0.9.1
Content-Length: 0

sip-0.9.1.js:807 Fri Mar 09 2018 13:53:18 GMT+1100 (AUS Eastern Summer Time) | sip.transport | received WebSocket text message:

SIP/2.0 200 OK
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;received=xx.xxx.xxx.xx;branch=z9hG4bK5700548
To: "WebRTC App" sip:[email protected];tag=79f170d9eedc1092ba7849ac2aa01fc0.2d7a
From: "WebRTC App" sip:[email protected];tag=to36i3ucoq
Call-ID: 50ih7urdgsrbofmsqu4fqk
CSeq: 4936 REGISTER
Contact: sip:[email protected]:57686;transport=ws;expires=600;received="sip:xx.xxx.xxx.xx:57686;transport=WSS"
Server: OpenSIPS (2.3.3 (x86_64/linux))
Content-Length: 0

callControl-9.1.js:126 makecalltest MediaStream {id: "bbc2e651-3a5b-4d1e-81e2-6076405816fe", active: false, onaddtrack: null, onremovetrack: null, onactive: null, …}
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | initPeerConnection
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | New peer connection created
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | acquiring local media
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | acquired local media streams
sip-0.9.1.js:807 RTCSessionDescription {type: "offer", sdp: "v=0
↵o=- 7371622685600575206 2 IN IP4 127.0.0.1
↵s…1386 label:5b673b52-b255-4b73-9ae1-09f6c0a0f9f2
↵"}
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | RTCIceGatheringState changed: gathering
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2346683772 1 udp 2122255103 2001::9d38:6abd:86d:353e:ce00:3509 52570 typ host generation 0 ufrag xiWd network-id 2 network-cost 50
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:3732548911 1 udp 2122194687 xx.xxx.xxx.xx 52571 typ host generation 0 ufrag xiWd network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:3311169932 1 tcp 1518275327 2001::9d38:6abd:86d:353e:ce00:3509 9 typ host tcptype active generation 0 ufrag xiWd network-id 2 network-cost 50
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2432291295 1 tcp 1518214911 xx.xxx.xxx.xx 9 typ host tcptype active generation 0 ufrag xiWd network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:678057211 1 udp 1685987071 xx.xxx.xxx.xx52571 typ srflx raddr xx.xxx.xxx.xx rport 52571 generation 0 ufrag xiWd network-id 1
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.invitecontext.sessionDescriptionHandler | RTCIceGatheringState changed: complete
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.transport | sending WebSocket message:

INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;branch=z9hG4bK3952319
Max-Forwards: 70
To: sip:[email protected]
From: "WebRTC App" sip:[email protected];tag=m3ksdec6ff
Call-ID: or5u26uo15kh060s99ao
CSeq: 1072 INVITE
Contact: sip:[email protected];transport=ws;ob
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound
User-Agent: SIP.js/0.9.1
Content-Type: application/sdp
Content-Length: 1868

v=0
o=- 7371622685600575206 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS oH9c1jONPZgscBYMvBHNh9usCVHj931zUeW6
m=audio 52571 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 49.255.202.246
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2346683772 1 udp 2122255103 2001::9d38:6abd:86d:353e:ce00:3509 52570 typ host generation 0 network-id 2 network-cost 50
a=candidate:3732548911 1 udp 2122194687 xx.xxx.xxx.xx 52571 typ host generation 0 network-id 1
a=candidate:3311169932 1 tcp 1518275327 2001::9d38:6abd:86d:353e:ce00:3509 9 typ host tcptype active generation 0 network-id 2 network-cost 50
a=candidate:2432291295 1 tcp 1518214911 xx.xxx.xxx.xx 9 typ host tcptype active generation 0 network-id 1
a=candidate:678057211 1 udp 1685987071 xx.xxx.xxx.xx52571 typ srflx raddr xx.xxx.xxx.xx rport 52571 generation 0 network-id 1
a=ice-ufrag:xiWd
a=ice-pwd:mbbyO4qopD/3wBHRqfCMe7Vb
a=ice-options:trickle
a=fingerprint:sha-256 AA:0F:4C:4C:06:48:31:BA:35:20:80:46:2F:9D:44:11:B7:DD:CA:0A:4E:26:55:48:24:13:B7:04:BB:16:FD:BE
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1332271386 cname:GgSaC7tbLCP4KRYH
a=ssrc:1332271386 msid:oH9c1jONPZgscBYMvBHNh9usCVHj931zUeW6 5b673b52-b255-4b73-9ae1-09f6c0a0f9f2
a=ssrc:1332271386 mslabel:oH9c1jONPZgscBYMvBHNh9usCVHj931zUeW6
a=ssrc:1332271386 label:5b673b52-b255-4b73-9ae1-09f6c0a0f9f2

sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.transport | received WebSocket text message:

SIP/2.0 100 Giving a try
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;received=xx.xxx.xxx.xx;branch=z9hG4bK3952319
To: sip:[email protected]
From: "WebRTC App" sip:[email protected];tag=m3ksdec6ff
Call-ID: or5u26uo15kh060s99ao
CSeq: 1072 INVITE
Server: OpenSIPS (2.3.3 (x86_64/linux))
Content-Length: 0

sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.transport | received WebSocket text message:

SIP/2.0 200 OK
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;received=xx.xxx.xxx.xx;branch=z9hG4bK3952319
Record-Route: sip:xx.xxx.xxx.xx;r2=on;lr
Record-Route: sip:xx.xxx.xxx.xx:4433;transport=wss;r2=on;lr
From: "WebRTC App" sip:[email protected];tag=m3ksdec6ff
To: sip:[email protected];tag=1623569839
Call-ID: or5u26uo15kh060s99ao
CSeq: 1072 INVITE
Contact: sip:xx.xxx.xxx.xx:5060
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, INFO, OPTIONS, CANCEL
Content-Length: 499

v=0
o=BroadWks 53 0 IN IP4 xx.xxx.xxx.xx
s=Media Server SDP
t=0 0
m=audio 18918 UDP/TLS/RTP/SAVPF 0
c=IN IP4 xx.xxx.xxx.xx
a=rtpmap:0 PCMU/8000
a=ptime:20
a=sendrecv
a=rtcp:18919
a=setup:passive
a=fingerprint:sha-1 03:A2:C0:46:33:08:14:1F:F7:CC:AA:D1:46:74:97:2D:0B:30:6F:18
a=ice-ufrag:o9Kk6fJf
a=ice-pwd:UsB9UkjcmAkSuua0To2mZbcnkU
a=candidate:zmUBiRJNRUADS9kF 1 UDP 2130706431 xx.xxx.xxx.xx 18918 typ host
a=candidate:zmUBiRJNRUADS9kF 2 UDP 2130706430 xx.xxx.xxx.xx 18919 typ host

sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.dialog | new UAC dialog created with status CONFIRMED
sip-0.9.1.js:807 DOMException: Failed to set remote answer sdp: Session error code: ERROR_CONTENT. Session error description: rtcpMuxPolicy is 'require', but media description does not contain 'a=rtcp-mux'..
LoggerFactory.print @ sip-0.9.1.js:807
LoggerFactory.(anonymous function) @ sip-0.9.1.js:824
Logger.(anonymous function) @ sip-0.9.1.js:818
setRemoteDescriptionError @ sip-0.9.1.js:8874
Promise.catch (async)
setDescription @ sip-0.9.1.js:8872
receiveInviteResponse @ sip-0.9.1.js:6143
receiveResponse @ sip-0.9.1.js:3965
InviteClientTransaction.receiveResponse @ sip-0.9.1.js:3061
onMessage @ sip-0.9.1.js:11872
ws.onmessage @ sip-0.9.1.js:11730
sip-0.9.1.js:807 DOMException: Failed to set remote answer sdp: Session error code: ERROR_CONTENT. Session error description: rtcpMuxPolicy is 'require', but media description does not contain 'a=rtcp-mux'..
LoggerFactory.print @ sip-0.9.1.js:807
LoggerFactory.(anonymous function) @ sip-0.9.1.js:824
Logger.(anonymous function) @ sip-0.9.1.js:818
onFailure @ sip-0.9.1.js:6154
Promise.then (async)
receiveInviteResponse @ sip-0.9.1.js:6143
receiveResponse @ sip-0.9.1.js:3965
InviteClientTransaction.receiveResponse @ sip-0.9.1.js:3061
onMessage @ sip-0.9.1.js:11872
ws.onmessage @ sip-0.9.1.js:11730
sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.transport | sending WebSocket message:

ACK sip:xx.xxx.xxx.xx:5060 SIP/2.0
Route: sip:xx.xxx.xxx.xx:4433;transport=wss;r2=on;lr
Route: sip:xx.xxx.xxx.xx;r2=on;lr
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;branch=z9hG4bK7605820
Max-Forwards: 70
To: sip:[email protected];tag=1623569839
From: "WebRTC App" sip:[email protected];tag=m3ksdec6ff
Call-ID: or5u26uo15kh060s99ao
CSeq: 1072 ACK
Supported: outbound
User-Agent: SIP.js/0.9.1
Content-Length: 0

sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.transport | sending WebSocket message:

BYE sip:xx.xxx.xxx.xx:5060 SIP/2.0
Route: sip:xx.xxx.xxx.xx:4433;transport=wss;r2=on;lr
Route: sip:xx.xxx.xxx.xx;r2=on;lr
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;branch=z9hG4bK1393799
Max-Forwards: 70
To: sip:[email protected];tag=1623569839
From: "WebRTC App" sip:[email protected];tag=m3ksdec6ff
Call-ID: or5u26uo15kh060s99ao
CSeq: 1073 BYE
Reason: SIP ;cause=488 ;text="Not Acceptable Here"
Supported: outbound
User-Agent: SIP.js/0.9.1
Content-Length: 0

sip-0.9.1.js:807 Fri Mar 09 2018 13:53:24 GMT+1100 (AUS Eastern Summer Time) | sip.transport | received WebSocket text message:

SIP/2.0 200 OK
Via: SIP/2.0/WSS 440dq3hvflqm.invalid;received=xx.xxx.xxx.xx;branch=z9hG4bK1393799
From: "WebRTC App" sip:[email protected];tag=m3ksdec6ff
To: sip:[email protected];tag=1623569839
Call-ID: or5u26uo15kh060s99ao
CSeq: 1073 BYE
Contact: sip:xx.xxx.xxx.xx:5060
Content-Length: 0

Activity

  1. egreenmachine commented on Mar 9, 2018

    @egreenmachine
    Collaborator

    It make sense that it does not work when you remove the option. The error is clear that it is expecting rtcp-mux and not getting it. For the first case, where you pass the option, can you confirm via WebRTC stats or Wireshark if rtp is flowing?

    In all likelihood this is probably not a SIP.js issue.

  2. bharath-inference commented on Mar 12, 2018

    @bharath-inference
    Author

    It looks like RTP is flowing when I checked with Wireshark and outbound call is working fine even though I'm using the same UA creation with options. Can you please suggest some ways to negotiate rtcp-mux.

  3. egreenmachine commented on Mar 12, 2018

    @egreenmachine
    Collaborator

    If the far end can hear you and RTP is flowing, I think that this is simply the media is not attached correctly to the audio elements.

  4. bharath-inference commented on Mar 13, 2018

    @bharath-inference
    Author

    Thanks a lot @egreenmachine. It was the issue of attaching the audio element, after I made some corrections. It works fine now.

  5. egreenmachine commented on Mar 13, 2018

    @egreenmachine
    Collaborator

    Glad to hear that worked out. As a reminder the rtcp-mux option is deprecated and will be removed from browsers soon. https://groups.google.com/d/msg/discuss-webrtc/eM57DEy89MY/Yy_q0uAiAgAJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions