#include <ActivaAPI.h>
Public Member Functions | |
virtual void | OnOriginated (MonitorXref xref, DWORD callId, std::string originatingDevice, std::string callerId, std::string callerIdName, std::string calledDevice, std::string userData, call_cause cause)=0 |
a call with callId has been originated at originatingDevice | |
virtual void | OnAlerting (MonitorXref xref, DWORD callId, std::string alertingDevice, std::string callerId, std::string callerIdName, std::string calledDevice, std::string lastRedirectingDevice, std::string userData, call_cause cause)=0 |
a call with callId is alerting at alertingDevice | |
virtual void | OnEstablished (MonitorXref xref, DWORD callId, std::string establishedDevice, std::string callerId, std::string callerIdName, std::string calledDevice, std::string lastRedirectingDevice, std::string userData, call_cause cause)=0 |
a call with callId has been established at establishedDevice | |
virtual void | OnFailed (MonitorXref xref, DWORD callId, std::string failingDevice, std::string callerId, std::string callerIdName, std::string calledDevice, std::string lastRedirectionDevice, std::string userData, call_cause cause)=0 |
a call with callId has been failed at failingDevice | |
virtual void | OnQueued (MonitorXref xref, DWORD callId, std::string queuedDevice, std::string queue, int position_in_queue, int queue_len, std::string callerId, std::string callerIdName, std::string calledDevice, std::string userData, call_cause cause)=0 |
a call with callId has been queued at queue | |
virtual void | OnDiverted (MonitorXref xref, DWORD callId, std::string divertedDevice, std::string divertingDevice, std::string callerId, std::string callerIdName, std::string calledDevice, std::string userData, call_cause cause)=0 |
a call with callId has been diverted from a device (example: from a queue) | |
virtual void | OnConnectionCleared (MonitorXref xref, DWORD callId, std::string releasingDevice, call_cause cause)=0 |
a call with callId in releasingDevice has been hung-up | |
virtual void | OnCallCleared (MonitorXref xref, DWORD callId, std::string userData, call_cause cause)=0 |
a call with callId has been completely destroyed | |
virtual void | OnLinkDown ()=0 |
provider link-down handler |
When ASTCstaProvider triggers an event it does so by calling a method on this listener class. So applications usually implement their own ASTCstaListener-derived class and override OnXXX() methods.
Application should implement this interface deriving a class from ASTCstaListener and re-implementing the needed methods. Listener interface methods are supposed to:
Common parameters: