Skip to content

Commit

Permalink
fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Dec 5, 2024
1 parent fe90f1d commit 79cdae3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/session/call-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,6 @@ class CallSession extends Emitter {
this.logger.info({tasks: listTaskNames(this.tasks)}, `CallSession:exec starting ${this.tasks.length} tasks`);

// calculate if inbandDTMF tone is used
// For ConfirmCallSession, req is not available and we don't need to enable DTMF tone for ConfirmCallSession
const voip_carrier_sid = this.req?.has('X-Voip-Carrier-Sid') ? this.req.get('X-Voip-Carrier-Sid') :
this.req?.has('X-Requested-Carrier-Sid') ? this.req.get('X-Requested-Carrier-Sid') : null;

Expand Down

0 comments on commit 79cdae3

Please sign in to comment.