by GaD » Thu Aug 04, 2011 12:42 pm
I dunno how 'techy' you are. I personally am currently evaluating using Vicidial for the actual call out and sample management, but I'm currently working on a call center where -with other dialer software- transfer a connected call to an asterisk to an automated survey.
What I've done is 'hard code it' in a conf file. I've created an extension that will do playback for each question, read to capture the response and move to the next question. At the end I print all the answers to a file as a pipe delimited file. At the end of the day I send that to the client and import to SQL just for future reference if needed. To give you an example, lets use extension 2100
exten => 2100,1,Answer()
exten => 2100,n,Playback(whatever-audio-file-has-your-question)
exten => 2100,n,Read(Anwer1,you-can-also-put-question-here,)
.
.
.
[at the end]
exten => 2100,n,System(echo `date "+%F %T"`"|"'Q1'"|"${Answer1} >> filepath/filename)
You can add some more inteligence to it, but this is basically it....