Facebook
Twitter
LinkedIn
YouTube
SysAdminMan
  • Blog
  • Contact

A2Billing – assigning an inbound number to a customer

13 January 2011MattA2Billing

Assigning an inbound number to a customer is fairly easy to achieve in A2Billing. Once assigned the customer can use the web interface to change the destination of that inbound number.

First you are going to need an inbound number from a DID/DDI provider. I’m going to use DIDX.net in this example.

We need to set the SIP URI destination for the inbound number with our DDI provider. In the DIDX control panel I’ve set the destination of a London DDI  (country code 44 / city code 20) to my demo server –

Next, in FreePBX on the livedemo server, we are going to create an inbound route that checks for the number specified in the SIP URI and passes that call through to A2Billing –

(The availble custom destinations need setting up like this first – http://sysadminman.net/blog/2009/integrating-freepbx-with-a2billing-621)

Now, in A2Billing, we are going to create the inbound number. There are various options for doing this such as importing from a CSV or linking to DIDX.net, obviously handy if you’re creating lots of DDI numbers.

There are also options for how the outbound leg of the call is charged, if at all. If the customer needs the number forwarded to a regular PSTN number and you select ‘dialout rate’ for the billing method then the customer will be charged based on their assigned call plan. It is also possible to charge a monthly amount for the DDI number.

Another option is to forward the call to a VOIP device, maybe a PBX if providing wholesale services or a SIP handset if providing end-user services. One thing it’s not easy to do in A2Billing is charge a per minute rate when forwarding the call as a VOIP call.

Create the number in A2Billing –

Now we’re going to assign that DDI to a customer and set the destination. In this exampe we are forwarding the inbound number to a UK mobile number. Note that VOIP_CALL is set to no. Also, the customer must be assigned to a Call Plan that allows them to call a UK mobile number as they will be billed for this leg of the call –

The customer is now able to see the inbound number in the A2Billing customer interface, and also change the destination –


Related posts:
  1. Part 6 – Create a customer in a2billing on Elastix
  2. Getting started with A2Billing – Part 4 Creating a customer and making a call
  3. FreePBX: Inbound number not working help
  4. Inbound Number (DDI/DID) with FreePBX 2.10
Tags: a2billing, ddi, did, freepbx, inbound, number
Previous post Want to earn lots of money over the next few years? Learn IPv6! Next post Digium blog post – PBX in the Cloud or in the Closet?

Related Articles

Pay for Sysadminman hosted Asterisk servers with regular PayPal payments

20 July 2009Matt

Trixbox, Elastix and Asterisk videos

27 January 2009Matt

A2Billing v1.9 released

2 March 2011Matt

5 comments. Leave new

Diego
7 November 2011 4:26 pm

I followed the steps here, But now I have a doubt. How can I test that it is working.. I just call the DID number an the call should be diverted to the destination number ?

matt
7 November 2011 7:23 pm

That’s correct. If it’s set up correctly you should be able to ring it and get forwarded to the destination.

Jermaine
23 December 2011 3:39 pm

Hi matt how do i turn off pin access for inbound routing for a2billing-sip contex

jermaine
23 April 2012 5:51 am

How to setup per/minutes inbound call to DID

Don
21 August 2013 5:10 pm

How do you make the call ring at a SIP device?

Categories

A2Billing is written and maintained by Star2Billing
FreePBX® is a Registered Trademark of Schmooze Com, Inc.

© 2019 SysAdminMan Ltd
Registered in England and Wales, Company No. 7198077
The Apex, 2 Sheriffs Orchard, Coventry, England, CV1 3PP