I would like to set up an Asterisk dial plan that allows callers to cast votes on various issues by pressing a corresponding number on their telephone keypad.
In other words, the caller will dial in to Asterisk and hear a pre-recorded message that gives them their voting options (i.e., Press 1 to vote for this, Press 2 to vote for that).
After the caller presses a number to vote, Asterisk will play a thank you message and hang up.
I know how to set up the pre-record messages, but I don’t know how to record the votes. I would like to send the votes to a database where I can retrieve them and keep a tally of all of the votes.
Can anyone help?
Thanks!