Hi All,

I have installed freeswitch-1.6.5 and G729 licensed version on Debian-8.2.

I have set below parameters in sip profile.
'inbound-codec-prefs'     'G729,PCMU,PCMA'
'outbound-codec-prefs '  'G729,PCMU,PCMA'
'disable-transcoding'       'true'
'inbound-late-negotiation' 'true'

Also  absolute_codec_string = G729,PCMA,PCMU

I want to achieve something like this:

Device A offers: G729
Freeswitch offers to Device B: G729/PCMA/PCMU
 
So if Device B supports G729, then there is no transcoding.
But if Device B supports only PCMA, then Freeswitch transcodes G729 to PCMA.
Same if Device B supports only PCMU, then Freeswitch transcodes G729 to PCMU.
And if Device B supports PCMA and PCMU, then Freeswitch should pick PCMA and transcode G729 to PCMA.

Freeswitch is rejecting call with hangup cause INCOMPATIBLE_DESTINATION.

Currently freeswitch offers only device A's codec(G729), but freeswitch should offer all 3 codecs (G729,PCMU,PCMA) which are defined in sip profile.

Please help me. Any suggestions are appreciated.
--
Thanks,
Rutu Patel