aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-24 21:43:35 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-24 21:43:35 +0000
commitd7d0a39eec27fd4533cfcd568ac98bbf9480af13 (patch)
treeb0f7f77c967c2866db3e7284c131157e1ce1560b /channels/chan_iax2.c
parenta3cf6084d40af51e6509d5a946fcccfc58fb26a7 (diff)
Merged revisions 184037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r184037 | russell | 2009-03-24 16:40:44 -0500 (Tue, 24 Mar 2009) | 6 lines 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/branches/1.6.0@184038 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r--channels/chan_iax2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index a7e09edbd..c0163b8d7 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -189,6 +189,7 @@ 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_ULAW & \
~AST_FORMAT_ALAW & \
~AST_FORMAT_G722)