Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 10:59 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: DID help required - calls being routed via outbound trunks
PostPosted: Fri Aug 15, 2014 2:48 pm 
Offline

Joined: Fri Aug 15, 2014 2:24 pm
Posts: 2
Hi Guys

Hoping someone can give me a hand here.

I have Elastix 2.4.0 setup and comes with A2billing 1.9.4 installed. I have everything set up, well almost everything. Outbound calls work perfectly as well as inbound calls. I have set up a few DID with my provider. Those DID are set up on my A2B system and are forwarding calls in the following format to a hosted PBX (FreePBX):

SIP/[email protected]

On the hosted FreePBX I have set up the inbound routes, which forward the calls to extensions or ring groups. All working fine.

My question is this.

I have 2 clients currently on this A2B system. Both have DID's assigned to their accounts and both have hosted PBX's. When the one client calls the other via their DID, the call starts off as a DID_VOIP in the CDR's and then goes out via a trunk to the VOIP provider only to come back in again via the inbound routes.

I want to allow the calls to stay within my A2B and have searched this forum and many others without any solution.

Here is a screenshot of the CDR record where you can see the call as a DID_VOIP call and then goes out and is billed:

Image

I'm thinking it has something to do with the context's so here is what is listed in my extension_a2billing_additional.conf:

[a2billing]
include => a2billing_callingcard
include => a2billing_monitoring
include => a2billing_voucher
include => a2billing_did

[a2billing_callingcard]
; CallingCard application
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,DeadAgi(a2billing.php,1)
exten => _X.,n,Hangup

[a2billing_voucher]
exten => _X.,1,Answer(1)
exten => _X.,n,DeadAgi(a2billing.php,1,voucher)
;exten => _X.,n,AGI(a2billing.php,1,voucher,44) ; will add 44 in front of the callerID for the CID authentication
exten => _X.,n,Hangup

[a2billing_did]
exten => _X.,1,DeadAgi(a2billing.php,1,did)
exten => _X.,2,Hangup

In Elastix, I have a custom desitnation setup for all the above, the inbound route in Elastix is set up to forward all inbound calls to [a2billing_did] custom destination.

My context for all customers in A2Billing is the default of A2BILLING.

Any help would be great.

Many thanks
Vince


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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