You are on page 1of 17

User manual A2billing

Nethawk (PVT) Ltd.

Table of Contents
1.0 Login....................................................................................................................................................3 2.0 Add a Provider.....................................................................................................................................4 2.1 Add a Trunk.....................................................................................................................................5 2.2 Adding a Rate Card.........................................................................................................................8 2.3 Adding rate......................................................................................................................................8 2.4 Adding Multiple Rates...................................................................................................................10 2.5 Adding a Call Plan.........................................................................................................................11 3.0 Adding a Customer.............................................................................................................................13 3.1 VoIP customers..............................................................................................................................15 3.2 Generate customers.......................................................................................................................16 4.0 Paypal.................................................................................................................................................17

Nethawk (PVT) Ltd.

1.0 Login
Open your web browser. Enter IP Adress of A2Billing server. Following screen will be displayed.

Enter username and password and click LOGIN. Following screen will be displayed.

Nethawk (PVT) Ltd.

2.0 Add a Provider


Click on PROVIDERS in the left navigation panel to expand the submenu. Click on Providers in the submenu. Now click on Add Provider. Following screen will be displayed.

Enter your provider name and description. Then click on CONFIRM DATA.

Nethawk (PVT) Ltd.

2.1 Add a Trunk


Click on Trunks in PROVIDERS submenu. Click on Add Trunk. It will display the following screen.

Select the VOIP PROVIDER that you just created. Provide the label to identify the trunk. Enter SIP in PROVIDER TECH (or any other technology whatever your VoIP provider is providing). Enter the IP address or URL of your VoIP Provider in PROVIDER IP. You can also put your freepbx trunk name if its already set up. Open your FreePBX in a new browser and click Trunks in left panel. Next click Add SIP Trunk in main page.

Nethawk (PVT) Ltd.

Your carrier will provide you details on how to interconnect. If you find different sets of configuration from your carrier look for FreePBX or Asterisk configuration.

When done click Submit Changes button.

Nethawk (PVT) Ltd.

Next click on Apply configuration changes.

Click Continue with reload.

Now return to A2biling enter trunk name in Provider IP same as you defined in FreePBX in Trunk Name field and click CONFIRM DATA.

Nethawk (PVT) Ltd.

2.2 Adding a Rate Card


Click on RATES in the left side navigation panel. Then click Rate Cards from the submenu. Click Add RateCard. This will show following form.

In TARIFFNAME, enter a name for your rate card. Select the trunk you created in the previous section. Click CONFIRM DATA.

2.3 Adding rate


Now we need to add a rate to our new ratecard. The rate is what determines how much we pay for the call and how much we charge for it. Click on Rates in the RATES submenu.

Nethawk (PVT) Ltd.

Nethawk (PVT) Ltd.

Now click on Add Rate. It will show the following form. Select the RateCard you just created. DESTINATION PREFIX is just a text description field. BUYING RATE is what you will pay for the call per minute. BUYRATE MIN DURATION is the shortest time you will be billed for a call check with your trunk provider. BUYRATE BILLING BLOCK is the time increment you will be billed for a call check with your trunk provider. SELLING RATE this is how much you will charge per minute for the call. SELLRATE MIN DURATION is the shortest time you will charge for a call. SELLRATE BILLING BLOCK is the time increment you will charge for a call. Click on CONFIRM DATA to add the rate.

2.4 Adding Multiple Rates


Click on Import from the RATES submenu. Following screen will be shown.

Nethawk (PVT) Ltd.

Select the ratecard you created. Select the following additional fields and click on right arrow button one by one as shown in the screenshot. Sellrate min duration sellrate billing block buyrate buyrate min duration buyrate billing block

Now you need to create a text file to import multiple rates one per line. Consult the following sample values.

9370;AFGHANISTAN-MOBILE;0.409656;60;60;0.31512;60;60 9375;AFGHANISTAN-MOBILE;0.409656;60;60;0.31512;60;60 355;ALBANIA;0.07332;60;60;0.0564;60;60 30;GREECE;0.02184;60;60;0.0168;60;60 3021;GREECE-ATHENS;0.02184;60;60;0.0168;60;60 30697;GREECE-MOBILE;0.229788;60;60;0.17676;60;60 961;LEBANON;0.135096;60;60;0.10392;60;60 96176;LEBANON-MOBILE;0.268944;60;60;0.20688;60;60 9613;LEBANON-MOBILE;0.268944;60;60;0.20688;60;60

Click the Browse button and browse the CSV file you just created. Click on Import RateCard to import the rates.

2.5 Adding a Call Plan


Click on Call Plan from RATES submenu. Click on Add Callplan. Following form will appear.

Nethawk (PVT) Ltd.

Enter a NAME for your callplan. Click on CONFIRM DATA. Click the Edit icon against the callplan you just created.

Select the RATECARD and click ADD RATECARD button. Click CONFIRM DATA.

Nethawk (PVT) Ltd.

3.0 Adding a Customer


Click on CUSTOMERS on the left side navigation panel. Now click Add::Search from the CUSTOMERS submenu. Then click Add Customer. It will display a huge form shown below.

Nethawk (PVT) Ltd.

Nethawk (PVT) Ltd.

BALANCE set the inital balance for the customer. Only needed for prepaid customers. CALL PLAN select the call plan we created in the previous section. LASTNAME & FIRSTNAME not required but useful. Click on CONFIRM DATA to add the customer.

3.1 VoIP customers


Click on VoIP Settings in the left side navigation panel under CUSTOMERS. Click on GENERATE ADDITIONAL_A@BILLING_SIP>CONF.

Click on Click here to reload your asterisk server.

Nethawk (PVT) Ltd.

3.2 Generate customers


Expand CUSTOMERS in left panel. Click Add::search underneath it. On right side of page click on Generate customers.

Enter a number in 2) field. 3) would be the call plan for all generated customers. Check SIP, IAX or both as needed in 13) for VoIP only customers. Select Customer group in 15) if any otherwise select DEFAULT. If you are providing DID service also choose a group here in 18) however you have to create first. Click on GENERATE CUSTOMERS.

Nethawk (PVT) Ltd.

4.0 Paypal
System settings > Global List > show all search for: paypal_payment_url Enter the value: https://secure.paypal.com/cgi-bin/scr search for: paypal_verify_url Enter the value: ssl://www.paypal.com search for: PayPal? Store Enter here your store name: e.g MyVoIp? Shop If you make here no changes your clients will see A2Billing If you don't want to charge the paypal fee to your customers search for: charge_paypal_fee and set the value to "Yes" Menu > Billing > Payment methods > click to paypal view details set the value to true and enter your paypal mail adress Paypal website settings Check where this file is located on your server : Normally its in your domain/A2Billing/customer/checkout_process.php Take the full URL from the checkout_process.php. For example http://myserver.net/a2billing/customer/checkout_process.php Login into your paypal account click to profile > Selling Preferences > Website Payment Preferences set the tab "Auto return" on Return URL: Enter your URL with the checkout_process.php for example: http://myserver.net/a2billing/customer/checkout_process.php save the settings.

Nethawk (PVT) Ltd.

You might also like