<br><br><div class="gmail_quote">On Fri, Jul 1, 2011 at 8:48 AM, rex.alex <span dir="ltr"><<a href="mailto:rajesh.npnr@yahoo.com">rajesh.npnr@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
similar way I tried both<br>
<br>
api originate {origination_caller_id_name='XXX',<br>
start_dtmf_generate=true}user/1000<br>
<div class="im">&bridge({accountcode='XXX'}sofia/gateway/gw_name/phno)<br>
<br>
</div>and<br>
<div class="im"><br>
api originate {origination_caller_id_name='XXX'}user/1000<br>
</div>&bridge({accountcode='XXX',<br>
start_dtmf_generate=true}sofia/gateway/gw_name/phno)<br>
<br></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
it's not working, but the inband type is working when i use it in dialplan.<br>
<br>
Please assist.<br>
<br></blockquote><div>Which leg needs to have inband DTMF - the calling or the called?<br><br>You can use these variables to do a pre-execute on either leg:<br><a href="http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_aleg_app">http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_aleg_app</a><br>
<a href="http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_aleg_data">http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_aleg_data</a><br><a href="http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_bleg_app">http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_bleg_app</a><br>
<a href="http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_bleg_data">http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_bleg_data</a><br>
<br>start_dtmf_generate is a dialplan app, not a chan var, so it needs to be executed, not "set".<br><br>-MC<br></div></div>