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
|