[Asterisk-Users] Agent logoff

James Murray jamesm at bestweb.net
Mon Apr 4 10:42:29 MST 2005


    My questions pertain to logging agents in and out of the Asterisk 
system. Currently I have these 2 extensions
setup for this purpose.

exten => 27,1,AgentCallbackLogin(|${CALLERIDNUM}@incoming)
exten => 26,1,AgentCallbackLogin(${CALLERIDNUM}|'#')

    My first problem is with what happens when a agent logs themselves 
out of Asterisk.
Unfortunately, agents will still receive calls regardless of there agent 
status. Preferable I would
like calls to go to voice mail.
   
Status from CLI

123          (John Smith) not logged in (musiconhold is 'manual')

    Secondly, and more an annoyance rather than a actual problem. Is 
there any better way to log a user out
of Asterisk so that the user does not have to enter pound as a new 
extension.



More information about the asterisk-users mailing list