[asterisk-users] Asterisk PRI Busy Problem
Arun Kumar
arunvoip at gmail.com
Tue Jul 17 03:56:15 CDT 2007
Hi,
I've an PRI coming to my asterisk ,calls are coming fine and my agents are
able to answer no prob. but I've an agreement with my telco with some
incoming no if the no of calls on these no are more then 3 then send to
another no. they use busy signal to divert call on another number so I'm
sending the call to Congestion() if no of calls in this group are more then
3. But my provider says he is not getting any busy signal from my side and
he says for all incoming numbers (30) he is getting back only one number
from asterisk box(4340).
here is my dial plan for one incoming DID:
exten => 4340,1,GotoIfTime(*|*|25|dec?ccagents,4340,6)
exten => 4340,2,GotoIfTime(10:00-16:00|*|26|dec?ccagents,4340,7)
exten => 4340,3,GotoIfTime(09:00-18:00|*|31|dec?ccagents,4340,7)
exten => 4340,4,GotoIfTime(12:00-16:00|*|1|jan?ccagents,4340,7)
exten => 4340,5,GotoIfTime(09:00-20:00|mon-sun,*,*?ccagents,4340,7)
exten => 4340,6,Goto(out-of-hours,5001,1)
exten => 4340,7,Set(GROUP(${EXTEN})=MAX_CALLS)
exten => 4340,8,GotoIf($[${GROUP_COUNT(MAX_CALLS@${EXTEN})} > 3]?16)
exten => 4340,9,Set(GROUP(${CALLERIDNUM})=MAX_CALLS)
exten => 4340,10,Answer()
exten => 4340,11,Playback(custom/next-avail-advisor)
exten =>
4340,12,Set(MONITOR_FILENAME=/var/spool/asterisk/q/tcarehwsupport-${TIMESTAMP}-${UNIQUEID})
exten => 4340,13,Monitor(wav,${MONITOR_FILENAME},mb)
exten => 4340,14,NoOp(${QUEUESTATUS})
exten => 4340,15,Queue(test,rt,,,10)
exten => 4340,16,Congestion()
zapata.conf:
---------------
[trunkgroups]
[channels]
language=en
context=ccagents
switchtype=euroisdn
pridialplan=unknown
overlapdial=yes
signalling=pri_cpe
rxgain = 0.0
txgain = 0.0
usecallerid=yes
hidecallerid=yes
callerid=asreceived
callwaiting=yes
usecallingpres=yes
echocancel=yes
echocancelwhenbridged=yes
immediate=no
cidsignalling=v23
callwaitingcallerid=yes
priindication = outofband
resetinterval = 99999999
group = 1
channel => 1-15
channel => 17-31
group = 2
channel => 32-46
channel => 48-62
thanks
arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070717/89b99ed8/attachment.htm
More information about the asterisk-users
mailing list