[Freeswitch-users] Set disable-transcoding in dialplan

Nandy Dagondon nandy1925 at gmail.com
Thu Sep 3 17:26:20 PDT 2009


rod,

have you tried this?
http://lists.freeswitch.org/pipermail/freeswitch-users/2008-March/002199.html

/nandy


On Thu, Sep 3, 2009 at 2:50 PM, rod <kawarod at laposte.net> wrote:

> Hi Michael,
>
> I did some tests but I haven't been successful, so there is what I'm
> trying to achieve:
>
> On A leg, my phone is using: PCMA and G729 (in this priority order)
>
> With PEER A, I want to use only G729 (thats is the only codec that this
> PEER support), so that the RTP flow will be:
>    Phone-----G729----FS-----G729-----PEER_A
>
> With PEER B, I want to use only G711, so:
>    Phone-----G711----FS-----G711-----PEER_B
>
> In fact, I'd like to force FS announcing the codec list priority based
> on the priority of the codec announced by the PEER, cause FS is unable
> to transcode G729 <--> G711.
>
> Tried a lot of things (greedy for codec-negociation, late_codec,
> disable_transcoding, codec-prefs) without success.
>
> If you have some clue.
>
> regards,
> rod
>
> Michael Collins a écrit :
> > Check out this page:
> > http://wiki.freeswitch.org/wiki/Codec_negotiation
> >
> > Late negotiation will probably let you handle all the cases you need.
> > -MC
> >
> > On Mon, Aug 31, 2009 at 8:00 AM, rod <kawarod at laposte.net
> > <mailto:kawarod at laposte.net>> wrote:
> >
> >     Hi all,
> >
> >     I'm wondering if I can do something like this:
> >        - in my internal profile, I have this because of some PEER
> >     using G729:
> >              - <param name="disable-transcoding" value="true"/>
> >
> >     But for a specific PEER, I'd like to activate transcoding:
> >              - for this PEER, only G711 is used
> >              - I'd like to transcode DTMF SIP INFO or RFC2833 to INBAND
> >
> >     So in my dialplan, I tried before bridging:
> >
> >        - <action application="set" data="disable-transcoding=false"/>
> >        - <action application="start_dtmf_generate" data="true"/>
> >
> >     But I still see RFC2833 events between my FS and PEER and the DTMF
> are
> >     not working.
> >
> >     So 2 questions:
> >        - does application "start_dtmf_generate" requires transcoding
> >        - if yes, can I set the variable disable-transcoding in my
> dialplan
> >
> >     regards,
> >     rod
> >
> >     _______________________________________________
> >     FreeSWITCH-users mailing list
> >     FreeSWITCH-users at lists.freeswitch.org
> >     <mailto: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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090904/6916ca84/attachment-0002.html 


More information about the FreeSWITCH-users mailing list