sipXcallLib home page


Functions | Variables
sipXtapiInternal.cpp File Reference
#include <assert.h>
#include "net/SipUserAgent.h"
#include "cp/CallManager.h"
#include "net/SipLineMgr.h"
#include "net/SipRefreshMgr.h"
#include "net/SipSubscribeClient.h"
#include "utl/UtlHashMap.h"
#include "utl/UtlHashMapIterator.h"
#include "utl/UtlString.h"
#include "utl/UtlInt.h"
#include "utl/UtlVoidPtr.h"
#include "utl/UtlDListIterator.h"
#include "os/OsLock.h"
#include "tapi/sipXtapi.h"
#include "tapi/sipXtapiEvents.h"
#include "tapi/sipXtapiInternal.h"
#include "tapi/SipXHandleMap.h"
#include "net/Url.h"
#include "net/SmimeBody.h"
#include "mi/CpMediaInterfaceFactory.h"
Include dependency graph for sipXtapiInternal.cpp:

Functions

OsMutex gSubscribeAccessLock (OsMutex::Q_FIFO)
 
void sipxDisableListeners ()
 Disable all listener callbacks – events will be dropped. More...
 
void sipxEnableListeners ()
 Enable all listener callbacks (default setting) More...
 
void sipxCallDestroyAll (const SIPX_INST hInst)
 Destroy all calls and send simulated DESTROY events. More...
 
void sipxConferenceDestroyAll (const SIPX_INST hInst)
 Remove/Destroy all Conferences. More...
 
void sipxLineRemoveAll (const SIPX_INST hInst)
 Remove/Destroy all Lines. More...
 
void sipxPublisherDestroyAll (const SIPX_INST hInst)
 Remove/Destroy all Publishers. More...
 
void sipxSubscribeDestroyAll (const SIPX_INST hInst)
 Remove/Destroy all subscriptions. More...
 
SIPX_CALL sipxCallLookupHandle (const UtlString &callID, const void *pSrc)
 
void sipxCallObjectFree (const SIPX_CALL hCall, const OsStackTraceLogger &oneBackInStack)
 
