pjsua_call_make_call method
int
pjsua_call_make_call(
- int acc_id,
- Pointer<
pj_str_t> dst_uri, - Pointer<
pjsua_call_setting> opt, - Pointer<
Void> user_data, - Pointer<
pjsua_msg_data> msg_data, - Pointer<
pjsua_call_id> p_call_id,
Make outgoing call to the specified URI using the specified account.
@param acc_id The account to be used. @param dst_uri URI to be put in the To header (normally is the same as the target URI). @param opt Optional call setting. This should be initialized using #pjsua_call_setting_default(). @param user_data Arbitrary user data to be attached to the call, and can be retrieved later. @param msg_data Optional headers etc to be added to outgoing INVITE request, or NULL if no custom header is desired. @param p_call_id Pointer to receive call identification.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_call_make_call(
int acc_id,
ffi.Pointer<pj_str_t> dst_uri,
ffi.Pointer<pjsua_call_setting> opt,
ffi.Pointer<ffi.Void> user_data,
ffi.Pointer<pjsua_msg_data> msg_data,
ffi.Pointer<pjsua_call_id> p_call_id,
) {
return _pjsua_call_make_call(
acc_id,
dst_uri,
opt,
user_data,
msg_data,
p_call_id,
);
}