Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 1:50 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: traffic distribution
PostPosted: Fri Jul 22, 2011 11:07 am 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
Hi!
I need to distribute traffic through 2 (or more) trunks with the same rate.
In Asterisk Dialplan i can do it as: (simplified)

exten => _1.,Set(TrunkName=${RAND(1,2)})
exten => _1.,Dial(SIP/ ${TrunkName}/${EXTEN})
exten => _1.,Hungup()

But in A2Billing which trunk i have to define for rate or ratecard ?

A2B 1.9.3
Asterisk 1.6


Top
 Profile  
 
 Post subject: Re: traffic distribution
PostPosted: Fri Jul 22, 2011 11:25 am 
Offline

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

If these are for VoIP customers, and you have DNID set to yes, you could modify the number to dial in the asterisk dial-plan before sending the call into A2Billing.

e.g. prefix 881 onto the number to use trunk 1, and have a set of rates all prefixed with 881, and remove the 881 in the trunk, then for the second trunk, have an identical set of rates, this time prefixed with 882, which calls the second trunk.

Joe


Top
 Profile  
 
 Post subject: Re: traffic distribution
PostPosted: Fri Jul 22, 2011 1:09 pm 
Offline

Joined: Wed Jan 24, 2007 9:15 am
Posts: 18
Thanks.
Understood


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 23 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group