79 const char* szRemoteAddress,
83 const char* remoteAssertedIdentity = NULL);
90 const char* szRemoteAddress,
101 const char* szLineIdentifier,
104 const char *bodyBytes= NULL );
void(* sipxMediaCallbackFn)(const void *pSrc, const char *szCallId, const char *szRemoteAddress, SIPX_MEDIA_EVENT event, SIPX_MEDIA_CAUSE cause, SIPX_MEDIA_TYPE type, void *pEventData)
Definition: sipXtapiInternal.h:394
Definition: SipSession.h:33
SIPX_CALLSTATE_CAUSE
Callstate cause events identify the reason for a Callstate event or provide more detail.
Definition: sipXtapiEvents.h:244
void fireLineEvent(const void *pSrc, const char *szLineIdentifier, SIPX_LINESTATE_EVENT event, SIPX_LINESTATE_CAUSE cause, const char *bodyBytes=NULL)
This method calls the Line event callback using the function pointer.
Definition: TapiMgr.cpp:119
sipXtapi event declarations
SIPX_CALLSTATE_EVENT
Major call state events identify significant changes in the state of a call.
Definition: sipXtapiEvents.h:163
SIPX_EVENT_CATEGORY
Enum with all of the possible event types.
Definition: sipXtapiEvents.h:54
static TapiMgr & getInstance()
Accessor for the single class instance.
Definition: TapiMgr.cpp:34
void(* sipxCallEventCallbackFn)(const void *pSrc, const char *szCallId, SipSession *pSession, const char *szRemoteAddress, SIPX_CALLSTATE_EVENT event, SIPX_CALLSTATE_CAUSE cause, void *pEventData, const char *assertedIdentity)
Definition: sipXtapiInternal.h:385
SIPX_MEDIA_EVENT
Enumeration of possible media events.
Definition: sipXtapiEvents.h:490
void fireMediaEvent(const void *pSrc, const char *szCallId, const char *szRemoteAddress, SIPX_MEDIA_EVENT event, SIPX_MEDIA_CAUSE cause, SIPX_MEDIA_TYPE type, void *pEventData)
This method calls the media event callback using the function pointer.
Definition: TapiMgr.cpp:102
SIPX_LINESTATE_CAUSE
Enumeration of possible linestate Event causes.
Definition: sipXtapiEvents.h:369
SIPX_MEDIA_TYPE
Enumeration of possible media event types.
Definition: sipXtapiEvents.h:660
void(* sipxLineEventCallbackFn)(const void *pSrc, const char *szLineIdentifier, SIPX_LINESTATE_EVENT event, SIPX_LINESTATE_CAUSE cause, const char *bodyBytes)
Definition: sipXtapiInternal.h:402
void setTapiCallCallback(sipxCallEventCallbackFn fp)
Sets the callback function pointer for Call Events (to be fired to the sipXtapi layer) ...
Definition: TapiMgr.cpp:40
void setTapiLineCallback(sipxLineEventCallbackFn fp)
Sets the callback function pointer for Line Events (to be fired to the sipXtapi layer) ...
Definition: TapiMgr.cpp:51
SIPX_LINESTATE_EVENT
Enumeration of possible linestate Events.
Definition: sipXtapiEvents.h:330
bool(* sipxEventCallbackFn)(const void *pSrc, SIPX_EVENT_CATEGORY category, void *pInfo)
Definition: sipXtapiInternal.h:409
virtual ~TapiMgr()
TapiMgr destructor.
Definition: TapiMgr.cpp:29
bool fireEvent(const void *pSrc, const SIPX_EVENT_CATEGORY event, void *pInfo)
This method calls the new "unified callback" procedure in sipXtapi.
Definition: TapiMgr.cpp:135
void setTapiMediaCallback(sipxMediaCallbackFn fp)
Sets the callback function pointer for all media Events (to be fired to the sipXtapi layer) ...
Definition: TapiMgr.cpp:45
void fireCallEvent(const void *pSrc, const char *szCallId, SipSession *pSession, const char *szRemoteAddress, SIPX_CALLSTATE_EVENT event, SIPX_CALLSTATE_CAUSE cause, void *pEventData, const char *remoteAssertedIdentity=NULL)
This method calls the Call event callback using the function pointer.
Definition: TapiMgr.cpp:61
void setTapiCallback(sipxEventCallbackFn fp)
Sets the callback function pointer for all Events (to be fired to the sipXtapi layer) ...
Definition: TapiMgr.cpp:56
The TapiMgr singleton class allows callback funtion-pointers for tapi to be set, indicating the funct...
Definition: TapiMgr.h:36
SIPX_MEDIA_CAUSE
Enumeration of possible media event causes.
Definition: sipXtapiEvents.h:638