mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
when dialing the B leg we check to see if we are using opus on the A leg, and if so we outdial B with opus first; however we were incorrectly checking the SDP on the A leg invite not the 200 OK we send back (#1455)
This commit is contained in:
@@ -576,7 +576,7 @@ class TaskDial extends Task {
|
|||||||
proxy: `sip:${sbcAddress}`,
|
proxy: `sip:${sbcAddress}`,
|
||||||
callingNumber: this.callerId || fromUri.user,
|
callingNumber: this.callerId || fromUri.user,
|
||||||
...(this.callerName && {callingName: this.callerName}),
|
...(this.callerName && {callingName: this.callerName}),
|
||||||
opusFirst: isOpusFirst(this.cs.ep.remote.sdp),
|
opusFirst: isOpusFirst(this.cs.ep.local.sdp),
|
||||||
isVideoCall: this.cs.ep.remote.sdp.includes('m=video')
|
isVideoCall: this.cs.ep.remote.sdp.includes('m=video')
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user