[Freeswitch-users] PlayAndGetDigits multiple WAV files
Dan Le
dule.maillist at gmail.com
Tue Dec 15 14:22:53 PST 2009
Or using mod file string: http://wiki.freeswitch.org/wiki/Mod_file_string
<http://wiki.freeswitch.org/wiki/Mod_file_string>Dan
On Tue, Dec 15, 2009 at 5:05 PM, Michael Jerris <mike at jerris.com> wrote:
> You can do that with phrase macros.
>
> Mike
>
> On Dec 15, 2009, at 2:56 PM, Malay Thakershi wrote:
>
> Hello, I create one WAV file that has:
>
> Question + Option 1 + Option 2 + Option 3 + …
>
> I noticed towards end of the file Cepstral Allison starts chopping and
> speeding up.
>
> So my question text that gets converted to WAV file using swift EXE looks
> like:
>
> <break strength='weak'/>Which is the biggest mammal on land?
> <break strength='weak'/>Select one of the following choices.<break
> strength='weak'/>Or press star to skip the question
> <break strength='weak'/>1 <break strength='weak'/> Parrot
> <break strength='weak'/> 2 <break strength='weak'/> Elephant
> <break strength='weak'/> 3 <break strength='weak'/> T-Rex
> <break strength='weak'/> 4 <break strength='weak'/> Blue Whale
> <break strength='weak'/>
>
> And my csharp code looks like:
> pStrRetID = mObjMainSession.PlayAndGetDigits(1, 1, 3,
> 5000, "*#",
> @"C:\FreeSWITCH\sounds\en\us\chAsmt\Student_1222\Q1.WAV
> ",
>
> @"C:\FreeSWITCH\sounds\en\us\chAsmt\static\error\invalid_choice.wav",
> "^\\d", "");
>
>
> What happens is, the voice just starts chopping and speeding up between
> options. Even though I am not able to say that it only does that towards the
> end, I think so.
>
> I thought, if I break each file into individual WAV instead of 1 big WAV,
> it may help?
>
> Is there a way to play multiple (separate) WAV files in PlayAndGetDigits
> function?
>
>
>
> _______________________________________________
> 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/20091215/7ec4d037/attachment-0002.html
More information about the FreeSWITCH-users
mailing list