[Freeswitch-users] How to configure g729 pass though on Freeswitch

Frank Church vfclists at googlemail.com
Mon Apr 5 13:43:55 PDT 2010


I can't see a ptime in the Linksys settings, is that what is labelled
as 'RTP Packet Size' on the SIP page?

It is the only thing that has the value 0.030

On 5 April 2010 19:29, Ognjen Seslija <oseslija at gmail.com> wrote:
> Try to set ptime from 0.030 (default) to 0.020 (20ms).
>
> Ognjen
>
> On Mon, Apr 5, 2010 at 7:00 PM, Frank Church <vfclists at googlemail.com>
> wrote:
>>
>> I changed the 'G729a Codec Name' in the Linksys to G729 and the calls
>> were completely garbled, even the ringing. It could be affecting
>> something on the provider end.
>>
>> Could it be that the provider has a different G729 codec that is not
>> compatible with the actual G729a the Linksys is sending?
>>
>>
>>
>> On 5 April 2010 11:59, Mathieu Rene <mrene_lists at avgs.ca> wrote:
>> > Yup, thats why we even have a param called "NDLB-allow-bad-iananame"
>> > in sofia profiles.
>> >
>> > Mathieu Rene
>> > Avant-Garde Solutions Inc
>> > Office: + 1 (514) 664-1044 x100
>> > Cell: +1 (514) 664-1044 x200
>> > mrene at avgs.ca
>> >
>> >
>> >
>> >
>> > On 2010-04-05, at 6:54 AM, Sergey Okhapkin wrote:
>> >
>> >> FS looks at codec name too.
>> >>
>> >> On Monday 05 April 2010, David Ponzone wrote:
>> >>> Ognjen,
>> >>>
>> >>> very good point, but I used to think that for G729 (and all payload
>> >>> id
>> >>> smaller than 97), FS was relying on the payload id, and not the name.
>> >>>
>> >>> Am I wrong ?
>> >>>
>> >>> David Ponzone  Direction Technique
>> >>> email: david.ponzone at ipeva.fr
>> >>> tel:      01 74 03 18 97
>> >>> gsm:   06 66 98 76 34
>> >>>
>> >>> Service Client IPeva
>> >>> tel:      0811 46 26 26
>> >>> www.ipeva.fr  -   www.ipeva-studio.com
>> >>>
>> >>> Ce message et toutes les pièces jointes sont confidentiels et établis
>> >>> à l'intention exclusive de ses destinataires. Toute utilisation ou
>> >>> diffusion non autorisée est interdite. Tout message électronique est
>> >>> susceptible d'altération. IPeva décline toute responsabilité au titre
>> >>> de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes
>> >>> pas destinataire de ce message, merci de le détruire immédiatement et
>> >>> d'avertir l'expéditeur.
>> >>>
>> >>> Le 05/04/2010 à 12:34, Ognjen Seslija a écrit :
>> >>>> G729a is invalid as a codec name. FS used to allow it but not
>> >>>> anymore afaik.
>> >>>> You should change codec name to G729 (I assume you're using Linksys
>> >>>> product; there is a setting to change under SIP tab).
>> >>>>
>> >>>> Ognjen
>> >>>>
>> >>>> On Mon, Apr 5, 2010 at 11:49 AM, Frank Church
>> >>>> <vfclists at googlemail.com> wrote:
>> >>>> Have you reviewed http://pastebin.freeswitch.org/12617 ?
>> >>>> It has the G729 set in the codecs section.
>> >>>> In this one it seems the call does not get to the external gateway.
>> >>>> Freeswitch stops the call before calling the external gateway
>> >>>>
>> >>>>
>> >>>> I have checked it again a few times using the bypass_media,
>> >>>> proxy_media settings.
>> >>>>
>> >>>> And with those settings the call ends as soon as ringing starts or
>> >>>> as
>> >>>> sonn as the call is answered.
>> >>>>
>> >>>> I will do another one just to confirm
>> >>>>
>> >>>> On 4 April 2010 19:35, David Ponzone <david.ponzone at gmail.com>
>> >>>> wrote:
>> >>>>> No, FreeSWITCH does NOT need to be in bypass media or proxy media.
>> >>>>> You just need the regular passthrough module: mod_g729 and to
>> >>>>
>> >>>> allow G729 as
>> >>>>
>> >>>>> inbound and outbound codecs in vars.xml.
>> >>>>> To summarize:
>> >>>>> -normal mode (proxy disabled, bypass disabled): FreeSWITCH is in
>> >>>>
>> >>>> the RTP
>> >>>>
>> >>>>> path, it relays the audio stream between endpoints, but can still
>> >>>>
>> >>>> detect
>> >>>>
>> >>>>> DTMFs
>> >>>>> -proxy media enabled: FreeSWITCH relays the audio stream
>> >>>>
>> >>>> transparently, DTMF
>> >>>>
>> >>>>> detection is impossible. In this mode, FS is really a "dumb"
>> >>>>
>> >>>> transparent
>> >>>>
>> >>>>> RTP-forwarder (this is required to get T38 working between the 2
>> >>>>
>> >>>> endpoints)
>> >>>>
>> >>>>> -bypass media enabled: FreeSWITCH is not in the RTP path
>> >>>>> David Ponzone  Direction Technique
>> >>>>> email: david.ponzone at ipeva.fr
>> >>>>> tel:      01 74 03 18 97
>> >>>>> gsm:   06 66 98 76 34
>> >>>>> Service Client IPeva
>> >>>>> tel:      0811 46 26 26
>> >>>>> www.ipeva.fr  -   www.ipeva-studio.com
>> >>>>> Ce message et toutes les pièces jointes sont confidentiels et
>> >>>>
>> >>>> établis à
>> >>>>
>> >>>>> l'intention exclusive de ses destinataires. Toute utilisation ou
>> >>>>
>> >>>> diffusion
>> >>>>
>> >>>>> non autorisée est interdite. Tout message électronique est
>> >>>>
>> >>>> susceptible
>> >>>>
>> >>>>> d'altération. IPeva décline toute responsabilité au titre de ce
>> >>>>
>> >>>> message s'il
>> >>>>
>> >>>>> a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire
>> >>>>
>> >>>> de ce
>> >>>>
>> >>>>> message, merci de le détruire immédiatement et d'avertir
>> >>>>
>> >>>> l'expéditeur.
>> >>>>
>> >>>>> Le 04/04/2010 à 20:12, Max Clark a écrit :
>> >>>>>
>> >>>>> Clarification - for G729 does freeswitch need to be in "bypass
>> >>>>
>> >>>> media"
>> >>>>
>> >>>>> or "proxy media"? My understanding was that G729 would work with
>> >>>>> "proxy media" enabled and without the new fangled module?
>> >>>>>
>> >>>>> -Max
>> >>>>>
>> >>>>> On Fri, Apr 2, 2010 at 2:23 AM, Jason White <jason at jasonjgw.net>
>> >>>>
>> >>>> wrote:
>> >>>>> Frank Church <vfclists at googlemail.com> wrote:
>> >>>>>
>> >>>>> I am just trialling Freeswitch with Linksys adapters, whose default
>> >>>>>
>> >>>>> codec I have set to G729 with 'Use Pref Codec Only:' set to no.
>> >>>>>
>> >>>>> When I change that setting to 'yes' the calls don't go through. I
>> >>>>> am
>> >>>>>
>> >>>>> using the latest Windows SVN.
>> >>>>>
>> >>>>> FreeSWITCH only supports G.729 in pass-through mode (i.e., with
>> >>>>
>> >>>> bypass media
>> >>>>
>> >>>>> enabled). Apparently you can buy a G.729 licence for FreeSWITCH if
>> >>>>
>> >>>> you
>> >>>>
>> >>>>> really
>> >>>>>
>> >>>>> need it.
>> >>>>>
>> >>>>> My recommendation would be to use a codec other than G.729 unless
>> >>>>
>> >>>> you have a
>> >>>>
>> >>>>> compelling reason, for example a carrier that only supports G.729.
>> >>>>>
>> >>>>>
>> >>>>> _______________________________________________
>> >>>>>
>> >>>>> 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-user
>> >>>>> s
>> >>>>>
>> >>>>> 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-user
>> >>>>> s 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-user
>> >>>>> s http://www.freeswitch.org
>> >>>>
>> >>>> --
>> >>>> Frank Church
>> >>>>
>> >>>> =======================
>> >>>> http://devblog.brahmancreations.com
>> >>>>
>> >>>> _______________________________________________
>> >>>> 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
>> >
>> >
>> > _______________________________________________
>> > 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
>> >
>>
>>
>>
>> --
>> Frank Church
>>
>> =======================
>> http://devblog.brahmancreations.com
>>
>> _______________________________________________
>> 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
>
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com



More information about the FreeSWITCH-users mailing list