Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 3:41 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: reducing cost by GSM-SIP trunks
PostPosted: Mon Feb 11, 2008 11:51 pm 
Offline

Joined: Sun Feb 03, 2008 3:56 pm
Posts: 1
Hi:
There are 2 cellular company in my country and we need route to one and another by their "prefix", first digits actually:

Movistar first digits : 90,91,92,95,98,99
Claro first digits : 92,93,94,96,97

Our A2billing V1.3 on Asterisk 1.2 (vanilla) is working very well. i have a first GSM-SIP like Movistar trunk(SIP/50), and second GSM-SIP like Claro trunk (SIP/60)

And in my dialplan (before a2billing installed):

[mobil-trunk]
;Movistar trunk
exten => _9[012589]XXXXXX,1,Dial(SIP/50/${EXTEN:0})

;Claro trunk
exten => _9[3467]XXXXXX,1,Dial(SIP/60/${EXTEN:0})

My question is: a2billing takes trunks defined in sip.conf (our case), is posible a2billing takes CONTEXT like trunk [mobil-trunk] instead????

Both have the same buy and sell cost, obviously

Thanks for your replay

Gabo
Lima Peru


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 12, 2008 12:11 am 
Offline

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

One way of doing this is to set up two rate tables in your call-plan in addition to your A 2 Z termination rate tables.

Call one - Movistar-Rates, and put in 90,91,92,95,98,99 and force it to use the trunk that goes out via the trunk intended for Movistar.

Call the second one Claro, put in 92,93,94,96,97, with your buy and sell rates, and set the trunk to use as your Claro trunk.

The easiest way to set up a trunk in A2Billing is to build and test it in sip.conf, then refer to it by context name in A2Billing trunks.

Joe


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


All times are UTC


Who is online

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