[Asterisk-Users] AgentCallbackLogin

Steven Lam s.lam at combat.cc
Sat Jun 4 11:05:20 MST 2005


Hi Kevin,

After the agent logs in i would like to present him a voice menu to let
him chose the queue's he want to be a member of. Using AddQueueMember.
So the next step in the dial plan and n+101 (via a option) would be a
great solution.
Do you think this is possible?

Gr. Steven

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kevin
Bockman
Sent: zaterdag 4 juni 2005 18:55
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] AgentCallbackLogin

> 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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list