void function ( AgentCompleteEvent arg0 ) { AsteriskAgentImpl loc0 = getAgentByAgentId ( arg0 . getChannel ( ) ) ; if ( loc0 == null ) { logger . error ( "srini_string" + arg0 . getChannel ( ) ) ; return ; } loc0 . updateState ( AgentState . AGENT_IDLE ) ; }
change state if connected call was terminated . concode_field_sep AsteriskServerImpl server concode_elem_sep Map<String,AsteriskAgentImpl> ringingAgents concode_elem_sep Log logger concode_elem_sep Map<String,AsteriskAgentImpl> agents concode_field_sep void handleAgentCallbackLoginEvent concode_elem_sep void updateAgentState concode_elem_sep void handleAgentsEvent concode_elem_sep void handleAgentCallbackLogoffEvent concode_elem_sep void updateRingingAgents concode_elem_sep void addAgent concode_elem_sep void disconnected concode_elem_sep AsteriskAgentImpl getAgentByAgentId concode_elem_sep void handleAgentLogoffEvent concode_elem_sep void handleAgentCalledEvent concode_elem_sep void handleAgentConnectEvent concode_elem_sep void initialize concode_elem_sep Collection<AsteriskAgent> getAgents concode_elem_sep void handleAgentLoginEvent