Exclude slin16, siren7, and siren14 from bandwidth=low and =medium
The default codec configuration for chan_iax2 is bandwidth=low. I noticed slin16 being negotiated as the codec in some test calls, but that no longer happens after this change. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@184037 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
3347477a00
commit
68ed17a636
1 changed files with 3 additions and 0 deletions
|
@ -270,6 +270,9 @@ int (*iax2_regfunk)(const char *username, int onoff) = NULL;
|
|||
/* T1, maybe ISDN */
|
||||
#define IAX_CAPABILITY_MEDBANDWIDTH (IAX_CAPABILITY_FULLBANDWIDTH & \
|
||||
~AST_FORMAT_SLINEAR & \
|
||||
~AST_FORMAT_SLINEAR16 & \
|
||||
~AST_FORMAT_SIREN7 & \
|
||||
~AST_FORMAT_SIREN14 & \
|
||||
~AST_FORMAT_ULAW & \
|
||||
~AST_FORMAT_ALAW & \
|
||||
~AST_FORMAT_G722)
|
||||
|
|
Reference in a new issue