In app-queue-toggle,s,1 The variable QUEUEUSER is empty which I think is causing the treatment to try to log the agent to queue again, which it cannot since they are already logged in. I am trying to have this cause the agent to logout.
There are no errors in the dialplan that I can see.
I confirmed __DYNROUTE_QNO & __DYNROUTE_EXTCID are populated earlier in the call with the correct numbers.
I think the issue is the set|array command. I have not used it before, so I wonder if I have it wrong. I also haven’t used the Asterisk command part of dynamic routes, so it could be that too.
What am I missing?
Embarrassing, but I should have looked at it outside of PuTTY and actually looked at it. Guess I am getting old after all. Thanks for the catch @lgaetz