aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-24 21:47:17 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-24 21:47:17 +0000
commit8f9141628149b784fe31272859801c9308eae0c9 (patch)
tree5ae828346e5b2d2c49049030ee1e7485875fc1f4 /channels
parent75857d7ace5ca5a14bedba0db860e5028f6ee22f (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.1@184039 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 a1fd1b9d0..c2b3237ca 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -188,6 +188,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)