Oh woops. I saw:

<action application="start_dtmf_generate" data="true"/> 
The "true" and my mind just jumped to variable. So I presume you don't need the data=true, and that should be removed from the wiki? 
-Avi


On Fri, Jul 1, 2011 at 7:07 PM, Michael Collins <msc@freeswitch.org> wrote:


On Fri, Jul 1, 2011 at 8:48 AM, rex.alex <rajesh.npnr@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

_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org