Dynamic Queue logout is not working in FreePBX

I’ve setup a Queue in FreePBX. I had to rebuild the queues.conf from scratch because FreePBX (and AMP) has had an issue with reduplicating configuration variables, and not setting stuff properly thru the GUI. This is not my issue.

My issue is the fact that, I can login to the queue fine (for example, 1081*)
but when I logout (1081**) it says agent logout, but ‘show queues’ reports otherwise. (This worked in A@H 2.8 great)

I modified my [agent-add] macro to do automatic logins, from my old A@H 2.8 setup that worked great. When [agent-del] didn’t work out of the box, I tried both my own macro, and the A@H 2.8 standard one, but it does not appear to be a macro issue.

I also upgraded to Trixbox 1.1.1, to no difference.

Here’s a pastebin to my queues.conf and my extensions.conf sections:
http://www.pastecode.com/2334

And here’s CLI logs:

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
No Members
No Callers

1081 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

-- Executing Macro("SIP/1409-5e4f", "agent-add|1082|") in new stack
-- Executing Wait("SIP/1409-5e4f", "1") in new stack
-- Executing Macro("SIP/1409-5e4f", "user-callerid") in new stack
-- Executing GotoIf("SIP/1409-5e4f", "0?report") in new stack
-- Executing GotoIf("SIP/1409-5e4f", "0?start") in new stack
-- Executing Set("SIP/1409-5e4f", "REALCALLERIDNUM=1409") in new stack
-- Executing NoOp("SIP/1409-5e4f", "REALCALLERIDNUM is 1409") in new stack
-- Executing Set("SIP/1409-5e4f", "AMPUSER=1409") in new stack
-- Executing Set("SIP/1409-5e4f", "AMPUSERCIDNAME=Kevin 1409") in new stack
-- Executing GotoIf("SIP/1409-5e4f", "0?report") in new stack
-- Executing Set("SIP/1409-5e4f", "CALLERID(all)=Kevin 1409 <1409>") in new stack
-- Executing NoOp("SIP/1409-5e4f", "Using CallerID "Kevin 1409" <1409>") in new stack
-- Executing SetVar("SIP/1409-5e4f", "CALLBACKNUM=1409") in new stack
-- Executing GotoIf("SIP/1409-5e4f", "0?5:7)") in new stack
-- Goto (macro-agent-add,s,7)
-- Executing GotoIf("SIP/1409-5e4f", "1?9:8)") in new stack
-- Goto (macro-agent-add,s,9)
-- Executing AddQueueMember("SIP/1409-5e4f", "1082|Local/1409@from-internal") in new stack
-- Executing Wait("SIP/1409-5e4f", "1") in new stack
-- Executing Playback("SIP/1409-5e4f", "agent-loginok") in new stack
-- Playing 'agent-loginok' (language 'en')
-- Executing Hangup("SIP/1409-5e4f", "") in new stack
-- Executing Macro("SIP/1409-60bb", "agent-del|1082|1082") in new stack
-- Executing Wait("SIP/1409-60bb", "1") in new stack
-- Executing Macro("SIP/1409-60bb", "user-callerid") in new stack
-- Executing GotoIf("SIP/1409-60bb", "0?report") in new stack
-- Executing GotoIf("SIP/1409-60bb", "0?start") in new stack
-- Executing Set("SIP/1409-60bb", "REALCALLERIDNUM=1409") in new stack
-- Executing NoOp("SIP/1409-60bb", "REALCALLERIDNUM is 1409") in new stack
-- Executing Set("SIP/1409-60bb", "AMPUSER=1409") in new stack
-- Executing Set("SIP/1409-60bb", "AMPUSERCIDNAME=Kevin 1409") in new stack
-- Executing GotoIf("SIP/1409-60bb", "0?report") in new stack
-- Executing Set("SIP/1409-60bb", "CALLERID(all)=Kevin 1409 <1409>") in new stack
-- Executing NoOp("SIP/1409-60bb", "Using CallerID "Kevin 1409" <1409>") in new stack
-- Executing Read("SIP/1409-60bb", "CALLBACKNUM|agent-user") in new stack
-- Playing 'agent-user' (language 'en')
-- User entered nothing.
-- Executing GotoIf("SIP/1409-60bb", "1?5:7)") in new stack
-- 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@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@from-internal (dynamic) (Unknown) has taken no calls yet
No Callers

Thanks in advance!

Keith

Removing from the CLI does work:

asterisk1CLI> remove queue member Local/1409@from-internal from 1082
Removed interface ‘Local/1409@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

So it sounds like RemoveQueueMember doesn’t work.