public override void OnRequestAgentModeChange(ref Agent agent, AgentMode agentMode) { try { throw new NotImplementedException("Invalid Agent Status."); } catch (Exception exception) { Logger.Instance.LogMessage(Logger.LoggerFiles.DuoDefault, "", exception, Logger.LogLevel.Error); } }
public override void OnRequestAgentBreak(ref Agent agent, AgentMode agentMode, string callSessionId) { var result = ArdsHandler.SendStatusChangeRequestBreak(agent.UserAuth, callSessionId); agent.BreakRequsetHandle(result); }
public override void OnCallReject(ref Agent agent, string callSessionId) { try { throw new NotImplementedException("Invalid Agent Status."); } catch (Exception exception) { Logger.Instance.LogMessage(Logger.LoggerFiles.DuoDefault, "", exception, Logger.LogLevel.Error); } }
public override void OnResetStatus(ref Agent agent) { agent.AgentCurrentState = new AgentIdle(); }
public override void OnLoggedOn(ref Agent agent, string callSessionId) { Logger.Instance.LogMessage(Logger.LoggerFiles.DuoDefault, "Due to Reconfiguration",Logger.LogLevel.Info); }
public override void OnFailMakeCall(ref Agent agent) { try { throw new NotImplementedException("Invalid Agent Status."); } catch (Exception exception) { Logger.Instance.LogMessage(Logger.LoggerFiles.DuoDefault, "", exception, Logger.LogLevel.Error); } }
public override void OnAnswerCall(ref Agent agent, string callSessionId) { agent.AgentCurrentState = new AgentBusy(); }
public override void OnEndBreak(ref Agent agent) { agent.CancelAgentBreakRequest(); }
public override void OnMakeCall(ref Agent agent) { agent.AgentCurrentState = new AgentBusy(); //ArdsHandler.ResourceStatusChangeBusy(dialPad.Auth, dialPad.CallSessionId); // call server not accept dis msg. kusal ask me to remove this update. }
public override void OnRequestAgentBreak(ref Agent agent, string callSessionId, string breakReason) { agent.ResoursHandler.SendStatusChangeRequestBreak(agent.Auth, callSessionId, breakReason); }
public override void OnOffline(ref Agent agent, string statusText) { agent.AgentCurrentState = new AgentOffline(); }
public override void OnMakeCall(ref Agent agent) { agent.AgentCurrentState = new AgentBusy(); }
public override void OnRequestAgentBreakCancel(ref Agent agent, string callSessionId) { agent.ResoursHandler.CancelBreakRequest(agent.Auth, callSessionId); }