sofia.c:5172 Codec Error! v=0
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
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Max Clark
-
Steven Ayre