Class JsSIP.RTCSession.DTMF

SIP INFO based DTMF.

Instance Attributes

tone

String indicating the DTMF symbol.

duration

Number indicating the duration of the tone expressed in milliseconds.

Events

JsSIP.RTCSession.DTMF 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 DTMF 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 DTMF INFO is received.

Event data fields

originator
‘remote’/‘system’ String. Where does the DTMF 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.