- Inherits:
- Object
- Defined in:
- lib/opentok/sip.rb
Instance Method Summary
-
#dial(session_id, token, sip_uri, opts) ⇒ Object
Dials a SIP gateway to input an audio-only stream into your OpenTok session.
-
#initialize(client) ⇒ Sip
constructor
A new instance of Sip.
-
#play_dtmf_to_connection(session_id, connection_id, dtmf_digits) ⇒ Object
Sends DTMF digits to a specific client connected to an OpnTok session.
-
#play_dtmf_to_session(session_id, dtmf_digits) ⇒ Object
Sends DTMF digits to all clients connected to an OpnTok session.
Constructor Details
#initialize(client) ⇒ Sip
Returns a new instance of Sip.
Instance Method Details
#dial(session_id, token, sip_uri, opts) ⇒ Object
Dials a SIP gateway to input an audio-only stream into your OpenTok session. See the / OpenTok SIP developer guide.
#play_dtmf_to_connection(session_id, connection_id, dtmf_digits) ⇒ Object
Sends DTMF digits to a specific client connected to an OpnTok session.
the DTMF signal is being sent to. A p indicates a pause of 500ms (if you need to add a delay in sending the digits).
#play_dtmf_to_session(session_id, dtmf_digits) ⇒ Object
Sends DTMF digits to all clients connected to an OpnTok session.
A p indicates a pause of 500ms (if you need to add a delay in sending the digits).