SIPX_CALL_DATAsipxCallLookup (const SIPX_CALL hCall, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
UtlBoolean validCallData (SIPX_CALL_DATA *pData)
 
void sipxCallReleaseLock (SIPX_CALL_DATA *pData, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
UtlBoolean sipxCallGetCommonData (SIPX_CALL hCall, SIPX_INSTANCE_DATA **pInst, UtlString *pStrCallId, UtlString *pStrRemoteAddress, UtlString *pLineId, UtlString *pGhostCallId, UtlString *pContactAddress)
 
SIPX_CONF sipxCallGetConf (SIPX_CALL hCall)
 
UtlBoolean sipxCallGetMediaState (SIPX_CALL hCall, SIPX_MEDIA_EVENT &lastLocalMediaAudioEvent, SIPX_MEDIA_EVENT &lastLocalMediaVideoEvent, SIPX_MEDIA_EVENT &lastRemoteMediaAudioEvent, SIPX_MEDIA_EVENT &lastRemoteMediaVideoEvent)
 
UtlBoolean sipxCallSetMediaState (SIPX_CALL hCall, SIPX_MEDIA_EVENT event, SIPX_MEDIA_TYPE type)
 
UtlBoolean sipxCallGetState (SIPX_CALL hCall, SIPX_CALLSTATE_EVENT &lastEvent, SIPX_CALLSTATE_CAUSE &lastCause, SIPX_INTERNAL_CALLSTATE &state)
 
UtlBoolean sipxCallSetState (SIPX_CALL hCall, SIPX_CALLSTATE_EVENT event, SIPX_CALLSTATE_CAUSE cause)
 
SIPX_CONTACT_TYPE sipxCallGetLineContactType (SIPX_CALL hCall)
 
SIPX_LINE_DATAsipxLineLookup (const SIPX_LINE hLine, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
SIPX_INFO_DATAsipxInfoLookup (const SIPX_INFO hInfo, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 Looks up the SIPX_INFO_DATA structure pointer, given the SIPX_INFO handle. More...
 
SIPX_TRANSPORT_DATAsipxTransportLookup (const SIPX_TRANSPORT hTransport, SIPX_LOCK_TYPE type)
 Looks up the SIPX_TRANSPORT_DATA structure pointer, given the SIPX_TRANSPORT handle. More...
 
void sipxSubscribeClientSubCallback (SipSubscribeClient::SubscriptionState newState, const char *earlyDialogHandle, const char *dialogHandle, void *applicationData, int responseCode, const char *responseText, long expiration, const SipMessage *subscribeResponse)
 Callback for subscription client state. More...
 
void sipxSubscribeClientNotifyCallback (const char *earlyDialogHandle, const char *dialogHandle, void *applicationData, const SipMessage *notifyRequest)
 Callback for subscription client NOTIFY content. More...
 
void sipxLineReleaseLock (SIPX_LINE_DATA *pData, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
void sipxInfoReleaseLock (SIPX_INFO_DATA *pData, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 Unlocks the mutex associated with the INFO DATA. More...
 
UtlBoolean validLineData (const SIPX_LINE_DATA *pData)
 
void sipxLineObjectFree (const SIPX_LINE hLine)
 
void sipxInfoObjectFree (SIPX_INFO hInfo)
 Releases the INFO handle created by a call to sipxCallSendInfo. More...
 
void sipxInfoFree (SIPX_INFO_DATA *pData)
 Frees the INFO structure allocated by a call to sipxCallSendInfo. More...
 
void sipxTransportReleaseLock (SIPX_TRANSPORT_DATA *pData, SIPX_LOCK_TYPE type)
 Unlocks the mutex associated with the TRANSPORT DATA. More...
 
void sipxTransportObjectFree (SIPX_TRANSPORT hTransport)
 Releases the TRANSPORT handle created sipxConfigExternalTransportAdd Also cals sipxTransportFree. More...
 
void sipxTransportDestroyAll (const SIPX_INST hInst)
 Destroy all external transports for a given instance. More...
 
void sipxTransportFree (SIPX_TRANSPORT_DATA *pData)
 Frees the TRANSPORT structure allocated by a call to sipxConfigExternalTransportAdd. More...
 
SIPX_LINE sipxLineLookupHandle (const char *szLineURI, const char *szRequestUri)
 
SIPX_LINE sipxLineLookupHandleByURI (const char *szURI)
 
UtlBoolean sipxAddCallHandleToConf (const SIPX_CALL hCall, const SIPX_CONF hConf)
 
UtlBoolean sipxRemoveCallHandleFromConf (const SIPX_CONF hConf, const SIPX_CALL hCall)
 
UtlBoolean validConfData (const SIPX_CONF_DATA *pData)
 
SIPX_CONF_DATAsipxConfLookup (const SIPX_CONF hConf, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
void sipxConfReleaseLock (SIPX_CONF_DATA *pData, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
void sipxConfFree (const SIPX_CONF hConf)
 
SIPX_INSTANCE_DATAfindSessionByCallManager (const void *pCallManager)
 
void sipxGetContactHostPort (SIPX_INSTANCE_DATA *pData, SIPX_CONTACT_TYPE contactType, Url &uri, SIPX_TRANSPORT_TYPE sipx_protocol)
 
SIPXTAPI_API void sipxLogEntryAdd (OsSysLogPriority priority, const char *format,...)
 Adds a log entry to the system log - made necessary to add logging capability on the API level. More...
 
SIPXTAPI_API SIPX_RESULT sipxConfigAllowMethod (const SIPX_INST hInst, const char *method, const bool bAllow)
 Utility function for setting allowed methods on a instance's user-agent. More...
 
void sipxIncSessionCount ()
 
void sipxDecSessionCount ()
 
int sipxGetSessionCount ()
 
UtlBoolean sipxIsCallInFocus ()
 
SIPX_RESULT sipxGetActiveCallIds (SIPX_INST hInst, int maxCalls, int &actualCalls, UtlString callIds[])
 Get the list of active calls for the specified call manager instance. More...
 
SIPX_RESULT sipxFlushHandles ()
 Flush handles to remove peaks between test cases – this WILL leak memory. More...
 
SIPX_RESULT sipxCheckForHandleLeaks ()
 Look for leaks in internal handles. More...
 
SIPXTAPI_API SIPX_RESULT sipxCallGetConnectionMediaInterface (const SIPX_CALL hCall, void **ppInstData)
 Gets an CpMediaInterface pointer, associated with the call connection. More...
 
SIPXTAPI_API CpMediaInterface * sipxCallGetCpMediaInterface (const SIPX_CALL hCall)
 Get pointer to Sipx media interface for call. More...
 
SIPXTAPI_API OsMsgQ * sipxCallGetMediaConrolQueue (const SIPX_CALL hCall)
 Get pointer to Sipx media control message queue for call. More...
 
SIPXTAPI_API SIPX_RESULT sipxStructureIntegrityCheck ()
 
const char * sipxContactTypeToString (SIPX_CONTACT_TYPE type)
 
const char * sipxTransportTypeToString (SIPX_TRANSPORT_TYPE type)
 
SIPXTAPI_API SIPX_RESULT sipxTranslateToneId (const SIPX_TONE_ID toneId, SIPX_TONE_ID &xlateId)
 Translate tone ids to implementation specific codes. More...
 
UtlBoolean sipxCallSetRemoveInsteadofDrop (SIPX_CALL hCall)
 
UtlBoolean sipxCallIsRemoveInsteadOfDropSet (SIPX_CALL hCall)
 
SIPXTAPI_API SIPX_RESULT sipxConfigLoadSecurityRuntime ()
 Dynamically loads the following NSS runtime libraries, if they can be found: smime3.dll;nss3.dll;nspr4.dll;plc4.dll. More...
 
SIPX_PUBLISH_DATAsipxPublishLookup (const SIPX_PUB hPub, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
void sipxPublishReleaseLock (SIPX_PUBLISH_DATA *pData, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
SIPX_SUBSCRIPTION_DATAsipxSubscribeLookup (const SIPX_SUB hSub, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 
void sipxSubscribeReleaseLock (SIPX_SUBSCRIPTION_DATA *pData, SIPX_LOCK_TYPE type, const OsStackTraceLogger &oneBackInStack)
 

Variables

UtlBoolean g_bListenersEnabled
 
UtlSList * g_pEventListeners
 
OsMutex * g_pEventListenerLock
 
SipXHandleMapgpCallHandleMap = new SipXHandleMap()
 Global Map of call handles. More...
 
SipXHandleMapgpLineHandleMap = new SipXHandleMap()
 Global Map of line handles. More...
 
SipXHandleMapgpConfHandleMap = new SipXHandleMap()
 Global Map of conf handles. More...
 
SipXHandleMapgpInfoHandleMap = new SipXHandleMap()
 Global Map of info handles. More...
 
SipXHandleMapgpPubHandleMap = new SipXHandleMap()
 Global Map of Published (subscription server) event data handles. More...
 
SipXHandleMapgpSubHandleMap = new SipXHandleMap()
 Global Map of Subscribed (client) event data handles. More...
 
SipXHandleMapgpTransportHandleMap = new SipXHandleMap(4)
 Global Map of External Transport object handles. More...
 
UtlDList * gpSessionList = new UtlDList()
 List of sipX sessions (to be replaced by handle map in the future. More...
 
OsMutex * gpCallAccessLock = new OsMutex(OsMutex::Q_FIFO)
 
OsMutex * gpConfAccessLock = new OsMutex(OsMutex::Q_FIFO)
 
OsMutex * gpInfoAccessLock = new OsMutex(OsMutex::Q_FIFO)
 
OsMutex * gpLineAccessLock = new OsMutex(OsMutex::Q_FIFO)
 
OsMutex * gpSessionLock = new OsMutex(OsMutex::Q_FIFO)
 

Function Documentation

SIPX_INSTANCE_DATA* findSessionByCallManager ( const void *  pCallManager)
OsMutex gSubscribeAccessLock ( OsMutex::Q_FIFO  )
UtlBoolean sipxAddCallHandleToConf ( const SIPX_CALL  hCall,
const SIPX_CONF  hConf 
)
void sipxCallDestroyAll ( const SIPX_INST  hInst)

Destroy all calls and send simulated DESTROY events.

UtlBoolean sipxCallGetCommonData ( SIPX_CALL  hCall,
SIPX_INSTANCE_DATA **  pInst,
UtlString *  pStrCallId,
UtlString *  pStrRemoteAddress,
UtlString *  pLineId,
UtlString *  pGhostCallId,
UtlString *  pContactAddress 
)
SIPX_CONF sipxCallGetConf ( SIPX_CALL  hCall)
SIPXTAPI_API SIPX_RESULT sipxCallGetConnectionMediaInterface ( const SIPX_CALL  hCall,
void **  ppInstData 
)

Gets an CpMediaInterface pointer, associated with the call connection.

Parameters
hCallHandle to a call. Call handles are obtained either by invoking sipxCallCreate or passed to your application through a listener interface.
ppInstDatapointer to a memory address that is set to the media interface pointer.
SIPXTAPI_API CpMediaInterface* sipxCallGetCpMediaInterface ( const SIPX_CALL  hCall)

Get pointer to Sipx media interface for call.

Parameters
hCallHandle to a call. Call handles are obtained either by invoking sipxCallCreate or passed to your application through a listener interface.
SIPX_CONTACT_TYPE sipxCallGetLineContactType ( SIPX_CALL  hCall)
SIPXTAPI_API OsMsgQ* sipxCallGetMediaConrolQueue ( const SIPX_CALL  hCall)

Get pointer to Sipx media control message queue for call.

Parameters
hCallHandle to a call. Call handles are obtained either by invoking sipxCallCreate or passed to your application through a listener interface.
UtlBoolean sipxCallGetMediaState ( SIPX_CALL  hCall,
SIPX_MEDIA_EVENT lastLocalMediaAudioEvent,
SIPX_MEDIA_EVENT lastLocalMediaVideoEvent,
SIPX_MEDIA_EVENT lastRemoteMediaAudioEvent,
SIPX_MEDIA_EVENT lastRemoteMediaVideoEvent 
)
UtlBoolean sipxCallGetState ( SIPX_CALL  hCall,
SIPX_CALLSTATE_EVENT lastEvent,
SIPX_CALLSTATE_CAUSE lastCause,
SIPX_INTERNAL_CALLSTATE state 
)
UtlBoolean sipxCallIsRemoveInsteadOfDropSet ( SIPX_CALL  hCall)
SIPX_CALL_DATA* sipxCallLookup ( const SIPX_CALL  hCall,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
SIPX_CALL sipxCallLookupHandle ( const UtlString &  callID,
const void *  pSrc 
)
void sipxCallObjectFree ( const SIPX_CALL  hCall,
const OsStackTraceLogger &  oneBackInStack 
)
void sipxCallReleaseLock ( SIPX_CALL_DATA pData,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
UtlBoolean sipxCallSetMediaState ( SIPX_CALL  hCall,
SIPX_MEDIA_EVENT  event,
SIPX_MEDIA_TYPE  type 
)
UtlBoolean sipxCallSetRemoveInsteadofDrop ( SIPX_CALL  hCall)
UtlBoolean sipxCallSetState ( SIPX_CALL  hCall,
SIPX_CALLSTATE_EVENT  event,
SIPX_CALLSTATE_CAUSE  cause 
)
SIPX_RESULT sipxCheckForHandleLeaks ( )

Look for leaks in internal handles.

void sipxConferenceDestroyAll ( const SIPX_INST  hInst)

Remove/Destroy all Conferences.

void sipxConfFree ( const SIPX_CONF  hConf)
SIPXTAPI_API SIPX_RESULT sipxConfigAllowMethod ( const SIPX_INST  hInst,
const char *  method,
const bool  bAllow 
)

Utility function for setting allowed methods on a instance's user-agent.

SIPXTAPI_API SIPX_RESULT sipxConfigLoadSecurityRuntime ( )

Dynamically loads the following NSS runtime libraries, if they can be found: smime3.dll;nss3.dll;nspr4.dll;plc4.dll.

Returns
SIPX_RESULT_SUCCESS if all NSS libraries were loaded. Otherwise, SIPX_RESULT_MISSING_RUNTIME_FILES is returned.
SIPX_CONF_DATA* sipxConfLookup ( const SIPX_CONF  hConf,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
void sipxConfReleaseLock ( SIPX_CONF_DATA pData,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
const char* sipxContactTypeToString ( SIPX_CONTACT_TYPE  type)
void sipxDecSessionCount ( )
void sipxDisableListeners ( )

Disable all listener callbacks – events will be dropped.

void sipxEnableListeners ( )

Enable all listener callbacks (default setting)

SIPX_RESULT sipxFlushHandles ( )

Flush handles to remove peaks between test cases – this WILL leak memory.

SIPX_RESULT sipxGetActiveCallIds ( SIPX_INST  hInst,
int  maxCalls,
int &  actualCalls,
UtlString  callIds[] 
)

Get the list of active calls for the specified call manager instance.

void sipxGetContactHostPort ( SIPX_INSTANCE_DATA pData,
SIPX_CONTACT_TYPE  contactType,
Url &  uri,
SIPX_TRANSPORT_TYPE  sipx_protocol 
)
int sipxGetSessionCount ( )
void sipxIncSessionCount ( )
void sipxInfoFree ( SIPX_INFO_DATA pData)

Frees the INFO structure allocated by a call to sipxCallSendInfo.

Parameters
pDataPointer to SIPX_INFO_DATA structure
SIPX_INFO_DATA* sipxInfoLookup ( const SIPX_INFO  hInfo,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)

Looks up the SIPX_INFO_DATA structure pointer, given the SIPX_INFO handle.

Parameters
hInfoInfo Handle
typeLock type to use during lookup.
void sipxInfoObjectFree ( SIPX_INFO  hInfo)

Releases the INFO handle created by a call to sipxCallSendInfo.

Also cals sipxInfoFree.

Parameters
hInfoHandle to the Info object
void sipxInfoReleaseLock ( SIPX_INFO_DATA pData,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)

Unlocks the mutex associated with the INFO DATA.

Parameters
pDatapointer to the SIPX_INFO structure
typeType of lock (read or write)
UtlBoolean sipxIsCallInFocus ( )
SIPX_LINE_DATA* sipxLineLookup ( const SIPX_LINE  hLine,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
SIPX_LINE sipxLineLookupHandle ( const char *  szLineURI,
const char *  szRequestUri 
)
SIPX_LINE sipxLineLookupHandleByURI ( const char *  szURI)
void sipxLineObjectFree ( const SIPX_LINE  hLine)
void sipxLineReleaseLock ( SIPX_LINE_DATA pData,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
void sipxLineRemoveAll ( const SIPX_INST  hInst)

Remove/Destroy all Lines.

SIPXTAPI_API void sipxLogEntryAdd ( OsSysLogPriority  logLevel,
const char *  format,
  ... 
)

Adds a log entry to the system log - made necessary to add logging capability on the API level.

Parameters
logLevelpriority of the log entry
formata format string for the following variable argument list
void sipxPublisherDestroyAll ( const SIPX_INST  hInst)

Remove/Destroy all Publishers.

SIPX_PUBLISH_DATA* sipxPublishLookup ( const SIPX_PUB  hPub,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
void sipxPublishReleaseLock ( SIPX_PUBLISH_DATA pData,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
UtlBoolean sipxRemoveCallHandleFromConf ( const SIPX_CONF  hConf,
const SIPX_CALL  hCall 
)
SIPXTAPI_API SIPX_RESULT sipxStructureIntegrityCheck ( )
void sipxSubscribeClientNotifyCallback ( const char *  earlyDialogHandle,
const char *  dialogHandle,
void *  applicationData,
const SipMessage *  notifyRequest 
)

Callback for subscription client NOTIFY content.

void sipxSubscribeClientSubCallback ( SipSubscribeClient::SubscriptionState  newState,
const char *  earlyDialogHandle,
const char *  dialogHandle,
void *  applicationData,
int  responseCode,
const char *  responseText,
long  expiration,
const SipMessage *  subscribeResponse 
)

Callback for subscription client state.

void sipxSubscribeDestroyAll ( const SIPX_INST  hInst)

Remove/Destroy all subscriptions.

SIPX_SUBSCRIPTION_DATA* sipxSubscribeLookup ( const SIPX_SUB  hSub,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
void sipxSubscribeReleaseLock ( SIPX_SUBSCRIPTION_DATA pData,
SIPX_LOCK_TYPE  type,
const OsStackTraceLogger &  oneBackInStack 
)
SIPXTAPI_API SIPX_RESULT sipxTranslateToneId ( const SIPX_TONE_ID  toneId,
SIPX_TONE_ID xlateId 
)

Translate tone ids to implementation specific codes.

Parameters
toneIdsipx-internal tone id
xlateIdimplementation-specific tone id
void sipxTransportDestroyAll ( const SIPX_INST  hInst)

Destroy all external transports for a given instance.

void sipxTransportFree ( SIPX_TRANSPORT_DATA pData)

Frees the TRANSPORT structure allocated by a call to sipxConfigExternalTransportAdd.

Parameters
pDataPointer to SIPX_TRANSPORT_DATA structure
SIPX_TRANSPORT_DATA* sipxTransportLookup ( const SIPX_TRANSPORT  hTransport,
SIPX_LOCK_TYPE  type 
)

Looks up the SIPX_TRANSPORT_DATA structure pointer, given the SIPX_TRANSPORT handle.

Parameters
hTransportTransport Handle
typeLock type to use during lookup.
void sipxTransportObjectFree ( SIPX_TRANSPORT  hTransport)

Releases the TRANSPORT handle created sipxConfigExternalTransportAdd Also cals sipxTransportFree.

Parameters
hInfoHandle to the Transport object
void sipxTransportReleaseLock ( SIPX_TRANSPORT_DATA pData,
SIPX_LOCK_TYPE  type 
)

Unlocks the mutex associated with the TRANSPORT DATA.

Parameters
pDatapointer to the SIPX_TRANSPORT structure
typeType of lock (read or write)
const char* sipxTransportTypeToString ( SIPX_TRANSPORT_TYPE  type)
UtlBoolean validCallData ( SIPX_CALL_DATA pData)
UtlBoolean validConfData ( const SIPX_CONF_DATA pData)
UtlBoolean validLineData ( const SIPX_LINE_DATA pData)

Variable Documentation

UtlBoolean g_bListenersEnabled
OsMutex* g_pEventListenerLock
UtlSList* g_pEventListeners
OsMutex* gpCallAccessLock = new OsMutex(OsMutex::Q_FIFO)
SipXHandleMap* gpCallHandleMap = new SipXHandleMap()

Global Map of call handles.

OsMutex* gpConfAccessLock = new OsMutex(OsMutex::Q_FIFO)
SipXHandleMap* gpConfHandleMap = new SipXHandleMap()

Global Map of conf handles.

OsMutex* gpInfoAccessLock = new OsMutex(OsMutex::Q_FIFO)
SipXHandleMap* gpInfoHandleMap = new SipXHandleMap()

Global Map of info handles.

OsMutex* gpLineAccessLock = new OsMutex(OsMutex::Q_FIFO)
SipXHandleMap* gpLineHandleMap = new SipXHandleMap()

Global Map of line handles.

SipXHandleMap* gpPubHandleMap = new SipXHandleMap()

Global Map of Published (subscription server) event data handles.

UtlDList* gpSessionList = new UtlDList()

List of sipX sessions (to be replaced by handle map in the future.

OsMutex* gpSessionLock = new OsMutex(OsMutex::Q_FIFO)
SipXHandleMap* gpSubHandleMap = new SipXHandleMap()

Global Map of Subscribed (client) event data handles.

SipXHandleMap* gpTransportHandleMap = new SipXHandleMap(4)

Global Map of External Transport object handles.