Hi,
Just a small patch to synchronize the name of the expired contact event to the documentation.
Documentation refers to ‘usrloc:contact-expired’, the registrar code to ‘usrloc:expired-contact’.
I thought it was easier to update the code rather than all the documentation.
if(ul.register_ulcb != NULL)
{
- reg_expire_event_rt = route_lookup(&event_rt, "usrloc:expired-contact");
+ reg_expire_event_rt = route_lookup(&event_rt, "usrloc:contact-expired");
if (reg_expire_event_rt>=0 && event_rt.rlist[reg_expire_event_rt]==0)
reg_expire_event_rt=-1; /* disable */
Regards,
Giacomo