summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTorrey Searle <torrey@voxbone.com>2017-06-15 10:12:41 +0200
committerGeorge Joseph <gjoseph@digium.com>2017-06-29 07:57:01 -0600
commitfb7247c57c532f2d5e174ef12d6f82e576d65d10 (patch)
tree66e503620f1082490a757f34c84beb2ba4bf211a /include
parent45df25a579edd5423c9d319758d109a74fe8ef33 (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 'include')
-rw-r--r--include/asterisk/res_pjsip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index f907effcf..2cd27d37f 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -365,6 +365,8 @@ enum ast_sip_dtmf_mode {
AST_SIP_DTMF_INFO,
/*! Use SIP 4733 if supported by the other side or INBAND if not */
AST_SIP_DTMF_AUTO,
+ /*! Use SIP 4733 if supported by the other side or INFO DTMF (blech) if not */
+ AST_SIP_DTMF_AUTO_INFO,
};
/*!