[Freeswitch-users] session:playAndGetDigits() play two files When digits are fetched

Mihail S. jciib at mail.ru
Thu Sep 18 19:08:58 MSD 2014


 3)  https://wiki.freeswitch.org/wiki/File_string


Thu, 18 Sep 2014 15:05:01 +0200 от Stanislav Sinyagin <ssinyagin at gmail.com>:
>you can do it in two ways:
>
>1) create a phrase macro 
>https://wiki.freeswitch.org/wiki/Speech_Phrase_Management
>
>2) call playAndGetDigits multiple times in a row, specifying 1 as timeout (it doesn't work with zero timeout). Then you would probably do it with your sound files and  "silence_stream://400"  between the sentences (400ms is a normal breathing pause in fluent speech).
>
>
>
>
>
>
>On Thu, Sep 18, 2014 at 2:56 PM, Snabel Kabiya  < snabel at lexifone.com > wrote:
>>Hi,
>>
>>I'm using this method  https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits
>>I've this parameter 
>>*  file = Sound file to play while digits are fetched i wanted to ask if i can play two files? if yes what's the syntax?
>>
>>Thanks,
>>Snabel
>>
>>_________________________________________________________________________
>>Professional FreeSWITCH Consulting Services:
>>consulting at freeswitch.org
>>http://www.freeswitchsolutions.com
>>
>>Official FreeSWITCH Sites
>>http://www.freeswitch.org
>>http://confluence.freeswitch.org
>>http://www.cluecon.com
>>
>>
>>
>>
>>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
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services: 
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://confluence.freeswitch.org
>http://www.cluecon.com
>
>
>
>
>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


-- 
Mihail S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140918/e8f7f222/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list