Call dtmf_to_caller

Sends a DTMF message for the caller.

def dtmf_to_caller keys

Code example 1 - Definition

Method parameters

Parameter name Value Description Default value Mandatory
keys string value
e.g. '123456789'
Keys to send as DTMF signals. (None) Yes

Example

#get the active calls list
calls = OPS.list_active_calls '192.168.0.1', nil, 'admin', 'password'

#pick up the first call
call = calls[0]

if (call != nil)
call.dtmf_to_caller "123"
end

Code example 2 - Send DTMF signals to caller

More information