[Asterisk-Users] AgentCallbackLogin

Kevin Bockman ml at neoninternet.com
Sat Jun 4 09:55:00 MST 2005


> Can it be a problem with AgentCallbackLogin?
> 
>     -- Executing AgentCallbackLogin("Zap/4-1", "1010|XXXXXXXXXX at agents")
> in new stack
>     -- Setting global variable 'AGENTBYCALLERID_XXXXXXXXXX' to '1010'
>     -- Playing 'agent-loginok' (language 'en')
>     -- Callback Agent '1010' logged in on XXXXXXXXXX at agents
>     -- Playing 'vm-goodbye' (language 'en')
>   == Spawn extension (agent-io, 1, 5) exited non-zero on 'Zap/4-1'
>     -- Hungup 'Zap/4-1'
That's how it is supposted to work.  It calls you back when the agent
gets a call from the queue.

> Does anybody know if it is possible to DO NOT let AgentCallbackLogin
> hangup at the end of "Agent logged in, Goodbay", but to go on with the
> next exten in the dialplan?
If it doesn't continue in the dialplan, it would require modification of
the source to change the return code.  You want to do additional
processing before it hangs up the line?

If you don't want it to hang up at all, then you need to use AgentLogin.

Kevin




More information about the asterisk-users mailing list