pjsua_acc_create_uac_contact method

int pjsua_acc_create_uac_contact(
  1. Pointer<pj_pool_t> pool,
  2. Pointer<pj_str_t> contact,
  3. int acc_id,
  4. Pointer<pj_str_t> uri,
)

Create a suitable Contact header value, based on the specified target URI for the specified account.

@param pool Pool to allocate memory for the string. @param contact The string where the Contact will be stored. @param acc_id Account ID. @param uri Destination URI of the request.

@return PJ_SUCCESS on success, other on error.

Implementation

int pjsua_acc_create_uac_contact(
  ffi.Pointer<pj_pool_t> pool,
  ffi.Pointer<pj_str_t> contact,
  int acc_id,
  ffi.Pointer<pj_str_t> uri,
) {
  return _pjsua_acc_create_uac_contact(
    pool,
    contact,
    acc_id,
    uri,
  );
}