diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-04 14:05:12 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-04 14:05:12 +0000 |
commit | 3bacd4082e2d3a2dd5b8b13635df956aa4f415cd (patch) | |
tree | dd3bc244b8a45aacb932109dc8c12d1f21769d55 /channels/iax2.h | |
parent | 1d3ce2ae5f81e30ec0704efe840bc2c9a24c7e8a (diff) |
Expand codec bitfield from 32 bits to 64 bits.
Reviewboard: https://reviewboard.asterisk.org/r/416/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227580 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2.h')
-rw-r--r-- | channels/iax2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/iax2.h b/channels/iax2.h index 710271096..825efb8cb 100644 --- a/channels/iax2.h +++ b/channels/iax2.h @@ -39,7 +39,7 @@ #define IAX_FLAG_SC_LOG 0x80 -#define IAX_MAX_SHIFT 0x1F +#define IAX_MAX_SHIFT 0x3F #define IAX_WINDOW 64 @@ -180,6 +180,9 @@ enum iax_frame_subclass { #define IAX_IE_OSPTOKEN 53 /*!< OSP token */ #define IAX_IE_CALLTOKEN 54 /*!< Call number security token */ +#define IAX_IE_CAPABILITY2 55 /*!< Actual codec capability - u8 version + integer array */ +#define IAX_IE_FORMAT2 56 /*!< Desired codec format - u8 version + integer array */ + #define IAX_MAX_OSPBLOCK_SIZE 254 /*!< Max OSP token block size, 255 bytes - 1 byte OSP token block index */ #define IAX_MAX_OSPBLOCK_NUM 4 #define IAX_MAX_OSPTOKEN_SIZE (IAX_MAX_OSPBLOCK_SIZE * IAX_MAX_OSPBLOCK_NUM) |