Hi,
I have installed
Elastix distro 2.4 stable version.
I have purchased an iax account from rapidvox.com. And I created an IAX trunk with Rapidvox.com. After that I created an extension and using that extension I made a call to a US number.Every thing was working fine till this stage. After that I decided to do Billing for an IAX account. For that I used the link
http://sysadminman.net/blog/2011/using-a2billing-for-wholesale-or-residential-services-1920 . I made a trunk, a rate card, a call plan and few customers having iax accounts. And I successfully registered the customer details with a soft phone. When i make a call to the same number in US, I am not able to connect to the destination. when I dial the number, a2billing is asking for my pin number and i entered the pin. After that I got the details about my customer balance, and I was asked to dial the number that i want to make the call.when entered the number, I am getting an error like
Quote:
prepaid-dest-unreachable
I got this error in asterisk CLI. There is another error in CLI and that is
Quote:
a2billing.php:1 file:Class.RateEngine.php - line 1095 - [USEDRATECARD - FAIL = 0]
And the recorded message that I received through soft phone is
Quote:
The number you have dialed is currently unavailable
The configuration that I used in FreePBX & A2Binning are as following :
iax trunking details with rapidvox server:
type=peer
host=iax.rapidvox.com
username=username
secret=password
auth=md5
context=default
disallow=all
allow=ulaw
Dial plan: 1NXXNXXXXXX
additional_a2billing_iax.conf
[0003210306]
username=0003210306
type=friend
secret=9431677973
host=dynamic
context=a2billing ; change for proper context
allow=g729 ; we support ulaw,alaw,ilbc,gsm,g723.1,g726,g729a
canreinvite = no
qualify=yes
I think the problem is with the dial plan or with the rate card in a2billing. I am not able to view extension_a2billing_additionals.conf file in config editor option of a2billing. And I didn't make any particular dial plan in a2billing. The only dial plan that I have is in FreePBX trunking. What should I do? I would greatly appreciate it if you kindly give me some feedback about my question. Thank you.