[asterisk-users] Outgoing routes with two PRI

chima s chima.s at gmail.com
Mon Apr 12 04:55:45 CDT 2010


Hi,

I have 2 port Digium PRI card (TE205P). On each port we have different
service provider E1 is connected.

I have to configure if i dial with prefix 910 it has to dial out
through port 1 service provider and if i dial prefix 912 it has to
dial out through port 2.

My zapatel.conf:
[trunkgroups]

[channels]
callgroup=0
pickupgroup=1
switchtype=euroisdn
language=en
signalling=pri_cpe
usecallerid=yes
callerid=asreceived
callprogress=no
busydetect=no
context=from-pstn
echocancel=no
echocancelwhenbridged=yes
resetinterval=never
priindication=outofband

group=0
channel => 1-15,17-31

group=1
channel => 32-46,48-62

vi extensions_additional.conf

OUT_1 = ZAP/g0
OUTCID_1 =
OUTMAXCHANS_1 =
OUTFAIL_1 =
OUTPREFIX_1 =
OUTDISABLE_1 = off
OUTKEEPCID_1 = off
FORCEDOUTCID_1 =
OUT_3 = ZAP/g1
OUTCID_3 =
OUTMAXCHANS_3 =
OUTFAIL_3 =
OUTPREFIX_3 =
OUTDISABLE_3 = off
OUTKEEPCID_3 = off
FORCEDOUTCID_3 =

[outbound-allroutes]
include => outrt-004-outbout
include => outrt-005-newout
exten => _!,1,Macro(user-callerid,SKIPTTL,)

; end of [outbound-allroutes]

[outrt-004-outbout]
include => outrt-004-outbout-custom
exten => _912.,1,Macro(user-callerid,SKIPTTL,)
exten => _912.,n,Set(_NODEST=)
exten => _912.,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _912.,n,Macro(dialout-trunk,3,${EXTEN},,)
exten => _912.,n,Macro(outisbusy,)

; end of [outrt-004-outbout]


[outrt-005-newout]
include => outrt-005-newout-custom
exten => _910.,1,Macro(user-callerid,SKIPTTL,)
exten => _910.,n,Set(_NODEST=)
exten => _910.,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _910.,n,Macro(dialout-trunk,1,${EXTEN},,)
exten => _910.,n,Macro(outisbusy,)

; end of [outrt-005-newout]


But when i dial it gives error all circuits are busy. Is there
anything i have missed.

Thanks & Regards
Chima.s



More information about the asterisk-users mailing list