I know it's not what you asked but if you want to look into a really cool solution, have a look at Twilio.
Here is an example using SMS voting, but adapting it to PSTN dialing would be easy (there may be a PSTN voting system example as well, I didn't search that hard). http://www.twilio.com/blog/2011/05/how-to-create-a-simple-sms-voting-system-using-php.html If you've no idea how Twilio works, I'll attempt to quickly sum it up for you. 1) You dial a DID which rings into Twilio (or an SMS message in the above example). 2) That triggers Twilio to send a request to any URL you want. e.g. http://www.mydomain.com/twilio_vote.php 3) your php code (or any language you want) generates XML commands which are sent back in the response to twilio. 4) Twilio follows your XML commands and interacts with the caller, for example prompts for a vote via DTMF, etc. anything you can imagine. This continues back and forth until the call ends. It's all in the cloud so no need for your own PBX or asterisk. Very cool. John --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
