Page 1 of 1

Call Routing from different PRI

PostPosted: Wed May 06, 2009 9:34 am
by avi
Hi ,

I am using Three PRI and 3 campaign .i want to dedicate each campaign to different PRI.
so please suggest me what modification need to be done .

VERSION: 2.0.4-121
BUILD: 80424-0442
Please suggest me its very urgent for me.

PostPosted: Wed May 06, 2009 11:58 am
by marcin
You may setup a deferent prefix for each compaign 9, 8 and 7 and proper changes in your dialplan. _9 _8 _7 ....etc

PostPosted: Sat May 09, 2009 8:29 am
by avi
i can do that ,but how can i decide this call goes through which PRI.

i need to decide which call should goes through which PRI.

PostPosted: Sat May 09, 2009 11:36 am
by marcin
In your extensions.conf setup 3 deferent trunks for 3 deferent pris:
TRUNK1=Zap/g1
TRUNK2=Zap/g2
TRUNK3=Zap/g3
and your dialplan:

exten => _91NXXNXXXXXX,2,Dial(${TRUNK1/${EXTEN:1},,To)

exten => _81NXXNXXXXXX,2,Dial(${TRUNK2/${EXTEN:1},,To)

exten => _71NXXNXXXXXX,2,Dial(${TRUNK3/${EXTEN:1},,To)

then add 9 8 or 7 as prefix in your Campaigns setup
9 prefix will call via TRUNK1
8 prefix will force the call to go via TRUNK2
7 prefix will force the call to go via TRUNK3

Do not copy "exten" lines in to your dial plan, these are only an examples.