diff options
author | Kevin Harwell <kharwell@digium.com> | 2013-03-11 15:22:02 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2013-03-11 15:22:02 +0000 |
commit | 09ecb25e08567a65fb9153962333658b0c089c73 (patch) | |
tree | 1e02957dd7ca810e03f41187bf51efd220fcddf6 /channels/sip/include/sip.h | |
parent | 761465d6425fa0c5ce61095fe45588292ead1b15 (diff) |
Added an option to disallow music on hold
Added an option "discard_remote_hold_retrieval" (default "no") that if set does
not trigger the music on hold event. This essentially stops telling the peer
to start music on hold.
(issue ABE-2899)
Reported by: Denis Alberto Martinez
Review: https://reviewboard.asterisk.org/r/2336/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip/include/sip.h')
-rw-r--r-- | channels/sip/include/sip.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index 3af35b048..e5177bd6a 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -376,10 +376,12 @@ #define SIP_PAGE3_USE_AVPF (1 << 5) /*!< DGP: Support a minimal AVPF-compatible profile */ #define SIP_PAGE3_ICE_SUPPORT (1 << 6) /*!< DGP: Enable ICE support */ #define SIP_PAGE3_IGNORE_PREFCAPS (1 << 7) /*!< DP: Ignore prefcaps when setting up an outgoing call leg */ +#define SIP_PAGE3_DISCARD_REMOTE_HOLD_RETRIEVAL (1 << 8) /*!< DGP: Stop telling the peer to start music on hold */ #define SIP_PAGE3_FLAGS_TO_COPY \ (SIP_PAGE3_SNOM_AOC | SIP_PAGE3_SRTP_TAG_32 | SIP_PAGE3_NAT_AUTO_RPORT | SIP_PAGE3_NAT_AUTO_COMEDIA | \ - SIP_PAGE3_DIRECT_MEDIA_OUTGOING | SIP_PAGE3_USE_AVPF | SIP_PAGE3_ICE_SUPPORT | SIP_PAGE3_IGNORE_PREFCAPS ) + SIP_PAGE3_DIRECT_MEDIA_OUTGOING | SIP_PAGE3_USE_AVPF | SIP_PAGE3_ICE_SUPPORT | SIP_PAGE3_IGNORE_PREFCAPS | \ + SIP_PAGE3_DISCARD_REMOTE_HOLD_RETRIEVAL) #define CHECK_AUTH_BUF_INITLEN 256 |