need to configure a2billing

Status
Not open for further replies.

fk335210

Joined
Dec 27, 2012
Messages
8
Reaction score
0
Hi seniors!
I have Installed Elastix 2.3 with a2billing but i can't configure it properly, facing lots of problems like when i create a new customer and trying to connect on sip phone getting Forbidden(Bad Auth) error.
Can Anyone please tell me how to figure it out.
Thanks in advance i'll be waiting for you kind reply.

FOLLOWED SCRIPT

Elastix 2.2.0
Instruction how to install A2billing software

It took me over 2 months to figure out how to successfully install A2billing properly.

After searching high and low and going through install scripts that DO NOT WORK.. old out dated instructions… incorrect information… and things that just plain out did not work… I finally pieced together the right things that do work…

First download the latest Elastix ISO… (Elastix is a flavor of Asterisk and has A2billing version 1.8.2 preinstalled)
http://www.elastix.org/en/downloads.html

After successfully installing Elastix you can bring up the web interface by going to
http://addressofyourserver

You can login in using the password you have set during the install process.

You can login to A2billing by going to this address http://addressofyourserver/a2billing/admin

The default user name and password is root / changepassword
Now if your experience is like mine you may have problems logging in… the solution to that is change the password. You can also use this just in case you lose your password and need a way back into the system.


The next 6 easy steps are designed to get you up and running on A2billing…
This is just a guide that will get A2billing installed properly and ready for rate configuration and operation with out any further bugs or issues. It will be your responsibility to learn about rate cards, modification etc…

1. Log in to your server as root
2. Log in to MySQL using the details we just got for the A2Billing database – use your root password for asterisk.
mysql -p mya2billing

Enter password:
3. Change the password for root to ‘changepassword’. This is the default password and is now stored encoded as opposed to plain text as in A2Billing 1.3
mysql> update cc_ui_authen set pwd_encoded = '410fc6268dd3332226de95e42d9efa4046c5463769d7493b85e65cfa5c26362dc2455cc23c0bc5831deb008def4ab11a9eaa9b76ba3f377da134f39ec60dd758' where login='root';


So now you have a fully installed a working copy of asterisk and a2billing…

The other issue I have found is having calls processed through A2billing instead of asterisk. This was another mystery.

We will first start by creating a custom destination in asterisk.

4. Go to the Tools tab at the top left and select Unembedded FreePBX GUI. The custom destination will be:


support-a2billing,${EXTEN},1

Call it something such as A2Billing-Passthru.

5. The next step will hand over your calls from Asterisk to a2billing…
You want to edit the file: /etc/asterisk/extensions_custom.conf

Add the following at the bottom of it:

[support-a2billing]
exten => _X.,1,DeadAGI(a2billing.php,1)
exten => _X.,n,Hangup

Reboot your server at this point.

6. Now there is another bug in a2billing. It has the wrong version set in agi-conf1 and global group. It is set to 1_4 when in fact it should be set to 1_6.
This is an easy fix but took me weeks to figure it out. Log into A2billing go down to systems setting ( located on the lower left hand side ). Click on it.
Go to Global list
Local asterisk version in the title column. Modify that value to be 1_6.
Go to the top of the page… under select group select pull down option global and click on search. If you do now see Asterisk version global in the title column. Click to the next page. Modify it to be version 1_6.

That’s it.. you now have a working version of A2billing. Please read about rate cards and stuff like that to set it up.. Plenty of resources out there for that..

Please feel free to add to this instruction.. put please verify that it works.. and please send me a copy…. To [email protected]

I hope this help clear up the mess that is out there……

Regards
Fahad :(
 
Use Elastix 2.4.0 RC with a2billing 1.9.4.....alot of the problems have been fixed...
 
Thanks for your kind reply..i'll try to install it :)
 
Centar said:
Use Elastix 2.4.0 RC with a2billing 1.9.4.....alot of the problems have been fixed...

Centar
i have installed Elastix 2.4.0 RC with a2billing 1.9.4 but still facing the same problem, sip customer authentication failed.
please guide us how to resolve this problem..i ll be thankful to you :)

regards,
Fahad
 
Well throw us a bone here, got nothing to go on, can't read minds or computers for that matter...;-)
 
Hello,

I've just installed new elastix 2.4 with a2billing 1.9.4
I did configure it fine from this link -->> http://sysadminman.net/blog/2010/using- ... astix-1307

The problem is i cannot integrate the A2billing with asterisk !
I cannot register the sip client with that configuration that the a2billing gives me for the costumer !

Can somebody help ??
 
I need the same that you. I need help too.

Best regards.

(I´m spanish, sorry for my english)
 
Hi, I've sucesfully configured a2billing on Elastix 2.4, what is your problem ?, i do speak spanish to Bro
 
Could you help me out please contact me [email protected] .. i would appriciate that !
 
Customers who register on the site for a2billing client, create a SIP account apparently correct but configuring the SIP client SIP client is not registered and can not make calls.

Thank you very much and sorry for my bad english.
 
Status
Not open for further replies.

Forum statistics

Threads
111,860
Messages
589,437
Members
164,700
Latest member
Apollo Cloud