pjsua_call_dial_dtmf method
Send DTMF digits to remote using RFC 2833 payload formats. Use #pjsua_call_send_dtmf() to send DTMF using SIP INFO or other method in \a pjsua_dtmf_method. App can use \a on_dtmf_digit() or \a on_dtmf_digit2() callback to monitor incoming DTMF.
@param call_id Call identification. @param digits DTMF string digits to be sent as described on RFC 2833 section 3.10. If PJMEDIA_HAS_DTMF_FLASH is enabled, character 'R' is used to represent the event type 16 (flash) as stated in RFC 4730.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_call_dial_dtmf(
int call_id,
ffi.Pointer<pj_str_t> digits,
) {
return _pjsua_call_dial_dtmf(
call_id,
digits,
);
}