Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Philipp von Klitzing
Hi! > DEVICE_STATE function is not available in asterisk, even DEVSTATE does not > work for me in asterisk 1.4.35. Any other method function to check the > channel status There is a backport available for 1.4: http://www.voip-info.org/wiki/view/Asterisk+func+device_State I assume that with "does

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Danny Nicholas
_ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Shariq Khan Sent: Wednesday, September 15, 2010 12:28 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Skip Busy Agents/Channels from

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Shariq Khan
s-boun...@lists.digium.com> > > [mailto:asterisk-users-boun...@lists.digium.com > > <mailto:asterisk-users-boun...@lists.digium.com>] On Behalf Of > > Gareth Blades > > Sent: Wednesday, September 15, 2010 1:46 PM > > To: Asterisk U

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Gareth Blades
;] On Behalf Of > Gareth Blades > Sent: Wednesday, September 15, 2010 1:46 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Skip Busy Agents/Channels from Queue > > Yes something like this. Note the Exec

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Shariq Khan
ists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gareth > Blades > Sent: Wednesday, September 15, 2010 1:46 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Skip Busy Agents/Channels from Queue > > Yes something l

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Tarek Sawah
riginal Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gareth Blades Sent: Wednesday, September 15, 2010 1:46 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Skip Busy Agents/Channels

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Gareth Blades
Yes something like this. Note the Execif syntax I have used is for asterisk 1.6 exten => s,n,Set(AGENTSBUSY=yes) exten => s,n,ExecIf($[${DEVICE_STATE(SIP/1009} = NOT_INUSE]?Set(AGENTSBUSY=no)) exten => s,n,ExecIf($[${DEVICE_STATE(SIP/1010} = NOT_INUSE]?Set(AGENTSBUSY=no)) exten => s,n,ExecIf($[

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Shariq Khan
You mean, I need to check the DEVICE_STATUS of both (sip) users before sending the caller into queue, otherwise skip the caller from going into Queue by using ExecIf. -- Regards, Shariq Khan 0333-3501125 On Wed, Sep 15, 2010 at 3:16 PM, Gareth Blades wrote: > Shariq Khan wrote: > > Is there a

Re: [asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Gareth Blades
Shariq Khan wrote: > Is there a way skip / ignore the member whose status is busy in the Queue. > > I have two channel member in queue and i have set the peer limit 2 for > these members. > > I want to skip those member who are currently on the call (answered to > calls) and now their status is

[asterisk-users] Skip Busy Agents/Channels from Queue

2010-09-15 Thread Shariq Khan
Is there a way skip / ignore the member whose status is busy in the Queue. I have two channel member in queue and i have set the peer limit 2 for these members. I want to skip those member who are currently on the call (answered to calls) and now their status is busy, if Queue see the busy status