[Freeswitch-users] Codecs issue
tayeb.meftah at gmail.com
Mon Jan 17 00:55:22 MSK 2011
just one thing:
remove widband codecs
your switch is used for wholesale, not for confrancing
that will confuse your vandor
Le 16/01/2011 21:59, Diego Viola a écrit :
> I'm experiencing some strange issue with codecs. I have the following
> in my vars.xml file:
> <X-PRE-PROCESS cmd="set"
> data="global_codec_prefs=G729,G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM"/>
> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,PCMU,PCMA,GSM"/>
> "inbound-late-negotiation" and "disable-transcoding" are commented in
> my internal SIP profile. So I guess I'm in Early Negotiation (default
> behavior) mode.
> However, when I send a call to my provider, and I look at the SIP
> trace I see that FS is sending another codec, not G729 as I specified
> in the global_codec_prefs / outbound_codec_prefs parameters.
> I'm sending calls like this:
> <action application="bridge" data="sofia/internal/$1 at 18.104.22.168"/>
> Here is a SIP trace of a call:
> I'm not understanding why FS is sending an INVITE with the G7221 codec
> in line 240, if I'm telling it explicitly that I want G729 as the
> priority when possible in the codec prefs options. But I see G729 in
> the 200 OK in line 291.
> I've been told to use absolute_codec_string=G729 in my dialplan or
> enable late negotiation, but why if I'm already telling it to use G729
> in the codec prefs?
> my softphone IP: 22.214.171.124
> provider IP: 126.96.36.199
> FS IP: 188.8.131.52
> calls flow like this:
> softphone -> FS -> provider
> Any help appreciated.
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
More information about the FreeSWITCH-users