diff options
author | Joshua Colp <jcolp@digium.com> | 2012-07-22 17:03:24 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2012-07-22 17:03:24 +0000 |
commit | 4d6b524b61833147fdaeee1cda6f02c1f8c6d509 (patch) | |
tree | c9472898cd864dcd89b4feeda7dae03f0e1b6006 /channels/sip/include | |
parent | 13427db64c2c2f3cf15501c998bc982e91f8bf58 (diff) |
Prevent multiple local candidates from being added with the same information and add support for disabling ICE on a per-peer basis.
(closes issue ASTERISK-20088)
Reported by: wimpy
Review: https://reviewboard.asterisk.org/r/2044/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip/include')
-rw-r--r-- | channels/sip/include/sip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index cf1e964d1..76766fb17 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -371,10 +371,11 @@ #define SIP_PAGE3_NAT_AUTO_COMEDIA (1 << 3) /*!< DGP: Set SIP_PAGE2_SYMMETRICRTP when NAT is detected */ #define SIP_PAGE3_DIRECT_MEDIA_OUTGOING (1 << 4) /*!< DP: Only send direct media reinvites on outgoing calls */ #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_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_DIRECT_MEDIA_OUTGOING | SIP_PAGE3_USE_AVPF | SIP_PAGE3_ICE_SUPPORT) #define CHECK_AUTH_BUF_INITLEN 256 |