[Freeswitch-users] Inband DTMF set in Event Socket

Michael Collins msc at freeswitch.org
Fri Jul 1 20:07:59 MSD 2011


On Fri, Jul 1, 2011 at 8:48 AM, rex.alex <rajesh.npnr at yahoo.com> wrote:

> similar way I tried both
>
> api originate {origination_caller_id_name='XXX',
> start_dtmf_generate=true}user/1000
> &bridge({accountcode='XXX'}sofia/gateway/gw_name/phno)
>
> and
>
> api originate {origination_caller_id_name='XXX'}user/1000
> &bridge({accountcode='XXX',
> start_dtmf_generate=true}sofia/gateway/gw_name/phno)
>
>
it's not working, but the inband type is working when i use it in dialplan.
>
> Please assist.
>
> Which leg needs to have inband DTMF - the calling or the called?

You can use these variables to do a pre-execute on either leg:
http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_aleg_app
http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_aleg_data
http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_bleg_app
http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_bleg_data

start_dtmf_generate is a dialplan app, not a chan var, so it needs to be
executed, not "set".

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110701/402e0c6d/attachment.html 


More information about the FreeSWITCH-users mailing list