Professional Documents
Culture Documents
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
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.
Enter your provider name and description. Then click on CONFIRM DATA.
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.
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.
Now return to A2biling enter trunk name in Provider IP same as you defined in FreePBX in Trunk Name field and click CONFIRM DATA.
In TARIFFNAME, enter a name for your rate card. Select the trunk you created in the previous section. Click CONFIRM DATA.
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.
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.
Click the Browse button and browse the CSV file you just created. Click on Import RateCard to import the rates.
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.
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.
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.
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.