[Asterisk-Users] ATCC - Astcc-Admin.cgi File

Darren Wiebe darren at hagenhomes.com
Thu Nov 4 18:40:52 MST 2004


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
>  
>
This is snipped out of astcc.agi
# ; Card-number and number to dial derived from command-line.
# ; Call script with the card-number as first arg and the number
# ; to dial as the second arg.
# ;
# exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN})
# exten => _00XXXXXXXXX,2,Hangup
#
# ;
# ; Prompt the caller for the card-number and the number to dial.
# ;
# exten => 1234,1,Answer
# exten => 1234,2,DeadAGI(astcc.agi)
# exten => 1234,3,Hangup

if you call it like this:
exten => _1NXXNXXNXXX,1,DeagAGI(astcc.agi,${CALLERIDNUM})
it should take the CallerID number for the card number.  It would then 
ask the user only for the number to dial. 

Adding support for pins to astcc is trivial.  I have it most of the way 
added but my asterisk
testing server is broken currently.  Are you interested in testing the 
functionality for me?
I am making pins optional.  You can turn them on or off.  I'm not 
currently designing for
that to be done by card but by setup only.  My recording software is 
giving me grief also. 
Would somebody like to send me a few gsm files?  I need the following:
"please enter your pin number followed by the pound sign"
"That pin number is not valid"

>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.
>  
>
Can I ask what does not work with astcc-users.cgi for the users to check 
their calls and cdrs?

>Seshu Kanuri
>
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at 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
>_______________________________________________
>  
>
-- SNIPPED --



More information about the asterisk-users mailing list