[SR-Users] during registration nonce expired, after backwards time shift

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 3 10:26:38 CEST 2015


Hello,

can you make a pull request on github with the last patch you tested? It
will be easier to merge, avoiding extra tests here -- just be sure the
commit message is formatted according to:

  * http://www.kamailio.org/wiki/devel/github-contributions

Cheers,
Daniel

On 03/09/15 09:53, Vasiliy Ganchev wrote:
> Hi!
>
> tested with:
> +		/* if current time is less than start time, reset the start time 
> +            	(e.g., after start, the system clock was set in the past) */ 
> +        	t=time(0); 
> +        	if (t < up_since) 
> +			up_since = t;
> +		if (since < t)
> +			return 4; 
> +	}
>
>
> there is no iteration with nonce expired. Is it OK? 
>
> If yes, I think we can close this discussion (will you push the changes to
> master branch?)
> Many thanks )
>
>
>
> --
> View this message in context: http://sip-router.1086192.n5.nabble.com/during-registration-nonce-expired-after-backwards-time-shift-tp140536p140976.html
> Sent from the Users mailing list archive at Nabble.com.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com




More information about the sr-users mailing list