[Freeswitch-users] sofia.c:5172 Codec Error! v=0

Steven Ayre steveayre at gmail.com
Wed Mar 9 20:21:44 MSK 2011


Also, does this happen only proxy_media mode, or in both? Just to eliminate
the possibility of it being a bug in the proxy media code?

-Steve


On 9 March 2011 17:19, Steven Ayre <steveayre at gmail.com> wrote:

> What are the codec preferences of the SIP profile?
>
>
> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,PCMA"/>
> That just sets a variable that's can be used in the SIP profile
> configuration, it's not necessarily what's being used.
>
> You can check with "sofia status profile <name>", the CODECS IN and CODECS
> OUT lines.
>
> Can you also show us the SDP from both legs?
>
> -Steve
>
>
>
>
> On 9 March 2011 16:07, Max Clark <max.clark at gmail.com> wrote:
>
>> How do I identify the source of this error and fix it?
>>
>> 2011-03-09 16:02:42.845215 [ERR] sofia.c:5172 Codec Error! v=0
>> o=MxSIP 0 28211 IN IP4 x.x.x.x
>> s=SIP Call
>> c=IN IP4 x.x.x.x
>> t=0 0
>> m=audio 5238 RTP/AVP 0 18 101
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:18 G729/8000
>> a=fmtp:18 annexb=no
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-15
>>
>> I'm actually surprised that I'm even seeing this with proxy_media=true
>> enabled. The codec list is correct and what are supported by both
>> endpoints.
>>
>> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,PCMA"/>
>>
>> Thanks,
>> Max
>>
>> _______________________________________________
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110309/30c8f407/attachment-0001.html 


More information about the FreeSWITCH-users mailing list