From 8f9141628149b784fe31272859801c9308eae0c9 Mon Sep 17 00:00:00 2001 From: russell Date: Tue, 24 Mar 2009 21:47:17 +0000 Subject: 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 --- channels/chan_iax2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'channels') 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) -- cgit v1.2.3