Class JsSIP.RTCSession.Info

SIP INFO messages.

Instance Attributes

contentType

String indicating the Content Type of the SIP INFO message.

body

String indicating the body of the SIP INFO message.

Events

JsSIP.RTCSession.Info class defines a series of events. Each of them allows callback functions registration in order to let the user execute a handler for each given stimulus.

succeeded

Fired when receiving a final positive response to SIP INFO request.

Event data fields

originator
‘remote’ String. Remote peer responded positively to the SIP INFO.
response
JsSIP.IncomingResponse instance of the received 2XX response.

failed

Fired if no final positive response for the sent SIP INFO message is received.

Event data fields

originator
‘remote’/‘system’ String. Where does the SIP INFO failure come from.
response
JsSIP.IncomingResponse instance generating the failure for originator value of remote, null otherwise.
cause
One value of Failure and End Causes.