" I just wish there was a phone payment option for paypal, then I wouldn't
need to futz about with topping up balances ;) "

Already has been done my friend :).   PayPal has a good API for this.   What 
you are looking for is done in SIMPLE steps via HTTP GET/POST methods. Check 
out their API.  Well documented and to the point.

Cheers!
Reza.


----- Original Message ----- 
From: "Duane" <[EMAIL PROTECTED]>
To: "Bruce Nik" <[EMAIL PROTECTED]>
Cc: "Asterisk Mailing" <[email protected]>
Sent: Tuesday, October 30, 2007 12:09 AM
Subject: Re: [on-asterisk] A2Billing install script


Bruce Nik wrote:
> Hello Everyone,
>
> I have been working on my own A2Billing script in the past couple of days. 
> I couldn't find a working one on the net. So, I thought I should share 
> this with everyone else since it's such a pain to go through all the 
> documentation for A2Billing installation.
>
> I have tested it with Trixbox 2.3.0.4 and it installs without any 
> problems. Theoretically, it should work fine with a vanilla install of 
> Asterisk too but I didn't test that yet. I would like to hear feedback 
> about that as I mostly work with Trixbox.
>
> http://a2billing2asterisk.googlepages.com

I was kind of in the same boat, I just wanted a really simply
billing/account setup for a shared house, I ended up coding something
myself and you are pretty much welcome to any of the code you like, it's
just a couple of PHP AGI scripts that hook into MySQL, it would be
trivial to modify these scripts to be FastAGI, but in this case there
isn't much in the way of high volumes of calls :)

It just has an account userid, balance and PIN in one table, an imported
rate sheet in another table and CDR table.

The CDR table is also used to do a little LCR.

The phones are either shared and calls via these phones are prompted for
the PIN or phones are setup in their own rooms/areas and only used by
that person, in which case the PIN is hard coded in the sip.conf.

I don't even have a web interface for it, any top-ups (infrequent) I
just go into MySQL and add to the balance manually, but each user can
dial an extension and a 2nd PHP AGI script via festival reads out the
balance.

I just wish there was a phone payment option for paypal, then I wouldn't
need to futz about with topping up balances ;)

-- 

Best regards,
 Duane

http://www.freeauth.org - Enterprise Two Factor Authentication
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://e164.org - Because e164.arpa is a tax on VoIP

"In the long run the pessimist may be proved right,
    but the optimist has a better time on the trip."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to