Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 20, 2024 3:36 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: A2Billing + Custom Contexts
PostPosted: Sat Apr 05, 2008 10:39 pm 
Offline

Joined: Sat Apr 05, 2008 10:36 pm
Posts: 6
Hi- I have managed to install A2Billing without a hitch, just need some guidance on how to configure it for my setup!

Basically I have 1 trunk per user so only that particular user calls out through their specific trunk, routing has been setup using Custom Context module. Everything is going fine there. Each user has their own number.

How do I implement the A2Billing to work with that?

I want Postpaid automatic invoicing with set rates for all users.


Top
 Profile  
 
 Post subject: More information..
PostPosted: Sun Apr 06, 2008 6:20 am 
Offline

Joined: Sat Apr 05, 2008 10:36 pm
Posts: 6
Any experts who think they can get it going I'll give you access to the server! :-D

Added after 1 hours 15 minutes:

- 4 SIP Trunks
- 4 Outbound Routes to each of the 4 Trunks
- 4 Extensions in FreePBX
- Custom Context Module installed to route each Extension to their respective Trunk for outbound calls.

-------

I require A2Billing to be setup so everything works the same but all calls are being billed through A2B..

Is this possible?


I've already got A2Billing installed and can access the GUIs etc, need assistance with configuration :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 06, 2008 8:53 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

There are a couple of ways of doing this.

At it's simplest is below, but you may want to make enhancements.

1. Every one dials 9 for an outside line.

2 Create your four SIP trunks in FPBX then A2Billing.

3. Create your 4 call plans, one for each customer as you want to use a trunk each. - You could just do one SIP trunk and one callplan for everyone.

4. Create a context in extensions_custom.conf as follows: -

exten => _9.,1,Answer
exten => _9.,n,Wait(1)
exten => _9.,n,deadAGI(a2billing.php|1)
exten => _9.,n,Hangup

5. Create 4 accounts in A2Billling and and note the account number

6. Create 4 FreePBX extensions and put the account code number in the accountcode field.

7 Test


Alternatively, you could look at this,

http://forum.asterisk2billing.org/viewtopic.php?t=2127

But rather than modify Freepbx extensions.conf, put the code in extensions_override_freepbx.conf

If two contexts are named the same in Asterisk, then the first context will take precedence. Anything in extensions_override_freepbx.conf will be the first context.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group