I work with pjsip for iOS, I configured pjsip and was able to register and re-register for a certain period of time, but there is a scenario where I want to change pjsip account information during re register with new details, but I did not find anything in google, which can help change it.
If anyone has an idea about this, please help me on how to change pjsua_acc_config data during re-registration, I get a method call during re-registration.
static void on_reg_state2(pjsua_acc_id acc_id, pjsua_reg_info *info) { PJ_LOG(3,(__FILE__, "%s: Account %d Reason %.*s Status %d code %d CurrentOp %d", __FUNCTION__, acc_id, info->cbparam->reason.slen, info->cbparam->reason.ptr, info->cbparam->status,info->cbparam->code, info->cbparam->regc)); }
ios objective-c voip sip pjsip
Retro
source share