Change it so its like this <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs= G729,PCMU,PCMA,GSM,G722"/> Also do you have mod_sangoma_codec loaded in freeswitch ?? also check the settings with freeswitch@default> sangoma_codec settings RTP IP Address: 192.168.148.1 On 1 April 2014 00:03, Deon Vermeulen <vermeulen.deon@gmail.com> wrote:
This is how we have it setup:
/usr/local/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM,G722"/>
AND
/usr/local/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings> <!-- Please check http://wiki.sangoma.com/sangoma-media-transcoding for documentation on the supported options --> <param name="register" value="g729,pcma,pcmu,gsm"/> </settings>
</configuration>
On Mar 31, 2014, at 3:11 PM, Gopalakrishnan N <gopalakrishnan.an@gmail.com> wrote:
I have a Sangoma Transcoding Card installed in FreeSWITCH.
And my configuration is fine, and my vars.xml file I have like this,
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,G722,PCMU,PCMA,GSM"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma G729,PCMU,PCMA,GSM"/>
Now in one end I have ulaw and alaw and in other end I have G729, when I try to dial from G729 to other end I get 488 error (Codec error).
Even though I have Sangoma Transcoding card still it shows error.
Thanks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely Jay