Hi, I have a problem trying to update the password of a given account (which is already registered). The code I'm using is: pjsua_acc_config acc_cfg; pjsua_acc_config_dup(pool, &acc_cfg, &pjsua_var.acc[acc_id].cfg); acc_cfg.cred_info[0].data = pj_str((char *)newPassword); pj_status_t retValue = pjsua_acc_modify(acc_id, &acc_cfg); After calling pjsua_acc_modify, the value in pjsua_var is updated but when the re-registration timer fires and a REGISTER is sent, it is using the old credentials. Browsing the code I saw that when the REGISTER request is built, it takes a "credential cache" which might be using the old password. sip_reg.c:485 /* Add cached authorization headers. */ > pjsip_auth_clt_init_req( ®c->auth_sess, tdata ); Is there any way to force that cache to be rebuilt? Is this the right approach to change the user password? Thanks! Roberto. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130325/26a29616/attachment-0001.html>