I installed version 1.7.  Somehow I got a tip to use absolute_codec_string in my dialplan.  "set"ting failed.  Realizing that non-L16 codecs has to be in B-leg,  "export"ing absolute_codec_string worked.  I'll try your suggestion because the variable is new to me.  Thanks!

====================================================
MagicBox.PH - keeps Filipino families in touch worldwide for free
Lapulapu City, Phils
Phone: +63-32-3401807,
Mobile: +63-920-6373450
USA DID# : (646)547-1225
Worldwide: [*011][63-32-3401807#] via any 200+ Access Numbers (37 Countries)


On Thu, Feb 25, 2016 at 7:55 PM, Ítalo Rossi <italo@freeswitch.org> wrote:
What version are you using? Try setting media_mix_inbound_outbound_codecs=true

On Tue, Feb 23, 2016 at 12:23 AM, Nandy Dagondon <nandy1925@gmail.com> wrote:
Hello guys,

I installed mod_gsmopen. When testing incoming call, it hangs up with this error message INCOMPATIBLE_DESTINATION.  I understand this is a codec negotiation issue.

Looking at the CDR - the gsmopen presented L16 8000 in the SDP.  By default, FS does early negotiation.  

Snippet of my internal sip_profile:
<param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
<param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>
<param name="rtp-timer-name" value="soft"/>
<param name="rtp-ip" value="$${local_ip_v4}"/>
<param name="sip-ip" value="$${local_ip_v4}"/>
<param name="presence-privacy" value="$${presence_privacy}"/>
<param name="inbound-codec-negotiation" value="generous"/>

Take note: there is no disable-transcoding parameter which I understand FS is transcodind.

In vars.xml:

<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,GSM"/>

I tried to add L16 at the end of global_codec_prefs which is unnecessary, isn't it? But it didn't work, too.

Finally, I added L16 in the softphone, it worked.

I have installed gsmopen before and it worked (transcoding) with IP phones. 

Is there anything I may have missed?  I appreciate for any leads.

Thank you, 

/Nandy

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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