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

Phil Quesinberry philq at qsystemsengineering.com
Thu Jul 11 22:12:05 MSD 2013


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/> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130711/463677ab/attachment.html 


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