ivr surveys

Snuffy

New Member
Joined
Jan 16, 2009
Messages
12
Reaction score
0
Hi,
does anybody know if it is possible to use piaf as an ivr survey platform. Basically, I have a customer who has asked:
[FONT='Calibri','sans-serif']Customer gets asked up to 12 questions via voice messages with phone keypad answers (digits 1-9) [/FONT]
[FONT='Calibri','sans-serif']Data that is collected should be made available via a spreadsheet, daily if possible.[/FONT]
[FONT='Calibri','sans-serif']Is this possible out of the box or would I need some sort of addin?[/FONT]

[FONT='Calibri','sans-serif']Many thanks,[/FONT]
[FONT='Calibri','sans-serif']Andy.[/FONT]

[FONT='Calibri','sans-serif']I[/FONT]

 
We'd be willing to tackle it as a future open source project if the requester will underwrite $2,000 of the development cost. :wink5:
 
sure

This is possible. Check out the Nerd Uno's Teleyapper script:
Code:
exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,NoOp(Call Answered)
exten => s,4,Set(MACHINE=0)
exten => s,5,Set(OPTION=5)
exten => s,6,Set(TALK_DETECTED=0)
exten => s,7,BackgroundDetect(custom/quiet6,1000,100)
exten => s,8,GotoIf($[${TALK_DETECTED} > 4000]?95)
exten => s,9,GotoIf($[${TALK_DETECTED} = 0]?90)
exten => s,10,NoOp(${TALK_DETECTED} milliseconds of talk detected.)
exten => s,11,Background(/var/www/html/appt-reminders/upload/${MSG})
exten => s,12,GotoIf($["${MACHINE}" = "0"]?s,20:s,25)
exten => s,13,Hangup
exten => s,20,Background(/var/www/html/appt-reminders/upload/person)
exten => s,21,WaitExten()
exten => s,22,Goto(1,2)
exten => s,25,Background(/var/www/html/appt-reminders/upload/ansmach)
exten => s,26,Hangup
exten => s,90,Set(TALK1=6000)
exten => s,91,Goto(96)
exten => s,95,Set(TALK1=${MATH(${TALK_DETECTED}+1)})
exten => s,96,BackgroundDetect(custom/quiet60,1000,100)
exten => s,97,Set(TALK_DETECTED=${MATH(${TALK_DETECTED}+${TALK1})})
exten => s,98,Set(MACHINE=1)
exten => s,99,Goto(s,10)
exten => failed,1,NoOp(Call Failed)
exten => failed,n,Set(MACHINE=0)
exten => failed,n,Set(OPTION=0)
exten => failed,n,Set(TALK_DETECTED=0)
exten => h,1,NoOp(Machine Code: ${MACHINE})
exten => h,2,NoOp(Option Code: ${OPTION})
exten => h,3,NoOp(Talk Detected: ${TALK_DETECTED} milliseconds)
exten => h,4,NoOp(Last Call: ${LASTCALL})
exten => h,5,DEADAGI(reminders.php,${MSG},${OPTION},${LASTCALL})
exten => h,6,Hangup
exten => 1,1,Set(OPTION=1)
exten => 1,2,Background(/var/www/html/appt-reminders/upload/chose1)
exten => 1,3,Hangup
exten => 2,1,Set(OPTION=2)
exten => 2,2,Background(/var/www/html/appt-reminders/upload/chose2)
exten => 2,3,Hangup
exten => 3,1,Set(OPTION=3)
exten => 3,2,Background(/var/www/html/appt-reminders/upload/chose3)
exten => 3,3,Hangup
exten => 4,1,Set(OPTION=4)
exten => 4,2,Background(/var/www/html/appt-reminders/upload/chose4)
exten => 4,3,Hangup
exten => 5,1,Goto(s,11)
exten => 6,1,Goto(s,20)
exten => 7,1,Goto(s,20)
exten => 8,1,Goto(s,20)
exten => 9,1,Goto(s,20)
exten => 0,1,Goto(s,20)

the variable "option" is reported back via a script after hangup, right here:
Code:
h,5,DEADAGI(reminders.php,${MSG},${OPTION},${LASTCALL})

You could easily have this ask various questions and report back a whole bunch of variables. If you look at his reporting method he is even using an email method to send back results in cvs format.

This is a great How-to, working example.
 
thx

Thanks guys,
very helpful as always
where do I send the cheque to Ward?
:cryin:
 
You can use the PayPal link at the top of the Nerd Vittles site, or email me and we can work it out some other way. Thanks!
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top