diff --git a/lib/tasks/dial.js b/lib/tasks/dial.js index f14b6259..f79b7bf0 100644 --- a/lib/tasks/dial.js +++ b/lib/tasks/dial.js @@ -576,7 +576,7 @@ class TaskDial extends Task { proxy: `sip:${sbcAddress}`, callingNumber: this.callerId || fromUri.user, ...(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') };