[Freeswitch-users] Inband DTMF set in Event Socket

Avi Marcus avi at avimarcus.net
Sat Jul 2 21:56:15 MSD 2011


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<http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf_generate>
?
-Avi


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

>
>
> 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
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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/20110702/8d695027/attachment.html 


More information about the FreeSWITCH-users mailing list