FreePBX has built-in feature codes to login or logout from the Queue. By default it is *45.
When i enter those code, i logged into the Queue, but when i want to log out, and enter that code again, system tries to add my number to the Queue again, and i has no ability to logout from the Queue. The same problem i has with Qiueue pause code *46. i paused my number and has no ability to resume.
Here part of log
First try (i enter the Queue)
-- Executing [[email protected]:2] Set("SIP/7002-00000227", "QUEUEUSER=7002") in new stack
-- Executing [[email protected]:3] Set("SIP/7002-00000227", "QUEUEUSERCIDNAME=evgeniy") in new stack
-- Executing [[email protected]:4] GotoIf("SIP/7002-00000227", "0?invalid") in new stack
-- Executing [[email protected]:5] ExecIf("SIP/7002-00000227", "1?AddQueueMember(701,Local/[email protected]/n,0,,evgeniy,hint:[email protected])") in new stack
[2017-11-23 14:41:06] NOTICE[1564][C-00000110]: app_queue.c:7813 aqm_exec: Added interface 'Local/[email protected]/n' to queue '701'
-- Executing [[email protected]:6] ExecIf("SIP/7002-00000227", "0?AddQueueMember(701,Local/[email protected]/n,0,,evgeniy)") in new stack
-- Executing [[email protected]:7] UserEvent("SIP/7002-00000227", "AgentLogin,Agent: 7002") in new stack
-- Executing [[email protected]:8] QueueLog("SIP/7002-00000227", "701,MANAGER,evgeniy,ADDMEMBER,Local/[email protected]/n") in new stack
-- Executing [[email protected]:9] MacroExit("SIP/7002-00000227", "") in new stack
Second try (i tried to logout from the Queue)
Executing [[email protected]:2] Set("SIP/7002-00000228", "QUEUEUSER=7002") in new stack
-- Executing [[email protected]:3] Set("SIP/7002-00000228", "QUEUEUSERCIDNAME=evgeniy") in new stack
-- Executing [[email protected]:4] GotoIf("SIP/7002-00000228", "0?invalid") in new stack
-- Executing [[email protected]:5] ExecIf("SIP/7002-00000228", "1?AddQueueMember(701,Local/[email protected]/n,0,,evgeniy,hint:[email protected])") in new stack
[2017-11-23 14:41:16] WARNING[1605][C-00000111]: app_queue.c:7818 aqm_exec: Unable to add interface 'Local/[email protected]/n' to queue '701': Already there
-- Executing [[email protected]:6] ExecIf("SIP/7002-00000228", "0?AddQueueMember(701,Local/[email protected]/n,0,,evgeniy)") in new stack
-- Executing [[email protected]:7] UserEvent("SIP/7002-00000228", "AgentLogin,Agent: 7002") in new stack
-- Executing [[email protected]:8] QueueLog("SIP/7002-00000228", "701,MANAGER,evgeniy,ADDMEMBER,Local/[email protected]/n") in new stack
-- Executing [[email protected]:9] MacroExit("SIP/7002-00000228", "") in new stack
My FreePBX version - FreePBX 14.0.1.20
Queue module version - Queues 14.0.2.6