Class SIPml.Stack.Event
Extends
SIPml.Event.
Defined in: SIPml.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SIPml.Stack.Event(type, event)
SIP Stack event object.
|
Field Attributes | Field Name and Description |
---|---|
User-friendly description in english (e.g.
|
|
Optional session object only defined when the event is about a new session creation (e.g.
|
|
The event type or identifier (e.g.
|
- Methods borrowed from class SIPml.Event:
- getContent, getContentString, getContentType, getSipResponseCode
Class Detail
SIPml.Stack.Event(type, event)
SIP Stack event object. You should never create an instance of this object.
- Parameters:
- {String} type
- The event type/identifier.
- {tsip_event} event Optional
- The wrapped event object.
Field Detail
{String}
description
User-friendly description in english (e.g. 'Stack started' or 'Incoming new call').
{SIPml.Session}
newSession
Optional session object only defined when the event is about a new session creation (e.g. 'i_new_call').
The session type would be SIPml.Session.Call or SIPml.Session.Message
{String}
type
The event type or identifier (e.g. 'started' or 'i_new_call'). Please check this link for more information on all supported events.