Re: [OpenSIPS-Users] Expires value - [ZVP-JQSVP-142]

2022-10-11 Thread Artem Fomenko via Users
Yes, it is right.

Regards,

![LiveAgent](https://www.qualityunit.com/mail/mail-logo-la.png) **Artem 
Fomenko**

**Development Team**

+421 2 33 456 826 (EU  Worldwide)

+1-888-257-8754 (USA  Canada)

[www.liveagent.com](https://www.liveagent.com/)

  

**How 
nice was my reply?**

  [![1](https://www.qualityunit.com/mail/mail-star-1.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=1)
 [![2](https://www.qualityunit.com/mail/mail-star-2.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=2)
 [![3](https://www.qualityunit.com/mail/mail-star-3.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=3)
 [![4](https://www.qualityunit.com/mail/mail-star-4.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=4)
 [![5](https://www.qualityunit.com/mail/mail-star-5.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=5)
 [![6](https://www.qualityunit.com/mail/mail-star-6.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=6)
 [![7](https://www.qualityunit.com/mail/mail-star-7.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=7)
 [![8](https://www.qualityunit.com/mail/mail-star-8.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=8)
 [![9](https://www.qualityunit.com/mail/mail-star-9.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=9)
 [![10](https://www.qualityunit.com/mail/mail-star-10.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=10)
 **Rate the answer or view the ticket history 
[here](https://support.qualityunit.com/ticket_HGFe1uycDX9XkGp8)** 




-Original message-
From: Bogdan-Andrei Iancu bog...@opensips.org
Sent: 2022-10-11 12:37:40



> Hi Artem,
>
>  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 ?
>
>  Regards,
>  ```
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com; 
> rel="noreferrer" target="_blank">https://www.opensips-solutions.com
> OpenSIPS Summit 27-30 Sept 2022, Athens
>href="https://www.opensips.org/events/Summit-2022Athens/; rel="noreferrer" 
> target="_blank">https://www.opensips.org/events/Summit-2022Athens/
> ```
>
> On 10/11/22 11:23 AM, Artem Fomenko wrote:
> 

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Expires value - [ZVP-JQSVP-142]

2022-10-11 Thread Bogdan-Andrei Iancu

Hi Artem,

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 ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 10/11/22 11:23 AM, Artem Fomenko wrote:


Hello Bogdan-Andrei,

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:


"

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.

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.

"

this is not a violation of RFC3261 Section 10.3 step 8:

"
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.

"

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.


Regards,

LiveAgent   

*Artem Fomenko*

*Development Team*

+421 2 33 456 826 (EU & Worldwide)

+1-888-257-8754 (USA & Canada)

www.liveagent.com 



*How nice was my reply?*

1 
 
	2 
 
	3 
 
	4 
 
	5 
 
	6 

Re: [OpenSIPS-Users] Expires value - [ZVP-JQSVP-142]

2022-10-11 Thread Artem Fomenko via Users
Hello Bogdan-Andrei,

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:

> "
>
> 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.
>
> 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.
>
> "

this is not a violation of RFC3261 Section 10.3 step 8:

> ```
>
> "
> 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.
> ```
>
> "

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.

Regards,

![LiveAgent](https://www.qualityunit.com/mail/mail-logo-la.png) **Artem 
Fomenko**

**Development Team**

+421 2 33 456 826 (EU  Worldwide)

+1-888-257-8754 (USA  Canada)

[www.liveagent.com](https://www.liveagent.com/)

  

**How 
nice was my reply?**

  [![1](https://www.qualityunit.com/mail/mail-star-1.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=1)
 [![2](https://www.qualityunit.com/mail/mail-star-2.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=2)
 [![3](https://www.qualityunit.com/mail/mail-star-3.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=3)
 [![4](https://www.qualityunit.com/mail/mail-star-4.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=4)
 [![5](https://www.qualityunit.com/mail/mail-star-5.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=5)
 [![6](https://www.qualityunit.com/mail/mail-star-6.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=6)
 [![7](https://www.qualityunit.com/mail/mail-star-7.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=7)
 [![8](https://www.qualityunit.com/mail/mail-star-8.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=8)
 [![9](https://www.qualityunit.com/mail/mail-star-9.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=9)
 [![10](https://www.qualityunit.com/mail/mail-star-10.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=10)
 **Rate the answer or view the ticket history 
[here](https://support.qualityunit.com/ticket_HGFe1uycDX9XkGp8)** 




-Original message-
From: Bogdan-Andrei Iancu bog...@opensips.org
Sent: 2022-10-10 16:50:42



> Hi Artem,
>
>  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 ?
>
>  Regards,
>  ```
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com; 
> rel="noreferrer" target="_blank">https://www.opensips-solutions.com
> OpenSIPS Summit 27-30 Sept 2022, Athens
>href="https://www.opensips.org/events/Summit-2022Athens/; rel="noreferrer" 
> target="_blank">https://www.opensips.org/events/Summit-2022Athens/
> ```
>
> On 9/23/22 7:15 PM, Artem Fomenko via Users 
> wrote:
> 

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Expires value - [ZVP-JQSVP-142]

2022-10-10 Thread Bogdan-Andrei Iancu

Hi Artem,

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 ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 9/23/22 7:15 PM, Artem Fomenko via Users wrote:


Hello,

I'm Artem and configuring telephony system via OpenSIPS v3.1.9. In 
outgoing REGISTER request the "expires" parameter set according 
"expiry" value in "uac_registrant" DB table. But in all subsequent 
REGISTERs "expires" value takes same as in 200 OK response on previous 
REGISTER request. Is it possible to configure OpenSIPS to use same 
"expiry" value for all subsequent REGISTER requests also?


Regards,

LiveAgent   

*Artem Fomenko*

*Development Team*

+421 2 33 456 826 (EU & Worldwide)

+1-888-257-8754 (USA & Canada)

www.liveagent.com 



*How nice was my reply?*

1 
 
	2 
 
	3 
 
	4 
 
	5 
 
	6 
 
	7 
 
	8 

[OpenSIPS-Users] Expires value - [ZVP-JQSVP-142]

2022-10-10 Thread Artem Fomenko via Users
Hello,

I'm Artem and configuring telephony system via OpenSIPS v3.1.9. In outgoing 
REGISTER request the "expires" parameter set according "expiry" value in 
"uac\_registrant" DB table. But in all subsequent REGISTERs "expires" value 
takes same as in 200 OK response on previous REGISTER request. Is it possible 
to configure OpenSIPS to use same "expiry" value for all subsequent REGISTER 
requests also?

Regards,

![LiveAgent](https://www.qualityunit.com/mail/mail-logo-la.png) **Artem 
Fomenko**

**Development Team**

+421 2 33 456 826 (EU  Worldwide)

+1-888-257-8754 (USA  Canada)

[www.liveagent.com](https://www.liveagent.com/)

  

**How 
nice was my reply?**

  [![1](https://www.qualityunit.com/mail/mail-star-1.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=1)
 [![2](https://www.qualityunit.com/mail/mail-star-2.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=2)
 [![3](https://www.qualityunit.com/mail/mail-star-3.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=3)
 [![4](https://www.qualityunit.com/mail/mail-star-4.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=4)
 [![5](https://www.qualityunit.com/mail/mail-star-5.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=5)
 [![6](https://www.qualityunit.com/mail/mail-star-6.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=6)
 [![7](https://www.qualityunit.com/mail/mail-star-7.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=7)
 [![8](https://www.qualityunit.com/mail/mail-star-8.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=8)
 [![9](https://www.qualityunit.com/mail/mail-star-9.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=9)
 [![10](https://www.qualityunit.com/mail/mail-star-10.png)](https://survey.nicereply.com/qualityunitqu/wuo5vwrn/fwuacc91?s=10)
 **Rate the answer or view the ticket history 
[here](https://support.qualityunit.com/ticket_HGFe1uycDX9XkGp8)**

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users