[Freeswitch-users] codec error

Steven Ayre steveayre at gmail.com
Thu Jan 6 13:30:28 MSK 2011


G7222 call fails with incompatible destination because it's not
enabled on the server.

G729 call starts a bridge to user/7013 at 192.168.2.190. They only offer
G711 ulaw. That means it's a G729 -> G711 call requiring transcoding.
There is no way that can work using mod_g729.

If you believe that that user has G729 enabled, repeat the test with
sip trace enabled.
'sofia global siptrace on'

That'll let you see the INVITE w/SDP sent to the user. If G729 isn't
in the outgoing SDP it's a config problem on FreeSWITCH. If G729 is in
the SDP and the user is only responding with G711 then it's a problem
on the Cisco endpoint.

-Steve



On 6 January 2011 10:10, Sam <u2nsam at gmail.com> wrote:
> Hi,
>
> This was working earlier and the config file have not changed , only
> upgraded to latest git.
> have attached the file codec.txt .
>
>
>
> Regards
> Sam
>
>
>
> On Thu, Jan 6, 2011 at 3:20 PM, Steven Ayre <steveayre at gmail.com> wrote:
>>
>> Some more information please...
>>
>> G729 has patents that mean it can't be used unlicensed. FreeSWITCH
>> either has mod_com_g729 for a full featured licensed version, or
>> mod_g729 which operates in passthrough mode for G729-G729 calls (it
>> needs no license since for these calls there is no encoding/decoding
>> step, the already encoded data is just passed straight through). You
>> will never have had mod_g729 working in the past for a transcoding
>> call, so that won't have changed.
>>
>> I would say that it's either:
>> - Your config files have changed
>> - The endpoints are offering different codecs from before
>> - Something changed in git about the codec negotiation
>>
>> Can you pastebin a debug level log of the calls, and enable siptrace?
>> Those will show what codecs are being offered, selected and show the
>> codec negotiation. It'd also be useful to know what your sip profile
>> config files look like since there are several options that adjust how
>> the negotiation is done.
>>
>> -Steve
>>
>>
>>
>> On 6 January 2011 09:43, Sam <u2nsam at gmail.com> wrote:
>> > I am getting the error after installing latest git from freeswitch,
>> > where as
>> > it was working from old git
>> >
>> >
>> > 2011-01-06 15:10:19.113781 [ERR] mod_g729.c:102 This codec is only
>> > usable in
>> > passthrough mode!
>> > 2011-01-06 15:10:19.113781 [ERR] switch_core_io.c:1042 Codec G.729
>> > encoder
>> > error!
>> >
>> >
>> > Regards
>> > Sam
>> >
>> > _______________________________________________
>> > 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
>> >
>> >
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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