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

Stanislav Sinyagin ssinyagin at gmail.com
Thu Sep 18 17:05:01 MSD 2014


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140918/8f57999f/attachment.html 


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