How do I run a Swift TTS line in the background of an IVR?
Posted: Fri Feb 15, 2008 2:47 pm
I have an IVR using Swift with Cepstral voices. However, during the time that the voice is speaking the menu options, I am not allowed to choose the extension I wish to call. I have to wait until the voice is done.
I want to be able to run this voice like I would run a Background(file.wav) to allow people to interrupt the voice to go to the extension they wish instead of having to listen to the whole thing. I am using Asterisk.
My IVR:
mainmenu]
exten => s,1,Answer()
exten => s,2,Background(this-call-may-be-monitored-or-recorded)
exten => s,3,Background(for-qc-and-training-purposes)
exten => s,4,Background(if-u-know-ext-dial)
exten => s,5,Wait(1)
exten => s,6,Swift(Thank you for calling Playpen. To speak with Matt. Press 1. To leave him a voicemail. press 2. To
call his cell phone. press 3. To listen to the weather forcast for Boston. Press 4. Or to schedule a wake-up call. press 7.)
exten => s,7,Wait(1)
exten => s,8,Background(star-for-menu-again)
exten => s,9,WaitExten
exten => 1,1,Goto(submenu,1,1)
exten => 2,1,Goto(submenu,2,1)
exten => 3,1,Goto(submenu,3,1)
exten => 4,1,Goto(weather,s,1)
exten => *,1,Goto(mainmenu,s,6)
exten => #,1,Goto(resetasterisk,s,1)
exten => 7,1,Goto(sip,77,1)
I want to be able to run this voice like I would run a Background(file.wav) to allow people to interrupt the voice to go to the extension they wish instead of having to listen to the whole thing. I am using Asterisk.
My IVR:
mainmenu]
exten => s,1,Answer()
exten => s,2,Background(this-call-may-be-monitored-or-recorded)
exten => s,3,Background(for-qc-and-training-purposes)
exten => s,4,Background(if-u-know-ext-dial)
exten => s,5,Wait(1)
exten => s,6,Swift(Thank you for calling Playpen. To speak with Matt. Press 1. To leave him a voicemail. press 2. To
call his cell phone. press 3. To listen to the weather forcast for Boston. Press 4. Or to schedule a wake-up call. press 7.)
exten => s,7,Wait(1)
exten => s,8,Background(star-for-menu-again)
exten => s,9,WaitExten
exten => 1,1,Goto(submenu,1,1)
exten => 2,1,Goto(submenu,2,1)
exten => 3,1,Goto(submenu,3,1)
exten => 4,1,Goto(weather,s,1)
exten => *,1,Goto(mainmenu,s,6)
exten => #,1,Goto(resetasterisk,s,1)
exten => 7,1,Goto(sip,77,1)