[Asterisk-Users] AgentCallbackLogin (logout)

1 2 vortex_0_o at yahoo.com
Tue Jun 7 10:32:47 MST 2005


Hi

Trying to get logout by dialling an extension sorted
out.
Thought the it worked was agent logs in and logs off
on an extension clears any previous agents currently
on that extension like:

1. agent 1 login to extension1
2. agent 2 login to extension1
3. agent 2 logout 
agent 1 and 2 logged out

Is this how it should work? I am using current cvs.

Thanks

Jack


agent => 0,,nullagent
agent => 2000,1234,agent1
--

;login on 8600
exten =>
8600,1,AgentCallbackLogin(||${CALLERIDNUM}@local)
exten => 8600,2,Hangup

;logout on 8601
exten => 8601,1,AgentCallbackLogin(0|s|${CALLERIDNUM})
exten => 8601,2,Dial(Local/8602/n,,D(#))
exten => 8602,1,AgentCallbackLogin(0|'#')
exten => 8602,2,Hangup



		
__________________________________ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html



More information about the asterisk-users mailing list