[Freeswitch-users] Wrong codec used on outbound leg

Anthony Minessale anthony.minessale at gmail.com
Fri Feb 4 20:07:29 MSK 2011


try putting your dial string to your provider like this:

{absolute_codec_string=PCMU}sofia/foo/foo at bar.com


On Fri, Feb 4, 2011 at 10:45 AM, Marcin Wojtowicz <marcin321 at gmail.com> wrote:
> I have the following setup:
> voip.ms < (external profile) > freeswitch < (internal profile)> my devices.
> On my internal profile, the only inbound and outbound codec I allow is iLBC
> (I tried 20ms and 30ms), and on my external profile the only inbound and
> outbound codec I allow is PCMU. All my internal settings are compatible with
> the devices that I'm using, and everything works well when I call from
> outside in, and freeswitch now correctly transcodes from PCMU to iLBC.
> However, when I call from my internal devices to outside, the iLBC codec is
> offered on outbound leg B, not PCMU like I have on my external profile.
> Looking at wireshark voip call flow, my machine is sending iLBC to voip.ms
> and voip.ms is sending me PCMU RTP.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list