Skip to content
Snippets Groups Projects
Unverified Commit ba89487d authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #10905 from mariogasparoni/v2.2.x-release

Use INFO message as default for sending dtmf on call transfer
parents 0c7ae753 214cd12c
No related branches found
No related tags found
No related merge requests found
......@@ -180,18 +180,13 @@ class SIPSession {
}, CALL_TRANSFER_TIMEOUT);
// This is is the call transfer code ask @chadpilkey
if (this.sessionSupportRTPPayloadDtmf(this.currentSession)) {
this.currentSession.sessionDescriptionHandler.sendDtmf(1);
} else {
// RFC4733 not supported , sending DTMF through INFO
logger.debug({
logCode: 'sip_js_rtp_payload_dtmf_not_supported',
extraInfo: {
callerIdName: this.user.callerIdName,
},
}, 'Browser do not support payload dtmf, using INFO instead');
this.sendDtmf(1);
}
logger.debug({
logCode: 'sip_js_rtp_payload_send_dtmf',
extraInfo: {
callerIdName: this.user.callerIdName,
},
}, 'Sending DTMF INFO to transfer user');
this.sendDtmf(1);
Tracker.autorun((c) => {
trackerControl = c;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment