[Asterisk-code-review] sip_to_pjsip: Add missing dtmf_mode case (asterisk[master])

N A asteriskteam at digium.com
Wed Jun 2 08:12:23 CDT 2021


N A has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/15983 )


Change subject: sip_to_pjsip: Add missing dtmf_mode case
......................................................................

sip_to_pjsip: Add missing dtmf_mode case

Adds the "auto" case which is valid with
both chan_sip dtmfmode and chan_pjsip's
dtmf_mode.

ASTERISK-29459

Change-Id: Ie27d6606efad3591038000e5f3c34fa94730f6f2
---
M contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/83/15983/1

diff --git a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
index e0a5e19..c549986 100755
--- a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
+++ b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
@@ -162,6 +162,8 @@
         set_value(key, val, section, pjsip, nmapped)
     elif val == 'rfc2833':
         set_value(key, 'rfc4733', section, pjsip, nmapped)
+    elif val == 'auto':
+        set_value(key, 'auto', section, pjsip, nmapped)
     else:
         nmapped(section, key, val + " ; did not fully map - set to none")
         set_value(key, 'none', section, pjsip, nmapped)

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15983
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ie27d6606efad3591038000e5f3c34fa94730f6f2
Gerrit-Change-Number: 15983
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210602/2cd8ab60/attachment.html>


More information about the asterisk-code-review mailing list