From 614ea515c190c7c490cf28b81b0339e8aaf3d2ba Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 24 Mar 2009 21:48:58 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@184041 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_iax2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index b2559a02f4..48dd24a2ad 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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)