[Freeswitch-users] FreeSWITCH version: 1.0.head, sofia.c:6033 Reinvite Codec Error!

Michael Collins msc at freeswitch.org
Wed Feb 15 22:29:49 MSK 2012


On Wed, Feb 15, 2012 at 11:18 AM, Eric Masson <emss.mail at gmail.com> wrote:

> Le 15/02/2012 19:47, Anthony Minessale a écrit :
>
> Hello Anthony,
>
> > you only have GSM and its trying to change it to PCMA/PCMU
>
> Thanks for your answer but I don't think I'm getting the point here
>  From cli :
> show codec
>

show codec shows the codecs that FreeSWITCH can handle, but it does *not*
show specific codecs your SIP profile is using. Look in your SIP profile
(internal.xml or external.xml or whatever) and check out the codec_prefs.

The reason Anthony knew you only had GSM is because of the "audio codec
compare" lines in the log:

> 2012-02-15 11:34:52.894480 [DEBUG] sofia_glue.c:4801 Audio Codec Compare
[PCMA:8:8000:20:64000]/[GSM:3:
8000:20:13200]
> 2012-02-15 11:34:52.894480 [DEBUG] sofia_glue.c:4801 Audio Codec Compare
[PCMU:0:8000:20:64000]/[GSM:3:8000:20:13200]
> 2012-02-15 11:34:52.894480 [DEBUG] sofia_glue.c:4801 Audio Codec Compare
[telephone-event:101:8000:20:0]/[GSM:3:8000:20:13200]

Note that the only codec that FS tries to match against is GSM. If other
codecs were set in your inbound codec prefs then you'd see those being
listed in "Audio Codec Compare" as well.

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120215/0a61cbea/attachment.html 


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