[Freeswitch-users] playing value with mod_say & getting DTMF input at the same time

Mi Ke mi.ke at null.net
Tue Aug 9 23:54:09 MSD 2011


can I then use phrase:macro_name as a part of the played prompt in play_and_get_digits i.e. "prompt1.wav&phrase:macro_name&prompt2.wav ... etc" ? will such construction really work ?



----- Original Message -----
From: Avi Marcus
Sent: 08/09/11 09:59 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] playing value with mod_say & getting DTMF input at the same time

 Create a phrase macro for that and call it for your play_and_get_digits 

-Avi

 On Tue, Aug 9, 2011 at 9:55 PM, Mi Ke < mi.ke at null.net > wrote:
Hi All,

 Using mod_say and read function at once - is that possible with Lua ? I need to play a numeric value (like credit amount or time) to Leg A and catch user's input at the same time. As a temporary solution, I wrote a function translating numeric values into a string "prompt1.wav&prompt2.wav....etc" and then suppliy is to the read function. Is there anyway I could use say for that ?

 Thanks / Mike

 _______________________________________________
 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/20110809/7c14f52f/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list