Page 1 of 1

agi-IVR_recording_verification.agi

PostPosted: Wed Aug 25, 2010 5:54 pm
by Acidshock
Just curious on the agi-IVR_recording_verification.agi script. I am trying to implement a multi question inbound survey. I am not quite understanding the prompts. Here is what I am using and what I am expecting:


exten => 289098,4,AGI(agi-IVR_recording_verification.agi,8998889999---N---N---N---N---N---N---85100001-85100002-85100003-85100004-85100006-85100007---85100001---BOTH)


I am expecting the thing to pickup and play sounds 85100001, then wait for a response, then play 85100002, then wait for a response, so on and so forth. Then at the end play 85100001 and hangup; then log the responses received. However it is not working this way :P What am I doing wrong?



VERSION: 2.4-274
BUILD: 100815-0802

PostPosted: Wed Aug 25, 2010 8:15 pm
by Acidshock
Think I figured it out after dissecting the source code. I should seperate the prompts by a double dash (--) and also supply a time to wait.

IE 85100001-30--85100002-30
(PROMPTAUDIO1)-(TIME)--(PROMPTAUDIO2)-(TIME)

PostPosted: Thu Aug 26, 2010 8:38 am
by mflorell
Yep that's it. That is a very old script and the client we wrote it for didn't want to pay for a web GUI, so in extensions.conf is the only way to configure it. It does work though, I think 4-5 of our clients have used it extensively over the years.

Re: agi-IVR_recording_verification.agi

PostPosted: Wed Feb 25, 2015 6:13 pm
by roll72
Hello,

Do you know if there is any futur development for this extension ?

I bought the admin manual sometime ago, and I didn't reminder to read anything on this extension, do there is any news documentaitons on it ?

Do there is a way to specify all the list of prompts dynamicaly (API or any other web GUI if existing now)?

I'm looking for a system doing the following thing :
- call a specfic number,
- wait for a prompt of line, then send some DMTF (like star)
- wait for another prompt then send some DMTF number
- then play a pre-recorded message then hangup

Thanks in advance for any answer

Re: agi-IVR_recording_verification.agi

PostPosted: Wed Feb 25, 2015 8:50 pm
by mflorell
Aside from some minor changes 2 years ago for Asterisk 1.8 compatibility, that script hasn't been touched in over 7 years.

Re: agi-IVR_recording_verification.agi

PostPosted: Thu Feb 26, 2015 6:01 am
by roll72
Thanks for your answer,

yes I check inside the code and SVN differences, nothing in the core has changed.

Can you kindly tell me how I can setup it ? does I need to hard write in extension the different prompt to play ? does there is any dynamic s way to do it ?

thanks in advance for your help