Examinare Phone surveys can be used together with your favorite phone system. As long as the system that you use PBX (or whatever you use) can give you the call list to send phone surveys to then you can schedule automatic phone surveys easily with Examinare Phone Surveys API.
When applying to get your Phone Survey functionality activated we also need to activate your Caller ID. This is done easily by contacting the Examinare Support.
Before sound files can be uploaded you need to create the text version of the Survey. Use the “Multiple choice question” question type to make the options 1 to 10. This way the Survey Tool can analyze the results easily.
You can upload your own sound files on every question by clicking on the “Include file” and click on “Phone Surveys”. If you do not have any recorded files then you can record it live with the microphone inside the Survey Tool.
Create a recipient in your Examinare account that includes a phone number on the Phone number field. Make sure that the number is in International format.
Publish the survey as Private web survey and test it on the “Phone Survey” option with your own test user. Your phone will ring within 2 minutes from you have sent the phone survey.
Navigate to Settings -> Advanced settings and activate the Examinare API. Note down the details and continue to next step.
Please note: Almost all phone systems have their own routines to get the call logs. We cannot cover all in this tutorial but if you contact the support team at support@examinare.com they can help you find the correct way of getting the call-log in real time.
The following code will help you to get the survey call sent.
[CodeSample file="connect_phonesurvey_example_post"]
There a many ways of sending the phone survey requests. If you do not want to use it manually inside other PHP code then you can setup the job as a crontab schedualed task like this to be run every minute.
* * * * * wget -O /dev/null -q http://urltoyourphpfile/cron.php