I am (still) using the ancient AsteriskNOW 2.0.2 consisting of Asterisk 1.8.15 and FreePBX 2.10.1.19, for a PBX I have established and am maintaining as a pro bono project for a local public-service non-profit.
(Please, PLEASE don’t tell me to upgrade. I know. Unfortunately at this time I am absolutely unable to do that. Hopefully before very much longer, but for now I’m stuck with what I have.)
I have several queues set up where people can log in using NNN* (extension number followed by star) and log out using NNN** (extension number followed by two stars).
Logging in works perfectly, logging out doesn’t work at all. If I say, for example, 407* I get “Agent login” and things proceed to completion. If I say 407**, instead of “Agent logout”, I get “Agent login” again.
The only way to clear people out of the queues is with asterisk -rx “queue remove member…” from the command line. Only the system administrator can do that; people can’t log themselves out of the queue.
If I open up a CLI I can watch what happens with the login and logout sequence. Logging in with 407* shows:
– Executing [407*@from-internal:1] Macro(“SIP/155-000000ad”, “agent-add,407,”) in new stack
Looks good, all is well.
Attempting to log out with 407** shows the same thing…
– Executing [407*@from-internal:1] Macro(“SIP/155-000000ae”, “agent-add,407,”) in new stack
So, when dialing 407**, the system only sees the first star, not the second one.
The phones I am using are Grandstream GXP1400. Their dial plan looks like this:
{ x+ | x+ | xxx+ | x+ | x+** }
The first part, “x+ | x+ | xxx+", is the default dial plan that Grandstream provides. The "x+ | x+**” is what I put in there to handle the queue login (one star) and logout (two stars).
Any ideas what I should check to try to run this down? It’s a big problem for the non-profit that uses this system.
Thanks…
Eric in NH