[Freeswitch-users] How to restrict codec negotiation to ULaw only on incoming leg

Anthony Minessale anthony.minessale at gmail.com
Fri Mar 15 18:51:43 MSK 2013


global_sevar absolute_codec_string=PCMU


On Fri, Mar 15, 2013 at 10:45 AM, Adelia C. <hexade at hotmail.com> wrote:

> What are my options when I am looking for a quick fix for the following
> situation:
> My in/out traffic is on a few different carriers. Carrier A is sending
> this SDP on first INVITE, offering PCMA first and PCMU second:
>
> v=0
>
> o=Sonus_UAC 17329 9183 IN IP4 206.165.95.165
>
> s=SIP Media Capabilities
>
> c=IN IP4 206.165.95.166
>
> t=0 0
>
> m=audio 24330 RTP/AVP 8 0
>
> a=rtpmap:8 PCMA/8000
>
> a=rtpmap:0 PCMU/8000
>
> a=sendrecv
>
> a=maxptime:20
>
> Freeswitch does the right thing by RFC 3264 and selects PCMA but then
> negotiates PCMU on the outgoing leg. Then, it drops out of the data path
> and I have another B2BUA in the middle, that can't translate.
>
> Can I make FreeSwitch reply with PCMU? [ Am in North America, with pretty
> much all my traffic on ULaw]
>
> I found this suggestion:
>
>
> http://wiki.freeswitch.org/wiki/Codec_negotiation#Late_Negotiation_.28requires_param.29
>
>  but I am looking for a quick and dirty fix, where I restrict all to ULaw.
>
> Thank you.
> A.C.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130315/4162636f/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list