RE: [asterisk-users] RemoveQueueMember isn't working.

2006-08-02 Thread Keith Herrington
Joshua,
Thank you!! I didn't even notice that. I'll fix it and report the bug to
FreePBX.

Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Colp
Sent: Monday, July 31, 2006 11:13 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] RemoveQueueMember isn't working.

- Original Message -
From: Keith Herrington
[mailto:[EMAIL PROTECTED]
To:
asterisk-users@lists.digium.com
Sent: Mon, 31 Jul 2006 18:51:55
-0300
Subject: [asterisk-users] RemoveQueueMember isn't working.


 Hey guys. I've ran into a queue issue that I'm wondering if anyone has

 seen.
 I am using FreePBX with Asterisk 1.2.9.1 svn rev 34876.
  
 I have setup a queue of 1082. I login to the Queue fine with 1082*, 
 and receive calls via the queue. When I try to logout with 1082**, 
 Alison says I was removed, but when I do a 'show queue 1082' I'm still
listed.
 If I use the CLI and go 'remove queue member Local/1409 from 1082' it 
 works as expected.
 
 Any ideas?
  
 This is CLI output: 
 - Goto (macro-agent-del,s,5)
 -- Executing Set(SIP/1409-60bb, CALLBACKNUM=1409) in new stack
 -- Executing GotoIf(SIP/1409-60bb, 0?2)) in new stack
 -- Executing RemoveQueueMember(SIP/1409-60bb,
 1082|Local/[EMAIL PROTECTED]/n) in new stack
 -- Executing UserEvent(SIP/1409-60bb, RefreshQueue) in new stack
 -- Executing Wait(SIP/1409-60bb, 1) in new stack
 -- Executing Playback(SIP/1409-60bb, agent-loggedoff) in new stack
 -- Playing 'agent-loggedoff' (language 'en')
 -- Executing Hangup(SIP/1409-60bb, ) in new stack asterisk1*CLI 
 show queues
 1082 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), 
 W:0, C:0, A:0, SL:0.0% within 0s
 Members: 
 Local/[EMAIL PROTECTED] (dynamic) (Unknown) has taken no calls yet No

 Callers
  
  asterisk1*CLI remove queue member Local/[EMAIL PROTECTED] from 1082

 Removed interface 'Local/[EMAIL PROTECTED]' from queue '1082'
 asterisk1*CLI show queue 1082
 1082 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), 
 W:0, C:0, A:0, SL:0.0% within 0s No Members No Callers
 
 Here's a pastebin to my queues.conf and my extensions.conf sections:
 http://www.pastecode.com/2334
 
 Thanks in advance!
 
 Keith

You are removing a queue member that isn't in the queue ;)

You are adding Local/[EMAIL PROTECTED] to the queue while you
are removing Local/[EMAIL PROTECTED]/n

If you remove the /n it should then work.

Joshua Colp
Digium
___
--Bandwidth and Colocation provided by Easynews.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


Re: [asterisk-users] RemoveQueueMember isn't working.

2006-07-31 Thread Joshua Colp
- Original Message -
From: Keith Herrington
[mailto:[EMAIL PROTECTED]
To:
asterisk-users@lists.digium.com
Sent: Mon, 31 Jul 2006 18:51:55
-0300
Subject: [asterisk-users] RemoveQueueMember isn't working.


 Hey guys. I've ran into a queue issue that I'm wondering if anyone has
 seen. 
 I am using FreePBX with Asterisk 1.2.9.1 svn rev 34876.
  
 I have setup a queue of 1082. I login to the Queue fine with 1082*, and
 receive calls via the queue. When I try to logout with 1082**, Alison
 says I was removed, but when I do a 'show queue 1082' I'm still listed.
 If I use the CLI and go 'remove queue member Local/1409 from 1082' it
 works as expected.
 
 Any ideas?
  
 This is CLI output: 
 - Goto (macro-agent-del,s,5) 
 -- Executing Set(SIP/1409-60bb, CALLBACKNUM=1409) in new stack 
 -- Executing GotoIf(SIP/1409-60bb, 0?2)) in new stack 
 -- Executing RemoveQueueMember(SIP/1409-60bb,
 1082|Local/[EMAIL PROTECTED]/n) in new stack 
 -- Executing UserEvent(SIP/1409-60bb, RefreshQueue) in new stack 
 -- Executing Wait(SIP/1409-60bb, 1) in new stack 
 -- Executing Playback(SIP/1409-60bb, agent-loggedoff) in new stack 
 -- Playing 'agent-loggedoff' (language 'en') 
 -- Executing Hangup(SIP/1409-60bb, ) in new stack 
 asterisk1*CLI show queues 
 1082 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime),
 W:0, C:0, A:0, SL:0.0% within 0s 
 Members: 
 Local/[EMAIL PROTECTED] (dynamic) (Unknown) has taken no calls yet 
 No Callers 
  
  asterisk1*CLI remove queue member Local/[EMAIL PROTECTED] from 1082 
 Removed interface 'Local/[EMAIL PROTECTED]' from queue '1082' 
 asterisk1*CLI show queue 1082 
 1082 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime),
 W:0, C:0, A:0, SL:0.0% within 0s 
 No Members 
 No Callers 
 
 Here's a pastebin to my queues.conf and my extensions.conf sections:
 http://www.pastecode.com/2334 
 
 Thanks in advance!
 
 Keith

You are removing a queue member that isn't in the queue ;)

You are adding Local/[EMAIL PROTECTED] to the queue while you are removing 
Local/[EMAIL PROTECTED]/n

If you remove the /n it should then work.

Joshua Colp
Digium
___
--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