Summary:ASTERISK-04124: [request] add "agentcallbacklogin" CLI command
Reporter:mleahy (mleahy)Labels:
Date Opened:2005-05-09 20:45:58Date Closed:2011-06-07 14:04:50
Versions:Frequency of
Description:I am developing a desktop client that works with the manager interface. It would be nice to be able to log agents in without making them pickup the phone. Something like:

agentcallbacklogin <agentnum> <exten>@<context>
Comments:By: Clod Patry (junky) 2005-05-09 20:48:40

why not using AgentCallbackLogin via your manager?

By: mleahy (mleahy) 2005-05-10 08:36:47

To the most of my knowledge AgentCallbackLogin is not an existing action for the manager interface (please correct me if I'm wrong). But if it is created as a CLI command it can be run using Action: Command from the manager. Either way would work.

By: Clod Patry (junky) 2005-05-10 12:06:42

please contact me at cpatry AT gmail.com about that feature.

By: jets (jets) 2005-05-18 20:56:37

I have found it easy to this via the manager and dialplan, for example, an agent desktop of some sort issues an originate to a "virtual" extension, with the callerid set to the device they will be at for example:

exten => _X.,1,AgentCallbackLogin(${EXTEN}|${CALLERIDNUM}@corporate)
exten => wait,1,wait,5

I'd then originate a call to bmcmanus@login with my callerid set to 5000 -- which would be the device i'm logged in to.

A CLI command would be great to log agents in to a device but i've done this on the dial plan really well too

Thank you.

By: Matthew Nicholson (mnicholson) 2005-05-18 22:47:58

I think this would go best as an agentlogin and agentlogoff manager commands.  (note callback could be a parameter passed to agentlogin).

By: Russell Bryant (russell) 2005-05-24 06:59:19

I agree that this would be nice as a CLI command, but we can't just leave every feature request without a patch to rot here on the bug tracker.

I don't see an AgentCallBackLogin manager command, but you should be able to come up with a workaround using the dialplan.

Feel free to re-open if a patch becomes available.