Frequently Asked Questions (FAQ)



What is E-Product?

For third part integration, we created an API that will allow to create on the fly new account. The API is in the directory "A2Billing_UI/api" An example of integration over OsCommerce? when a visitor will purchase a card, a new account should be automatically created on Asterisk2Billing. Then we will need a HTTP POST/GET Request over

A2Billing_UI/api/api_ecommerce.php?key=md5secretkey&productid=1&forceid=&lastname=Belaid&firstname=Arezqui

will create the new account and send a subscription email to the buyer (E-Product -> template email) E-Product let you create the product you are willing to sell on the third part application. At the API call the productid will define wish product the user bought. You can define productID similar at the productID you have on OsCommerce?.


DB backup from a2billing does not work. It creates .gz archive, but the file in it is empty.

Check that in a2billing.conf all is correct . ; configuration for backup and restore

[backup]

; Path to store backup of database
backup_path = /tmp
; path for gzip
gzip_exe=/bin/gzip
; path for gunzip
gunzip_exe=/bin/gunzip
; path for mysqldump
mysqldump=/usr/bin/mysqldump
; path for mysql
mysql=/usr/bin/mysql

Also you should check that the location of every file.


It asks for the pin #, I put it and then it asks for the number i wish to dial. At this point, no matter what I put i'll get an error. 'the number I have dialed is currently unavailable.. try again'

It seems [guessing], you have quite all setup accordingly. just set your trunk rightly to send calls to your PSTN provider then you are done.

To create rate cards:-

  1. Create TariffGroup?
  2. Create new RateCard?
  3. List TariffGroup?; and EDIT your TariffGroup?
  4. Choose TARIFFPLAN:- [2nd]new rate card & Add. Then confirm Data

now:- 5th. Add rate to [2nd] rate card

Add rate link:- This is the minimum parameters to start with

5.a. DIALPREFIX

5.b. DESTINATION

5.c. BUYING RATE

5.d. SELLING RATE

5.e. TRUNK

thats all, just submit the data, you are ready to go. >But logically, you can not put rate one by one.

You have to import rate card [this is minimum to select from that import page]:- Hoping, you have other setup rightly ...

6.a. Choose the ratecard to import : 6.b. Choose the trunk to use : 6.c. Browse your CSV file and press Import Ratecard 6.d. It will confirm you with first line of rate CSV file. But here is not finish to import to ratecard. You have to again browse the same rate CSV file [what you selected on previous page] and press "Continue to import the Ratecard" on that page. thats all.

What is DID ?

"Direct Inward Dial" Basically, it's a phone number the customer calls to reach your system.

What is DNID?

DNID contains the number that was dialed by user. If you enable this option(use_dnid=yes in a2billing.conf)then Asterisk will dialout/execute the dialed number straight from your server for termination through the appropriate trunk. This is most useful for SIP or AIX Friends, if this is disabled they will have to dial the number after your system answers their call, and the system will ignore the number dialed to reach it in the first place.


How to DISABLE "PIN number request" Prompt for some users? OR How to Disable IVR(please enter the Phone No. you wish to call)

If you want that users, will not get the prompt to enter the PIN number.

We assume:-

You have done other setup accordingly & its working normally, Now you just want to disable the Prompt for some users:-

1st step: you've to edit in a2billing.conf

[root@voippanel root]# vi /etc/asterisk/a2billing.conf Note: use your file editor either [ vi OR pico OR what you have]

2nd step: set the parameter as below [highlighted in RED] in a2billing.conf

2a.

if YES it will catch the DNID and try to dial it out directly without asking for the phonenumber to call value

YES, NO

use_dnid=YES

2b.

enable the callerid authentication if this option is active the CC system will check the CID of caller

cid_enable=YES

3rd step:

3a. Goto Asterisk2Billing Admin web interface.

3b. Click on "EDIT" of the cardnumber that you gave to your user. [And now you want to enable CID for that user. So that he/she doesnt have to enter the PIN/CARD number over again].

3c. Under different properties in that card, go to bottom of that card - where is written "Add a new CALLERID" and

Enter CALLERID in the input field. Then press on Add button. You are Done for this part.



I hear the voice promt saying: "This card is already in use"

To fix this , you need to install : PHP-PCNTL




Google