Kanuri, Seshu (Company IT)
2004-Nov-04 10:56 UTC
[Asterisk-Users] ATCC - Astcc-Admin.cgi File
Does anyone in the list have a fully functional ASTCC and would like to share their CGI, AGI and CONF files/Scripts and database installation that is customized for: 1) Accepting user input for a Pin for authentication 2) Recognizes the caller id for authentication 3) Has a better GUI to manage the cards and users 4) PHPMysqlAdmin installation for managing the database ....in exchange for a brand new 2 Port version of eezeephone(Netweb-302) (would this offer be deemed a commercial discussion by the list?? :) ) Please contact off the list Seshu Kanuri 732-213-2422 seshukanuri@yahoo.com netwebgroup@yahoo.com -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Sounds more like a requirement for custom development since I'm sure your needs will vary from some others that are also using astcc as a starting point for their prepaid cards -- William
Kanuri, Seshu (Company IT)
2004-Nov-04 11:41 UTC
[Asterisk-Users] ATCC - Astcc-Admin.cgi File
Not necessarily. The need is a generic calling card app - take user Input or recognize the ANI, Allow the calls The users and pins are stored in Mysql database In order to make the database easy to manage - as the users and pins are stored in Mysql database, PHPMysqlAdmin (which is a generic GNU install) is a much more preferred way for me to manage the user data, as that way I can upload and download tonnes of Pins and users in one go. Also PHPMysqlAdmin helps the Admin and make it is easy to drop them quickly. Reporting is another need for needing to use PHPMysqlAdmin, so that we can give a frontend to the user to check their calls and CDRs, in a few minutes of effort. Seshu Kanuri -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of William Suffill Sent: Thursday, November 04, 2004 1:19 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] ATCC - Astcc-Admin.cgi File Sounds more like a requirement for custom development since I'm sure your needs will vary from some others that are also using astcc as a starting point for their prepaid cards -- William _______________________________________________ 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 -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Okay, I finally got inspired and took the time to make a few more changes to astcc. I have changed the following things: Added support for pins. This can be switched on or off on a system wide basis. I have modified the request for your account number so that it is smart enough to know how many digits it is looking for. I will be submitting these changes to digium in the next little while. If you cannot wait that long email me and I will send you a copy of the .tar.gz file. :-) One problem is that the new sound files are in my voice and it is not very lovely. :-) They will have to get changed to Allisons voice yet sometime. Darren Wiebe darren@hagenhomes.com Kanuri, Seshu (Company IT) wrote:>Not necessarily. The need is a generic calling card app - take user >Input or recognize the ANI, Allow the calls >The users and pins are stored in Mysql database > >In order to make the database easy to manage - as the users and pins are >stored in Mysql database, >PHPMysqlAdmin (which is a generic GNU install) is a much more preferred >way for me to manage the >user data, as that way I can upload and download tonnes of Pins and >users in one go. > >Also PHPMysqlAdmin helps the Admin and make it is easy to drop them >quickly. >Reporting is another need for needing to use PHPMysqlAdmin, so that we >can give a frontend to >the user to check their calls and CDRs, in a few minutes of effort. > >Seshu Kanuri > > >-- SNIPPED --
Thanks! ----- Original Message ----- From: "Darren Wiebe" <darren@hagenhomes.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Friday, November 05, 2004 12:05 AM Subject: Re: [Asterisk-Users] ATCC - Astcc-Admin.cgi File> Okay, I finally got inspired and took the time to make a few more changes > to astcc. I have changed the following things: > > Added support for pins. This can be switched on or off on a system wide > basis. > I have modified the request for your account number so that it is smart > enough to know how many digits it is looking for. > > I will be submitting these changes to digium in the next little while. If > you cannot wait that long email me and I will send you a copy of the > .tar.gz file. :-) One problem is that the new sound files are in my voice > and it is not very lovely. :-) They will have to get changed to Allisons > voice yet sometime. > > Darren Wiebe > darren@hagenhomes.com > > Kanuri, Seshu (Company IT) wrote: > >>Not necessarily. The need is a generic calling card app - take user >>Input or recognize the ANI, Allow the calls >>The users and pins are stored in Mysql database >> >>In order to make the database easy to manage - as the users and pins are >>stored in Mysql database, >>PHPMysqlAdmin (which is a generic GNU install) is a much more preferred >>way for me to manage the user data, as that way I can upload and download >>tonnes of Pins and >>users in one go. >>Also PHPMysqlAdmin helps the Admin and make it is easy to drop them >>quickly. >>Reporting is another need for needing to use PHPMysqlAdmin, so that we >>can give a frontend to the user to check their calls and CDRs, in a few >>minutes of effort. >> >>Seshu Kanuri >> >> > -- SNIPPED -- > _______________________________________________ > 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 >
I get this error [root@asterisk astcc]# make install mkdir -p /var/www/html/_astcc mkdir -p /var/www/cgi-bin/astcc-admin chmod 755 ./astcc.agi chmod 755 ./astcc-admin.cgi echo | ./astcc.agi >/dev/null syntax error at ./astcc.agi line 457, near "$mystreamfile(" Missing right curly or square bracket at ./astcc.agi line 611, at end of line syntax error at ./astcc.agi line 611, at EOF Execution of ./astcc.agi aborted due to compilation errors. make: *** [install] Error 255 ----- Original Message ----- From: "Darren Wiebe" <darren@hagenhomes.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Friday, November 05, 2004 12:05 AM Subject: Re: [Asterisk-Users] ATCC - Astcc-Admin.cgi File> Okay, I finally got inspired and took the time to make a few more changes > to astcc. I have changed the following things: > > Added support for pins. This can be switched on or off on a system wide > basis. > I have modified the request for your account number so that it is smart > enough to know how many digits it is looking for. > > I will be submitting these changes to digium in the next little while. If > you cannot wait that long email me and I will send you a copy of the > .tar.gz file. :-) One problem is that the new sound files are in my voice > and it is not very lovely. :-) They will have to get changed to Allisons > voice yet sometime. > > Darren Wiebe > darren@hagenhomes.com > > Kanuri, Seshu (Company IT) wrote: > >>Not necessarily. The need is a generic calling card app - take user >>Input or recognize the ANI, Allow the calls >>The users and pins are stored in Mysql database >> >>In order to make the database easy to manage - as the users and pins are >>stored in Mysql database, >>PHPMysqlAdmin (which is a generic GNU install) is a much more preferred >>way for me to manage the user data, as that way I can upload and download >>tonnes of Pins and >>users in one go. >>Also PHPMysqlAdmin helps the Admin and make it is easy to drop them >>quickly. >>Reporting is another need for needing to use PHPMysqlAdmin, so that we >>can give a frontend to the user to check their calls and CDRs, in a few >>minutes of effort. >> >>Seshu Kanuri >> >> > -- SNIPPED -- > _______________________________________________ > 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 >
Kanuri, Seshu (Company IT)
2004-Nov-05 07:34 UTC
[Asterisk-Users] ATCC - Astcc-Admin.cgi File
Darren, There is one more important change we need to do - security for the admin page. We need to incorporate a user name and password for the Administrator page. Without this, pretty much anyone who has knowledge of the url can access the admin page. Check this link below which is our beta site which is open and has no security. http://64.243.115.66/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Brands I have a question - The "First Use" , "Expiration" and "In Use" all are showing Zeroes, even when I used theese cards for a while. Any ideas? Seshu Kanuri /SNIP/ -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Darren Wiebe Added support for pins. This can be switched on or off on a system wide basis. I have modified the request for your account number so that it is smart enough to know how many digits it is looking for. Darren Wiebe darren@hagenhomes.com -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Oops, I must have given you a copy with a bug in it. I have uploaded the latest version to http://phone.hagenhomes.net/astcc-updated.tar.gz Darren Wiebe darren@hagenhomes.com Steve Totaro wrote:> I get this error > > [root@asterisk astcc]# make install > mkdir -p /var/www/html/_astcc > mkdir -p /var/www/cgi-bin/astcc-admin > chmod 755 ./astcc.agi > chmod 755 ./astcc-admin.cgi > echo | ./astcc.agi >/dev/null > syntax error at ./astcc.agi line 457, near "$mystreamfile(" > Missing right curly or square bracket at ./astcc.agi line 611, at end > of line > syntax error at ./astcc.agi line 611, at EOF > Execution of ./astcc.agi aborted due to compilation errors. > make: *** [install] Error 255 > > ----- Original Message ----- From: "Darren Wiebe" <darren@hagenhomes.com> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <asterisk-users@lists.digium.com> > Sent: Friday, November 05, 2004 12:05 AM > Subject: Re: [Asterisk-Users] ATCC - Astcc-Admin.cgi File > > >> Okay, I finally got inspired and took the time to make a few more >> changes to astcc. I have changed the following things: >> >> Added support for pins. This can be switched on or off on a system >> wide basis. >> I have modified the request for your account number so that it is >> smart enough to know how many digits it is looking for. >> >> I will be submitting these changes to digium in the next little >> while. If you cannot wait that long email me and I will send you a >> copy of the .tar.gz file. :-) One problem is that the new sound >> files are in my voice and it is not very lovely. :-) They will have >> to get changed to Allisons voice yet sometime. >> >> Darren Wiebe >> darren@hagenhomes.com >> >> Kanuri, Seshu (Company IT) wrote: >> >>> Not necessarily. The need is a generic calling card app - take user >>> Input or recognize the ANI, Allow the calls >>> The users and pins are stored in Mysql database >>> >>> In order to make the database easy to manage - as the users and pins >>> are >>> stored in Mysql database, >>> PHPMysqlAdmin (which is a generic GNU install) is a much more preferred >>> way for me to manage the user data, as that way I can upload and >>> download tonnes of Pins and >>> users in one go. >>> Also PHPMysqlAdmin helps the Admin and make it is easy to drop them >>> quickly. >>> Reporting is another need for needing to use PHPMysqlAdmin, so that we >>> can give a frontend to the user to check their calls and CDRs, in a >>> few minutes of effort. >>> >>> Seshu Kanuri >>> >>> >> -- SNIPPED -- >> _______________________________________________ >> 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 > >
Kanuri, Seshu (Company IT)
2004-Nov-09 07:51 UTC
[Asterisk-Users] ATCC - Astcc-Admin.cgi File
Nicolas, You and your falsh operator Panel are Awsome. You deserve a free Netweb IP Phone and I have shipped this for you by UPS today. Here is your UPS tracking number. 1Z88F40T0392189157 Has anyone implemnted a GSM callback feature on Asterisk? I have a couple of Netweb-301s to be given away, if anyone shows me the code. I don't mind buying the requiured hardware (Tellualr or Sm7000) Best regards Seshu Kanuri Netweb Group, Inc. http://ipphone.eezeephone.com -----Original Message----- From: Nicol?s Gudi?o [mailto:asternic@gmail.com] Sent: Monday, November 08, 2004 9:05 PM To: Kanuri, Seshu (Company IT) Subject: Re: [Asterisk-Users] ATCC - Astcc-Admin.cgi File Hi Seshu,> > Also, the .png file for ASTCC is not showing up on my web page and my > presumption is that the ASTCC files I have on my box are a mixture of > Old ASTCC I have installed and some from your recent updates and there > may be a mismatch.I copied astcc_logo.png to astcc.png in /var/www/html/astcc and now it displays correctly.> > And one more - I did create the .htaccess and htpassword files using > some googling and running 'htpasswd user password' from linux. But > this did not make my pages secure as you will see aboveI have solved this problem also... I modified /etc/httpd/conf/httpd.conf and under the Directory /var/www/cgi-bin I changed "AllowOverride None" to "AllowOverride All" Then I put AuthName between " " in .htaccess and finally moved .htpasswd to /etc/httpd (And added myself to the password file to test) Now apache correctly ask for a username/password when trying to access the cgi-bin directory. About myself: I'm the developer of Flash Operator Panel (www.asternic.org). I would gladly work with you in asterisk related projects. Regards, -- Nicol?s Gudi?o Buenos Aires - Argentina -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.