[pjsip] Register interval

Benny Prijono bennylp at pjsip.org
Tue Sep 11 05:06:28 EDT 2007


Philippe wrote:
> Hi Benny,
> 
> By examinig the way the client registration is implemented, we found 
> that the tsx_callback function of sip_reg.c file examines all the 
> contacts to determine the expiration interval. According to RFC 3261, 
> this is not correct as only the contact that was registered by the 
> client should be considered. This cause some troubles when others UA 
> have registered the same AOR:
> 
> -          The registration is refreshed too early as the interval taken 
> is the minimum of all the bindings and the expiration parameter of the 
> reg_c callback is incorrect too
> 
> -          The expiration parameter of the reg_c callback indicates a 
> non-null values for the unregister callback, as others bindings remains. 
> This prevents the application or pjsua layer to correctly determine that 
> we are unregistered.
> 
> What is your thinking about this?

Sorry for the late reply. I've just fixed this in 
http://www.pjsip.org/trac/ticket/371.

thanks!
  -benny






More information about the pjsip mailing list