Find the following line (if it exists) in your SIP profiles and set it to false:

<param name="inbound-zrtp-passthru" value="false"/>

This will allow transcoding to work, assuming that you also have the appropriate codecs compiled, loaded and enabled.  The companion setting to this is:

<param name="inbound-late-negotiation" value="true"/>

Which will first attempt to find a matching codec between the two endpoints, and fall back to transcoding if a match cannot be found.

Obviously, G729 will only transcode if you have a license for each channel, but if I understand your question correctly, that's what you're trying to work around. Ideally, the phones should offer a list of codecs in order of preference, not just a single codec, which is a good way to drop calls and irritate users.

Francis

On 9/01/2014 1:13 AM, Shahzad Bhatti wrote:
i have a case that
freeswitch receive calls from different sip phones supporting different codecs
i want to trans code and then pass to leg b in a way that
every codec is trans code to PCMA / PCMU
like
iLBC -> PCMU
Speex -> PCMA
Silk -> PCMU

but if leg A offer G729 then it passes to leg B with out trans coding

what is the best way to do that

regards

Shahzad Bhatti




_________________________________________________________________________
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