pjsua_acc_create_uas_contact method
Create a suitable Contact header value, based on the information in the incoming request.
@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 rdata Incoming request.
@return PJ_SUCCESS on success, other on error.
Implementation
int pjsua_acc_create_uas_contact(
ffi.Pointer<pj_pool_t> pool,
ffi.Pointer<pj_str_t> contact,
int acc_id,
ffi.Pointer<pjsip_rx_data> rdata,
) {
return _pjsua_acc_create_uas_contact(
pool,
contact,
acc_id,
rdata,
);
}