res_pjsip: Add an 'auto' option for DTMF Mode

This patch adds support for automatically detecting the type of DTMF that a
PJSIP endpoint supports. When the 'dtmf_mode' endpoint option is set to 'auto',
the channel created for an endpoint will attempt to determine if RFC 4733
DTMF is supported. If so, it will use that DTMF type. If not, the DTMF type
for the channel will be set to inband.

Review: https://reviewboard.asterisk.org/r/4438

ASTERISK-24706 #close
Reported by: yaron nahum
patches:
  yaron_patch_3_Feb.diff submitted by yaron nahum (License 6676)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Jordan
2015-04-10 17:53:44 +00:00
parent 16afee4651
commit 88b0fa7755
10 changed files with 133 additions and 8 deletions

View File

@@ -23,6 +23,11 @@
From 13.3.0 to 13.4.0:
res_pjsip:
- The dtmf_mode now supports a new option, 'auto'. This mode will attempt to
detect if the device supports RFC4733 DTMF. If so, it will choose that
DTMF type; if not, it will choose 'inband' DTMF.
res_pjsip_dlg_options:
- A new module, this handles OPTIONS requests sent in-dialog. This module
should have no adverse effects for those upgrading; this note merely