diff options
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) |