I would like agents to be able to connect and disconnect without keeping the call online.
I did some research and I’m falling on this example link: https://wiki.asterisk.org/wiki/display/AST/Assigning+Agents+to+Queues
But when I try to call I have an error: the context no longer exists.
thank you.
//extensions.conf i resolve the error by modifing the code but when try to login the current error is //error on password
[queues-loginout]
; exten => 6092 {
exten => 6092,1,Answer();
same => n, Set(CHANNEL(language)=fr)
same =>n,Read(AGENT_NUMBER,agent-user);
same =>n,VMAuthenticate({AGENT_NUMBER}@default,s);
same =>n,Set(queue-announce-success=1);
same=>n,goto queues-manip,I{AGENT_NUMBER},1;
; }
Please use </> to mark up dialplans. (Admins, almost everyone fails on this point meaning the forum software is not really usable by the target audience.)
Your password error has nothing to do with agents. VMAuthenticate, although it can be used to authenticate agents, is not part of the agent system. We’d need to know what is in your voicemail configuration.
VMAuthenticate can be used for any authentication, but it is not integrated with anything but voice mail, so you must use it based on configuring the voice mail configuration files.
There is an option to use a DTMF digit as a request to hangup the agent channel, whilst leaving the agent phone logged in. Hanging up the agent phone will destroy the agent channel and the thread that runs on it, forcing the agent login to terminate.