diff options
author | Torrey Searle <torrey@voxbone.com> | 2017-06-15 10:12:41 +0200 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2017-06-29 07:57:01 -0600 |
commit | fb7247c57c532f2d5e174ef12d6f82e576d65d10 (patch) | |
tree | 66e503620f1082490a757f34c84beb2ba4bf211a /res/res_pjsip.c | |
parent | 45df25a579edd5423c9d319758d109a74fe8ef33 (diff) |
res_pjsip: Add DTMF INFO Failback mode
The existing auto dtmf mode reverts to inband if 4733 fails to be
negotiated. This patch adds a new mode auto_info which will
switch to INFO instead of inband if 4733 is not available.
ASTERISK-27066 #close
Change-Id: Id185b11e84afd9191a2f269e8443019047765e91
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index e717fdb40..0cf034374 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -229,6 +229,9 @@ <enum name="auto"> <para>DTMF is sent as RFC 4733 if the other side supports it or as INBAND if not.</para> </enum> + <enum name="auto_info"> + <para>DTMF is sent as RFC 4733 if the other side supports it or as SIP INFO if not.</para> + </enum> </enumlist> </description> </configOption> |