[Freeswitch-users] Limiting available codecs in bypass media mode

Sergey Okhapkin sos at sokhapkin.dyndns.org
Thu Jul 11 22:44:12 MSD 2013


No way :-( When bypass media is enabled, FS forwards SDP as is.

On Thursday 11 July 2013 14:12:05 Phil Quesinberry wrote:
> I'm wondering what the best way is to limit the available codecs when making
> outbound bypass-media calls to the PSTN.  The scenario is as follows:
> Extension phones have HD codecs including G722 enabled for the best audio
> quality between extensions for internal calls.  When an outbound call is
> made to the PSTN, the first-choice wholesale provider we use offers (and
> seems to prefer) G722.  We'd rather ensure that G711 is used instead.
> Despite the fact that G722 is not enabled for any of the codec prefs (I
> grep'ed the entire conf dir path to be sure), FS still passes along the
> offer of G722 from the endpoint, presumably since it's operating in
> bypass-media mode.
> 
> Is there a setting to limit the codecs despite having bypass media set?
> Could we work around this by getting rid of the global bypass media setting
> and then setting bypass-media before bridging the call?
> 
> Thanks,
> 
> Phil Quesinberry
> Q Systems Engineering, Inc.
> Embedded Hardware/Software Development and VoIP Business Telephone Hosting
> Improve your business telephone services and save money
> (410) 969-8002
> http://www.qsystemsengineering.com <http://www.qsystemsengineering.com/>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list