[asterisk-users] RemoveQueueMember isn't working.

Keith Herrington keith.herrington at twistpair.com
Wed Aug 2 11:36:21 MST 2006


Joshua,
Thank you!! I didn't even notice that. I'll fix it and report the bug to
FreePBX.

Keith

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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:keith.herrington at twistpair.com]
To:
asterisk-users at 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/1409 at from-internal/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/1409 at from-internal (dynamic) (Unknown) has taken no calls yet No

> Callers
>  
>  asterisk1*CLI> remove queue member Local/1409 at from-internal from 1082

> Removed interface 'Local/1409 at from-internal' 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/${CALLBACKNUM}@from-internal to the queue while you
are removing Local/${CALLBACKNUM}@from-internal/n

If you remove the /n it should then work.

Joshua Colp
Digium
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --




More information about the asterisk-users mailing list