pjsua_call_send_dtmf method

int pjsua_call_send_dtmf(
  1. int call_id,
  2. Pointer<pjsua_call_send_dtmf_param> param
)

Send DTMF digits to remote. Use this method to send DTMF using the method in \a pjsua_dtmf_method. This method will call #pjsua_call_dial_dtmf() when sending DTMF using \a PJSUA_DTMF_METHOD_RFC2833. Note that \a on_dtmf_digit() callback can only monitor incoming DTMF using RFC 2833. App can use \a on_dtmf_digit2() to monitor incoming DTMF using the method in \a pjsua_dtmf_method. Note that \a on_dtmf_digit() will not be called once \a on_dtmf_digit2() is implemented.

@param call_id Call identification. @param param The send DTMF parameter.

@return PJ_SUCCESS on success, or the appropriate error code.

Implementation

int pjsua_call_send_dtmf(
  int call_id,
  ffi.Pointer<pjsua_call_send_dtmf_param> param,
) {
  return _pjsua_call_send_dtmf(
    call_id,
    param,
  );
}