I have defined 4 queue's. Is there any way to check is there any agent logged in any of those queue's? What I would like to do is to check if there is any agent in any of queue's and if there is, then I'll will transfer a call to that queue, it there isn't I would like to do something else with a call. Thank you for your time. -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)393447 e-mail: tparcina#lama.hr http://www.lama.hr
Hi,>I have defined 4 queue's. Is there any way to check is there any agent logged in any of those queue's? > >What I would like to do is to check if there is any agent in any of queue's and if there is, then I'll will transfer a call to that queue, it there isn't I would like to do something else with a call. > >The Queue application sets the QUEUESTATUS channel variable upon completion. The status of the call can be : TIMEOUT, FULL, JOINEMPTY, LEAVEEMPTY, JOINUNAVAIL or LEAVEUNAVAIL. Here an example.... ... exten => 3,5,Queue(scopserv-test|tH|||30) exten => 3,6,GotoIf($["${QUEUESTATUS}" = "JOINEMPTY"]?1000) exten => 3,7,GotoIf($["${QUEUESTATUS}" = "JOINUNAVAIL"]?1000) exten => 3,8,GotoIf($["${QUEUESTATUS}" = "FULL"]?1000) exten => 3,9,NoOp(Normal Queue exist) exten => 3,10,Hangup exten => 3,1000,Voicemail(b1000@scopserv) -- Joel Vandal, CTO ScopServ Inc. http://www.scopserv.com/
Hello, I might be wrong here, but I thought that in Queues.conf, if you defined a queue with joinempty=no, or joinempty=strict then no calls will be placed in the queue, and asterisk will go onto the next extension in the dial plan. ; This setting controls whether callers can join a queue with no members. There ; are three choices: ; ; yes - callers can join a queue with no members or only unavailable members ; no - callers cannot join a queue with no members ; strict - callers cannot join a queue with no members or only unavailable ; members ; ; joinempty = yes ; ; If you wish to remove callers from the queue when new callers cannot join, ; set this setting to one of the same choices for 'joinempty' ; ; leavewhenempty = yes -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]On Behalf Of Joel Vandal Sent: 09 February 2006 12:55 To: Asterisk Users Mailing List - Non-Commercial Discussion; tparcina@lama.hr Subject: Re: [Asterisk-Users] Queue - check agent Hi,>I have defined 4 queue's. Is there any way to check is there any agent logged in any of those queue's? > >What I would like to do is to check if there is any agent in any of queue's and if there is, then I'll will transfer a call to that queue, it there isn't I would like to do something else with a call. > >The Queue application sets the QUEUESTATUS channel variable upon completion. The status of the call can be : TIMEOUT, FULL, JOINEMPTY, LEAVEEMPTY, JOINUNAVAIL or LEAVEUNAVAIL. Here an example.... ... exten => 3,5,Queue(scopserv-test|tH|||30) exten => 3,6,GotoIf($["${QUEUESTATUS}" = "JOINEMPTY"]?1000) exten => 3,7,GotoIf($["${QUEUESTATUS}" = "JOINUNAVAIL"]?1000) exten => 3,8,GotoIf($["${QUEUESTATUS}" = "FULL"]?1000) exten => 3,9,NoOp(Normal Queue exist) exten => 3,10,Hangup exten => 3,1000,Voicemail(b1000@scopserv) -- Joel Vandal, CTO ScopServ Inc. http://www.scopserv.com/ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Subject: RE: Queue - check agent From: Tomislav Parcina <tparcina@lama.hr> In article <2D48FF2CE7A2D74C8FE566B2AEF3295C019332@EiconLON.eicon.com>, David.Waugh@eicon.com says...> Hello, > I might be wrong here, but I thought that in Queues.conf, if you defined a queue with joinempty=no, or joinempty=strict then no calls will be placed in the queue, and asterisk will go onto the next extension in the dial plan.This is fine if it goes to next extension.> ; If you wish to remove callers from the queue when new callers cannot join, > ; set this setting to one of the same choices for 'joinempty' > ; > ; leavewhenempty = yesWhere the caller goes if last agent exits queue? -- Tomislav Parcina name.surname@email.t-com.hr
Maybe to a voicemail message box, which then gets emailed to a special email account. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]On Behalf Of Tomislav Parcina Sent: 15 February 2006 10:37 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] RE: Queue - check agent Subject: RE: Queue - check agent From: Tomislav Parcina <tparcina@lama.hr> In article <2D48FF2CE7A2D74C8FE566B2AEF3295C019332@EiconLON.eicon.com>, David.Waugh@eicon.com says...> Hello, > I might be wrong here, but I thought that in Queues.conf, if you defined a queue with joinempty=no, or joinempty=strict then no calls will be placed in the queue, and asterisk will go onto the next extension in the dial plan.This is fine if it goes to next extension.> ; If you wish to remove callers from the queue when new callers cannot join, > ; set this setting to one of the same choices for 'joinempty' > ; > ; leavewhenempty = yesWhere the caller goes if last agent exits queue? -- Tomislav Parcina name.surname@email.t-com.hr _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users