Cloudonix.sessionEvents namesapce.
Methods
(static) onLocalAudioAdded(callback)
Session Event Callback - Local browser audio had been added to the session
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onLocalAudioRemoved(callback)
Session Event Callback - Local browser audio had been removed from the session
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onLocalHoldFailed(callback)
Session Event Callback - Local HOLD had failed
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onLocalHoldSuccess(callback)
Session Event Callback - Local HOLD had completed successfully
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onLocalMuteFailed(callback)
Session Event Callback - Local Audio Mute/Unmute Failed
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onLocalMuteToggle(callback)
Session Event Callback - Local Audio Mute/Unmute is request occurred
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onLocalUnholdFailed(callback)
Session Event Callback - Local Un-HOLD had failed
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onLocalUnholdSuccess(callback)
Session Event Callback - Local Un-HOLD had completed successfully
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onRemoteAudioAdded(callback)
Session Event Callback - Remote browser audio had been added to the session
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onRemoteAudioRemoved(callback)
Session Event Callback - Remove browser audio had been removed from the session
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onRemoteHoldStarted(callback)
Session Event Callback - Remote HOLD started
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onRemoteHoldStopped(callback)
Session Event Callback - Remote HOLD stopped
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionConnected(callback)
Session Event Callback - A session is now connected (SIP 200)
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionConnecting(callback)
Session Event Callback - A session is currently connecting (SIP 180 or 183)
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionEarlyMedia(callback)
Session Event Callback - Early media had been detected (normally, following a SIP 183)
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionNewSession(callback)
Session Event Callback - A new session is starting
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionRegister(callback)
Session Event Callback - SIP REGISTER had been sent
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionRegistered(callback)
Session Event Callback - SIP REGISTER had completed successfully
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionResponseReceived(callback)
Session Event Callback - A response from a remote server had been received for the session
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionTerminated(callback)
Session Event Callback - A session had been terminated
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionTerminating(callback)
Session Event Callback - A session is terminating (SIP BYE or SIP CANCEL)
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionTransferAccepted(callback)
Session Event Callback - SIP Call Transfer had been accepted
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionTransferFailed(callback)
Session Event Callback - SIP Call Transfer had failed
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionTransferNotification(callback)
Session Event Callback - SIP Call Transfer Notification
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionTransferRequested(callback)
Session Event Callback - SIP Call Transfer had been requested
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionTransferStarted(callback)
Session Event Callback - SIP Call Transfer had started
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionUnregister(callback)
Session Event Callback - SIP Un-REGISTER had been sent
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |
(static) onSessionUnregistered(callback)
Session Event Callback - SIP Un-REGISTER completed successfully
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Function to handle this callback |