[Freeswitch-users] Number of codecs offerred in SDP

Sergey Okhapkin sos at sokhapkin.dyndns.org
Wed Jun 23 05:17:15 PDT 2010


<param name="inbound-late-negotiation" value="true"/> in SIP profile settings.

On Wednesday 23 June 2010, Mark Campbell-Smith wrote:
> Test Setup:
> 
> vars.xml:
>   <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,GSM"/>
>   <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,PCMU,GSM"/>
> 
> The call setup is extension 1000 calls extension 1020
> 1. Extension 1000 calls with preferred codec PCMU.  PCMU is chosen by
> FS as the A-leg codec
> 2. Extension 1020 only supports GSM codec.  The call fails with Not
> Acceptable Here.
> 
> FS only offers G729 and PCMU to 1020.  How do I change the number of
> codecs that are offered to an extension?  I know I can change the
> order in the codec_prefs, but would prefer FS to offer all three
> codecs to an extension.
> 
>    m=audio 23662 RTP/AVP 0 18 101 13
>    a=rtpmap:0 PCMU/8000
>    a=rtpmap:18 G729/8000
>    a=rtpmap:101 telephone-event/8000
>    a=fmtp:101 0-16
>    a=rtpmap:13 CN/8000
>    a=ptime:30
> 
> Thanks
> 
> _______________________________________________
> 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
> 




More information about the FreeSWITCH-users mailing list