hello list i have an IVR menu in asterisk 1.4 like below exten => 600,1,Ringing() exten => 600,n,Wait(2) exten => 600,n,Goto(home,s,1) [home] exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/) exten => s,n,Background(${sounds_path}music1) exten => s,n,Background(${sounds_path}music2) exten => s,n,Background(${sounds_path}music3) exten => s,n,WaitExten(5) exten => s,n,goto(home,s,1) exten => i,1,Playback(${sounds_path}error) exten => i,n,WaitExten(5) exten => i,n,goto(home,s,1) exten => 1,1,Goto(project,s,1) [project] exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/) exten => s,n,Background(${sounds_path}mymusic) exten => s,n,WaitExten(5) exten => s,n,Goto(project,s,1) exten => i,1,Playback(${sounds_path}error) exten => i,n,goto(project,s,1) my problem when the customor call the number 600 and press 1 in order to go to the project menu he must wait all the speech music1 music2 and music 3 if there is any way to go to project menu during the speech thanks and regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131127/795fa674/attachment.html>
emilianovazquez at gmail.com
2013-Nov-28 00:02 UTC
[asterisk-users] issue with speech in IVR
Go inside the time machine and come back to 2013! Use a newer version asterisk and you will get help. There are a lot of changes and a lot of bugs solved. Best regards. Emiliano Enviado desde mi BlackBerry de Personal (http://www.personal.com.ar/) -----Original Message----- From: Salaheddine Elharit <salah.elharit200 at gmail.com> Sender: asterisk-users-bounces at lists.digium.comDate: Wed, 27 Nov 2013 21:57:35 To: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users at lists.digium.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: [asterisk-users] issue with speech in IVR -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On 13-11-27 04:57 PM, Salaheddine Elharit wrote:> hello list > > i have an IVR menu in asterisk 1.4 > > like below > > exten => 600,1,Ringing() > exten => 600,n,Wait(2) > exten => 600,n,Goto(home,s,1) > > > > > [home] > exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/) > exten => s,n,Background(${sounds_path}music1) > exten => s,n,Background(${sounds_path}music2) > exten => s,n,Background(${sounds_path}music3) > exten => s,n,WaitExten(5) > exten => s,n,goto(home,s,1) > exten => i,1,Playback(${sounds_path}error) > exten => i,n,WaitExten(5) > exten => i,n,goto(home,s,1) > exten => 1,1,Goto(project,s,1) >exten => _X,1,NoOp(Digit entered during prompt) exten => _X,2,Goto(project,s,1)> > [project] > > > exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/) > exten => s,n,Background(${sounds_path}mymusic) > exten => s,n,WaitExten(5) > exten => s,n,Goto(project,s,1) > exten => i,1,Playback(${sounds_path}error) > exten => i,n,goto(project,s,1) > > my problem when the customor call the number 600 and press 1 in order to go > to the project menu he must wait all the speech music1 music2 and music 3 > > if there is any way to go to project menu during the speech > > thanks and regards > > >-- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger
On Wednesday 27 November 2013, Salaheddine Elharit wrote:> hello list > > i have an IVR menu in asterisk 1.4 > > [stuff deleted] > > my problem when the customor call the number 600 and press 1 in order to go > to the project menu he must wait all the speech music1 music2 and music 3 > > if there is any way to go to project menu during the speech > > thanks and regardsThis is an actual dialplan application that I wrote. It's a "spike" -- a proof of concept that is all depth and no breadth. It's known to work in Asterisk 1.8. The sound files "ajs_juke01" and "ajs_anykey" you will need to create for yourself, depending what MP3s you have available (and replace ajs_ with your own prefix). You can interrupt the announcements or the MP3s by pressing keys while playing. ;;;;;;;;;;; VERY PRIMITIVE JUKE BOX CONTEXT ;;;;;;;;;;; [vpjb] exten => s,1,Background(ajs_juke01) ; "Press 1 for Ocean Colour Scene, 2 for Crowded House" exten => s,n,WaitExten(1) exten => s,n,Goto(1) exten => i,1,Hangup() exten => 1,1,Background(ajs_anykey) ; "Press any key to stop the music and return to the menu" exten => 1,n,MP3Player(/songs/09_policemen+pirates.mp3) exten => 1,n,Goto(vpjb,s,1) exten => 2,1,Background(ajs_anykey) ; "Press any key to stop the music and return to the menu" exten => 2,n,MP3Player(/songs/15_distant_sun.mp3) exten => 2,n,Goto(vpjb,s,1) exten => _X,1,Hangup() -- AJS Answers come *after* questions.