Page 1 of 1

HOw do you set up IVR menu option to go to Vicidial Queue is

PostPosted: Fri Feb 06, 2009 2:17 am
by londo58
this look correct?? is it the correct command?? do I need to add anything else?? Do I need to set up something in the vicidial manager??

here is my IVR menu out of extensions.conf -

[IVR--menu]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Set(TIMEOUT(digit)=5)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n(menu),Background(custom/intro)
exten => s,n,Wait(1)
exten => s,n,Background(star-for-menu-again)
exten => s,n,WaitExten
exten => 2,1,Wait(.5)
exten => 2,n,Playback(auth-thankyou)

[b]exten => 2,n,AGI(agi-VDAD_ALL_inbound.agi) - goes to Vicidial QUEUE, correct?? do I need anything else???[/b]

exten => 2,n,Hangup()
exten => 0,1,Wait(.5)
exten => 0,n,Dial(sip/cc200,30,To)
exten => 0,n,Playback(custom/busy)
exten => 0,n,Voicemail,u200
exten => *,1,Goto(s,menu)
exten => t,1,Goto(s,menu)
exten => i,1,Playback(invalid)
exten => i,n,Goto(s,menu)
exten => a,1,Goto(s,menu)
exten => o,1,Wait(.5)
exten => o,2,Dial(sip/cc200,30,To)
exten => o,3,Playback(custom/busy)
exten => o,4,Voicemail,u200
exten => h,1,Hangup()
exten => 9,1,Answer
exten => 9,n,Wait(1)
exten => 9,n,Directory(default|hardcode|f)
include=>hardcode

PostPosted: Fri Feb 06, 2009 10:40 am
by mcargile
First off you need to add the 'h' extension from the default context to EVERY context in your dialplan. It does not matter if the context has nothing to do with Vicidial. Vicidial will get confused otherwise. This is what Vicidial uses to keep track of calls that have hung up.

Second off look at the arguments for the agi-VDAD_ALL_inbound.agi script. They are located in the asterisk dialplan or you can read them at the top of the agi-VDAD_ALL_inbound.agi file located in /var/lib/asterisk/agi-bin/ directory. There are many options you will want to set.