----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 9:15 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set
You know the codec you want to match on the B leg so in the dialplan
From the wiki http://wiki.freeswitch.org/wiki/Codec_Negotiation <action application="bridge" data="{absolute_codec_string='PCMA,PCMU'}sofia/gateway/mygateway/mynumber"/>
HTH --FC
_______________________________________________ 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
No, in fact I don't know which codec will come from B leg, but in my test I did the codec of B leg matches one codec in the outbound list but doesn't transcode and the call fails. but if A leg and B leg are local so it transcodes correctly... Thanks