biddyweb / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
2 stars 1 forks source link

Reregistration bad interval in case registry expiration is over 1200 #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Register client with IMS CN (default Expires in REGISTER is 3600)
Condition - expires (Expires) in 200OK is bigger than 1200
2. Wait for reregistration
3. Note interval between initial registration and reregistration.

What is the expected output? What do you see instead?
Reregistration should happen "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". Instead registration is sent always after half of the time has expired.

What version of the product are you using? On what operating system?
2.3.4, Android 2.3.3

Please provide any additional information below.
According to TS 24.229, 5.1.1.4 User-initiated reregistration and registration 
of an additional public user identity
(…)
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, 
or when the UE intends to update its capabilities according to RFC 3840 [62] or 
when the UE needs to modify the ICSI values that the UE intends to use in a 
g.3gpp.icsi-ref media feature tag or IARI values that the UE intends to use in 
the g.3gpp.iari-ref media feature tag.
(…)

Original issue reported on code.google.com by pkurp...@gmail.com on 30 Dec 2011 at 10:11

GoogleCodeExporter commented 9 years ago

Original comment by jmauffret@gmail.com on 10 Jan 2012 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by jmauffret@gmail.com on 12 Jan 2012 at 4:12