Patent ID: 7961703

Claim:
A method for execution by a mobile device, the method comprising: measuring a timeout duration for which data inactivity over a packet protocol context causes the packet protocol context to become deactivated by a network, wherein measuring the timeout duration comprises: (a) using a timer to time inactivity over the packet protocol context: (b) upon the packet protocol context being deactivated: (i) if deactivation was not locally initiated: measuring the timeout duration based on a value of the timer; and re-activating the packet protocol context; and (ii) if deactivation was locally initiated, ignoring the value of the timer; and after the timeout duration has been measured, if the packet protocol context is active yet there has been data inactivity for a time period less than but near the timeout duration, transmitting over the packet protocol context a keep-alive packet for maintaining the packet protocol context.