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
I did a quick test. What happens is Congestion() answers the channel and leaves it open. IE do a 'show channels' and you will see the channel is still open on your end. Sorry I don't have further suggestions. On 7/17/07, Arun Kumar <arunvoip at gmail.com> wrote:> > 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 > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070717/39ac3709/attachment.htm
Arun Kumar wrote:> Hi, > > 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). > > exten => 4340,16,Congestion()Try adding: exten => 4340,16,Set(PRI_CAUSE=17) exten => 4340,17,Hangup() Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
PS, I have zero FX gear. I am 100% SIP Brad
Welcome to the Asterisk Users mailing list, On Fri, Jul 20, 2007 at 02:11:08AM -0400, BSumrall wrote:> PS, > > I have zero FX gear. I am 100% SIPHuh? This nmust be related somehow to the "PRI Busy" problem thread you've answered to, otherwise you wouldn't have replied to it, right? If you want to post a new message, start a new message. Don't just reply to an arbitrary list message and change the subject and contents. Check the list's archives and see that the threading has remained. If you want to follow-up on someone's message, then please reply to it. This will maintain threading. Thus I can easily go one message up and see what "signature" that PS refers to. -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
On Fri, Jul 20, 2007 at 09:01:27AM -0400, BSumrall wrote:> I am sending an email to the mailer list. > Not following any thread? > BradThis email was a reply to my message, and hence appeared properly threaded to it. Look for "BSumrall" in http://lists.digium.com/pipermail/asterisk-users/2007-July/thread.html (how nice it is to be able to edit threads with mutt) -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir