[Freeswitch-users] Configuring different codecs for internal and external calls.

Maxim Karp mkarp at securesilence.com
Sat Nov 29 17:19:43 PST 2008


Hello,

 

How would I configure global_codec_prefs and outbound_codec_prefs for the
following:

 

All calls between freeswitch extensions GSM.

 

All calls going out from an extension on Freeswitch using GSM (between the
endpoint and freeswitch) and then out to a SIP gateway using PCMA or PCMU. 

 

Calls coming in from another SIP gateway to freeswitch using PCMU or PCMA
and then transcoded to a local extension using GSM.

 

Is this it?

 

<X-PRE-PROCESS cmd="set" data="global_codec_prefs=GSM"/>

<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA"/>

 

Thanks,

 

Maxim.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081129/0dae3e8e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list