[Asterisk-Users] I have a odd question...
Hi all. I am going to do a simple voting application for a radiostation. The idea is to have listeners call in to vote on songs. What I want to do is to take a phonenumer for each song and present the result on a simple webpage. Eg. To vote on song number one, call 555- To vote on song number two, call 555- etc etc. When the listener calls in, a playback tells him: Thank you for voting on song number one. And the numbers of calls on each number are presented on a webpage, or in a textfile, easy for the showhost to see. How do I do this the simplest way ? I have a lot on phonenumbers that I can use, so that is not the problem. Shoud I execute some kind of script for each caller that increases the numbers in a textfile ? Or how should I do ? My programmingskills aren't the best, so I would be greatful for any help I can get. /Regards Mike. PS. Please answer offlist if possible.. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] I have a odd question...
Easily. AGI script + DB. [EMAIL PROTECTED] wrote: Hi all. I am going to do a simple voting application for a radiostation. The idea is to have listeners call in to vote on songs. What I want to do is to take a phonenumer for each song and present the result on a simple webpage. Eg. To vote on song number one, call 555- To vote on song number two, call 555- etc etc. When the listener calls in, a playback tells him: Thank you for voting on song number one. And the numbers of calls on each number are presented on a webpage, or in a textfile, easy for the showhost to see. How do I do this the simplest way ? I have a lot on phonenumbers that I can use, so that is not the problem. Shoud I execute some kind of script for each caller that increases the numbers in a textfile ? Or how should I do ? My programmingskills aren't the best, so I would be greatful for any help I can get. /Regards Mike. PS. Please answer offlist if possible.. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- All the Best! Sergey. = Sergey Kuznetsov President/CEO High Intellectual Technologies, Inc. Web: http://www.hitcalls.com E-mail: [EMAIL PROTECTED] Business phone: (416) 548-9700 Mobile phone: (647) 287-8448 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] I have a odd question...
If you use the MySQL CDR add-on, you could just query the CDR DB for the numbers you are tracking. No need to add anything fancy. On Sat, 19 Feb 2005 21:42:31 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all. I am going to do a simple voting application for a radiostation. The idea is to have listeners call in to vote on songs. What I want to do is to take a phonenumer for each song and present the result on a simple webpage. Eg. To vote on song number one, call 555- To vote on song number two, call 555- etc etc. When the listener calls in, a playback tells him: Thank you for voting on song number one. And the numbers of calls on each number are presented on a webpage, or in a textfile, easy for the showhost to see. How do I do this the simplest way ? I have a lot on phonenumbers that I can use, so that is not the problem. Shoud I execute some kind of script for each caller that increases the numbers in a textfile ? Or how should I do ? My programmingskills aren't the best, so I would be greatful for any help I can get. /Regards Mike. PS. Please answer offlist if possible.. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users