Re: [asterisk-users] Is a device a member of a queue?

2010-07-11 Thread Peter Childs
On 11 July 2010 15:56, Paul Belanger wrote: > On Sun, Jul 11, 2010 at 9:28 AM, Peter Childs wrote: >> No function by that name registered. >> >> also its not listed on voip-info, I'm using SARK/Asterisk 1.4.21 >> > The function is in 1.6.2.   Best you could do in 1.4 is: > > *CLI> core show funct

Re: [asterisk-users] Is a device a member of a queue?

2010-07-11 Thread Paul Belanger
On Sun, Jul 11, 2010 at 9:28 AM, Peter Childs wrote: > No function by that name registered. > > also its not listed on voip-info, I'm using SARK/Asterisk 1.4.21 > The function is in 1.6.2. Best you could do in 1.4 is: *CLI> core show function QUEUE_MEMBER_LIST FYI: voip-info is terribly out of

Re: [asterisk-users] Is a device a member of a queue?

2010-07-11 Thread Peter Childs
On 11 July 2010 14:19, Paul Belanger wrote: > On Sun, Jul 11, 2010 at 5:40 AM, Peter Childs wrote: >> 1. Is there a function I'm missing to do this say.. >> is_queue_member(queuename,channel) >> > *CLI> core show function QUEUE_MEMBER > No function by that name registered. also its not listed o

Re: [asterisk-users] Is a device a member of a queue?

2010-07-11 Thread Paul Belanger
On Sun, Jul 11, 2010 at 5:40 AM, Peter Childs wrote: > 1. Is there a function I'm missing to do this say.. > is_queue_member(queuename,channel) > *CLI> core show function QUEUE_MEMBER -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode

[asterisk-users] Is a device a member of a queue?

2010-07-11 Thread Peter Childs
I'm looking for a function I can put in my dial plan that tells me if a device is a member of a queue, but I can seem to find one. Basically I want to be able to dial to join a queue and if I'm already on the queue, leave.. exten => 4,1,GotoIf(${is_queue_member(queuename,SIP/${ext})}?leave:joi