I have in trouble with pjsua and IMS core, and I would like to change the timer refresh calculation to the 3gpp specification (for register and suscribe refresh interval): The registration and SUBSCRIBE refresh interval is calculated differently in IMS. According to 3GPP TS 24.229 specification: The section 5.1.1.4 says: "Unless either the user or the application within the UE has determined that a continued registration is not required the UE shall reregister an already registered public user identity either 600 seconds before the expiration time if the previous registration was for greater than 1200 seconds, or when half of the time has expired if the previous registration was for 1200 seconds or less" Please, anybody can help me with some clue of where in the code I could make the changes?... I have tried inside sip_timer.c static pjsip_hdr *parse_hdr_se(pjsip_parse_ctx *ctx) ... if (pj_stricmp(&pname, &STR_REFRESHER)==0) { hdr->refresher = pvalue; /* IMS timer mod */ if (hdr->refresher<1200) { hdr->refresher = hdr->refresher/2; } else { hdr->refresher = hdr->refresher - 600; } /* IMS timer mod */ } else { pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); param->name = pname; param->value = pvalue; pj_list_push_back(&hdr->other_param, param); } ... Thanks in advance... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110705/03d96c6f/attachment.html>