res_pjsip: Add an 'auto' option for DTMF Mode
authorMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 17:56:47 +0000 (17:56 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 17:56:47 +0000 (17:56 +0000)
commit8bae18ab9301a2e38fd414460fde8d6236f2162e
tree493944ba4e7f391ce8d12dce9d09d3aa6a9865aa
parentf69e46de25d016dd1c173d9077a4b2eb3505b704
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)
........

Merged revisions 434637 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_pjsip.c
contrib/ast-db-manage/config/versions/31cd4f4891ec_add_auto_dtmf_mode.py [new file with mode: 0644]
include/asterisk/dsp.h
include/asterisk/res_pjsip.h
main/dsp.c
res/res_pjsip.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_sdp_rtp.c
res/res_pjsip_session.c