diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-19 21:52:25 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-19 21:52:25 +0000 |
commit | fc16142d07fc83655ecb3efe74b1e01b013cea3a (patch) | |
tree | 9896e18e82c8abc6a7dbd5e07641f4b200e84e0d /channels/iax2.h | |
parent | 69fca6a9c3f1080a4f92a8535c2222e6196d5d01 (diff) |
Add sampling rate handling
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4299 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2.h')
-rwxr-xr-x | channels/iax2.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/channels/iax2.h b/channels/iax2.h index 2b1e4276e..83817442d 100755 --- a/channels/iax2.h +++ b/channels/iax2.h @@ -104,7 +104,7 @@ #define IAX_IE_TRANSFERID 27 /* Transfer Request Identifier -- int */ #define IAX_IE_RDNIS 28 /* Referring DNIS -- string */ #define IAX_IE_PROVISIONING 29 /* Provisioning info */ -#define IAX_IE_AESPROVISIONING 30 /* AES Provisioning info */ +#define IAX_IE_AESPROVISIONING 30 /* AES Provisioning info */ #define IAX_IE_DATETIME 31 /* Date/Time */ #define IAX_IE_DEVICETYPE 32 /* Device Type -- string */ #define IAX_IE_SERVICEIDENT 33 /* Service Identifier -- string */ @@ -115,6 +115,7 @@ #define IAX_IE_CALLINGPRES 38 /* Calling presentation (u8) */ #define IAX_IE_CALLINGTON 39 /* Calling type of number (u8) */ #define IAX_IE_CALLINGTNS 40 /* Calling transit network select (u16) */ +#define IAX_IE_SAMPLINGRATE 41 /* Supported sampling rates (u16) */ #define IAX_AUTH_PLAINTEXT (1 << 0) #define IAX_AUTH_MD5 (1 << 1) @@ -123,6 +124,13 @@ #define IAX_META_TRUNK 1 /* Trunk meta-message */ #define IAX_META_VIDEO 2 /* Video frame */ +#define IAX_RATE_8KHZ (1 << 0) /* 8khz sampling (default if absent) */ +#define IAX_RATE_11KHZ (1 << 1) /* 11.025khz sampling */ +#define IAX_RATE_16KHZ (1 << 2) /* 16khz sampling */ +#define IAX_RATE_22KHZ (1 << 3) /* 22.05khz sampling */ +#define IAX_RATE_44KHZ (1 << 4) /* 44.1khz sampling */ +#define IAX_RATE_48KHZ (1 << 5) /* 48khz sampling */ + #define IAX_DPSTATUS_EXISTS (1 << 0) #define IAX_DPSTATUS_CANEXIST (1 << 1) #define IAX_DPSTATUS_NONEXISTANT (1 << 2) |