Hi Bill,
I'm not sure I understand the relationship between the |nc| value in the
|auth| header and the right time for re-registration...?
The information about remaining registration lifetime is normally found
in the |expires| parameter of the Contact uri in the |200| response to
the |REGISTER| request.
You can extract this value from there using |ereg |into a variable,
multiply it by 500 and store the result into another variable which you
then use in the pause statement ( |<pause variable=re_reg_timer/>| ).
500 because the value extracted from the Contact parameter is in seconds
and pause expects milliseconds, but the re-registration request is
usually sent at 1/2 of the remaining registration lifetime.
Pavel
Dne 9.3.2017 v 21:33 William Shiau napsal(a):
Hi,
Does anyone have the "Re-registration by SIPp" script using MD5 ???
I.e. How will SIPp generate the "Re-registration" after certain time
period (nc=0000002 in the Auth header)...
Bill
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users