<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Artem,<br>
<br>
I see - so at each re-registration cycle you loose 1 secs,
dropping from the 120 provisioned all the way the minimum of
29...., right ?<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2022Athens/">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div class="moz-cite-prefix">On 10/11/22 11:23 AM, Artem Fomenko
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:18454055_fwuacc91@support.qualityunit.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hello Bogdan-Andrei,</p>
<p>I have a conversation with VoIP provider, he decrease "expires"
time by 1 sec on each registration from 120 sec (our expiry
value) to 29 sec (according 30 sec - minimal provider's value).
So registration become to process too often. It is not make any
problems for now. The provider motivates its behavior by the
following:</p>
<blockquote>
<p>"</p>
<p>In fact, this is the time left to the end of the
registration, which is indicated in the "expires" parameter
sent in our 200 OK. "The time left to the end of the
registration" was my interpretation, but I think it's a
reasonable one. When your side requests "expires=120", our
side honors this request, but due to the actual record in the
location registrar occurring milliseconds later, the required
"expires" time becomes 119. <br>
<br>
Imagine that a bigger delay happens between receiving INVITE
and the actual recording to the location registrar, let's say
about 2 seconds. In this case, if 200 OK was generated with
"expires=120" and sent 2 seconds later after receiving the
first INVITE, your side would think that the registration ends
2 seconds later than actually it was requested.</p>
<p>"</p>
</blockquote>
<p> </p>
<p>this is not a violation of RFC3261 Section 10.3 step 8:</p>
<blockquote>
<pre>"
The registrar returns a 200 (OK) response. The response MUST contain Contact header field values enumerating all current bindings. Each Contact value MUST feature an "expires" parameter indicating its expiration interval chosen by the registrar.</pre>
<p>"</p>
</blockquote>
<p>But in my opinion, the interpretation of the provider is not
entirely correct. Despite this, I would like to know your
opinion on this issue.</p>
<p>Regards,</p>
<table style="border: 0; font-family: 'Helvetica', sans-serif;
font-size: 13px; line-height: 20px;">
<tbody>
<tr>
<td style="width: 95px; padding-right: 15px;"><img
alt="LiveAgent"
src="https://www.qualityunit.com/mail/mail-logo-la.png"
style="width: 100%; height: auto;"
moz-do-not-send="true"></td>
<td style="width: 250px; padding-left: 15px; border-left:
3px solid #F6921E;">
<p style="margin: 0;"><span style="font-size:
16px;font-family:'Poppins',sans-serif"><strong>Artem
Fomenko</strong></span></p>
<p style="margin: 0;"><span style="font-size:
12px;font-weight:
500;font-family:'Poppins',sans-serif"><strong>Development
Team</strong></span></p>
<p style="margin: 0;"> </p>
<p style="margin: 0;font-size:
11px;font-family:'Poppins',sans-serif;line-height: 1.5;">+421
2 33 456 826 (EU & Worldwide)</p>
<p style="line-height: 1.5;margin: 0;font-size:
11px;font-family:'Poppins',sans-serif">+1-888-257-8754
(USA & Canada)</p>
<p style="line-height: 1.5;margin: 0;font-size:
11px;font-family:'Poppins',sans-serif; "><a
href="https://mandrillapp.com/track/click/31141827/www.liveagent.com?p=eyJzIjoiNVY3bUczMHNFUVR5eHRJNF8wcDJJVGRVelFVIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3d3dy5saXZlYWdlbnQuY29tXFxcL1wiLFwiaWRcIjpcImZmYzkxOWU5ZTM1ZTQ2OTg4ZDAxN2I1NDk5YzI1YzBlXCIsXCJ1cmxfaWRzXCI6W1wiMWE5YWE2OGRhMDk4NmJjYmZkOTY4OWZjOGM3NDcyMTRmNGQ2Y2U1ZlwiXX0ifQ"
style="text-decoration: none;color: #F6921E;"
moz-do-not-send="true">www.liveagent.com</a></p>
</td>
</tr>
</tbody>
</table>
<table style="border: 0; font-family: 'Helvetica', sans-serif;
font-size: 12px; line-height: 20px;">
<tbody>
<tr style="width: 350px;">
<td colspan="10">
<p style="margin: 15px 0 0 0; font-size: 12px;"><strong>How
nice was my reply?</strong></p>
</td>
</tr>
<tr style="width: 350px;">
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoiN0t4TFY3T2xvcm5sNHFQZmxQM1NDRk1DaVRzIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz0xXCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="1"
src="https://www.qualityunit.com/mail/mail-star-1.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoicTAyYnJnd2c3cW9xV1R2Q2hMbmhJQnpXcW1FIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz0yXCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="2"
src="https://www.qualityunit.com/mail/mail-star-2.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoielM5ZWV1UTJ3VzRONkJmME9nT1RwU2lUbkFBIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz0zXCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="3"
src="https://www.qualityunit.com/mail/mail-star-3.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoibWF5bmNzQkZIUi1uaUJCZzBLUmxONVY5SEE0IiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz00XCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="4"
src="https://www.qualityunit.com/mail/mail-star-4.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoiVW9yaTM0ZGJrTkpnOUdOVExuUDhtTWhqNGRjIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz01XCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="5"
src="https://www.qualityunit.com/mail/mail-star-5.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoid2Z1WTRUTzNtTG1JZWtjMTA0QVNyVFBKOVJvIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz02XCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="6"
src="https://www.qualityunit.com/mail/mail-star-6.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoiZ3V1cm82ZnBRUThwWHMzS0pCYTlzMW53TjBzIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz03XCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="7"
src="https://www.qualityunit.com/mail/mail-star-7.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoicjE4Z1psNFdEeUJWLW4wYzM0S3pEUTIzUUxNIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz04XCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="8"
src="https://www.qualityunit.com/mail/mail-star-8.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoiNHZMWGQzZ1pGNTdDTmtseHNEX01FejBmaWk4IiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz05XCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI3MjAwNGI3M2Q2MjJlY2M4ZDFjZTliMWUzMDdhYTU1ODMzZDFjNDE2XCJdfSJ9"
target="_blank" moz-do-not-send="true"><img alt="9"
src="https://www.qualityunit.com/mail/mail-star-9.png"
moz-do-not-send="true"></a></td>
<td style="display: inline-block; margin: 0;"><a
href="https://mandrillapp.com/track/click/31141827/survey.nicereply.com?p=eyJzIjoidjhtQUxwNWlLVDlVU0hnblNUbU53bGgwbDZZIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cnZleS5uaWNlcmVwbHkuY29tXFxcL3F1YWxpdHl1bml0cXVcXFwvd3VvNXZ3cm5cXFwvZnd1YWNjOTE_cz0xMFwiLFwiaWRcIjpcImZmYzkxOWU5ZTM1ZTQ2OTg4ZDAxN2I1NDk5YzI1YzBlXCIsXCJ1cmxfaWRzXCI6W1wiNzIwMDRiNzNkNjIyZWNjOGQxY2U5YjFlMzA3YWE1NTgzM2QxYzQxNlwiXX0ifQ"
target="_blank" moz-do-not-send="true"><img alt="10"
src="https://www.qualityunit.com/mail/mail-star-10.png"
moz-do-not-send="true"></a></td>
</tr>
<tr colspan="10" style="width: 350px;">
<td style="margin: 15px 0 5px 0; font-size: 11px;"><strong>Rate
the answer or view the ticket history <a
href="https://mandrillapp.com/track/click/31141827/support.qualityunit.com?p=eyJzIjoiRUJUTFhOMGF4Z3Z0a3Atb2xGTlZweHlUVWY0IiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3N1cHBvcnQucXVhbGl0eXVuaXQuY29tXFxcL3RpY2tldF9IR0ZlMXV5Y0RYOVhrR3A4XCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCI5YTBkNGI5MzYwMGExOGRkYTU0YzMzNDc1OTg1M2NhMzFmM2U4MTdmXCJdfSJ9"
moz-do-not-send="true">here</a></strong></td>
</tr>
</tbody>
</table>
<br>
<br>
-----Original message-----<br>
From: Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
Sent: 2022-10-10 16:50:42<br>
<br>
<br>
<br>
<blockquote style="border-left: 1px solid #BBBBBB; margin-left:
5px; padding-left: 10px;">
<font face="monospace">Hi Artem,<br>
<br>
This is the intended behavior of the module, re-register with
the last "expires" provided by the server - if the server had
a good reason to lower the registration time on first
register, it will most probably do it for the re-register's
also. So does not make too much of a sense to keep using the
initial DB value - or do you have some good reason not to
update ?<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://mandrillapp.com/track/click/31141827/www.opensips-solutions.com?p=eyJzIjoiZ3oyQlR0R3hqS0xvZXlmS0c4M29uV1F6YVgwIiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3d3dy5vcGVuc2lwcy1zb2x1dGlvbnMuY29tXCIsXCJpZFwiOlwiZmZjOTE5ZTllMzVlNDY5ODhkMDE3YjU0OTljMjVjMGVcIixcInVybF9pZHNcIjpbXCIyOTkxZjBmNWMwYjFjYmEzNDQ1YjdlYjY4ZjUxNjc3NGVmNTU3ZjZlXCJdfSJ9" class="moz-txt-link-freetext" target="_blank" rel="noreferrer" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a href="https://mandrillapp.com/track/click/31141827/www.opensips.org?p=eyJzIjoibTJ0YUhFY0MzbDRxZXR0M1dIb1R3d1QtVkd3IiwidiI6MSwicCI6IntcInVcIjozMTE0MTgyNyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL3d3dy5vcGVuc2lwcy5vcmdcXFwvZXZlbnRzXFxcL1N1bW1pdC0yMDIyQXRoZW5zXFxcL1wiLFwiaWRcIjpcImZmYzkxOWU5ZTM1ZTQ2OTg4ZDAxN2I1NDk5YzI1YzBlXCIsXCJ1cmxfaWRzXCI6W1wiZmYyZTkzZDM2OGFmM2MyYTUzYmNhMjE0ZDAxNjRiZTE1NjU4YmYwYVwiXX0ifQ" class="moz-txt-link-freetext" target="_blank" rel="noreferrer" moz-do-not-send="true">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div class="moz-cite-prefix">On 9/23/22 7:15 PM, Artem Fomenko
via Users wrote:<br>
</div>
<br>
</blockquote>
<img
src="https://mandrillapp.com/track/open.php?u=31141827&id=ffc919e9e35e46988d017b5499c25c0e"
moz-do-not-send="true" width="1" height="1">
</blockquote>
<br>
</body>
</html>