Re: [OpenSIPS-Users] registrar contact delete

2016-01-19 Thread Bogdan-Andrei Iancu

Hi Tito,

What do you understand by socket ?? The TCP connection ? or ?

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 15.01.2016 22:56, Tito Cumpen wrote:

Group,

I am currently using a max contact param within the registrar module. 
I am using if (!save("location","f")) to force the new 
registration the case that the max has been reached.It appears that 
the oldest registration is deleted. Will the respective socket to the 
deleted contact be closed after the contact has been deleted ? Or will 
it linger until the previous registration expiry time concludes?



Thanks,
Tito


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


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


Re: [OpenSIPS-Users] registrar contact delete

2016-01-19 Thread Tito Cumpen
Bogdan,

Yea will the server close tcp connection to the client if the record is
replace as I mentioned ?

Thanks,
Tito
On Jan 19, 2016 5:24 AM, "Bogdan-Andrei Iancu"  wrote:

> Hi Tito,
>
> What do you understand by socket ?? The TCP connection ? or ?
>
> Best regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 15.01.2016 22:56, Tito Cumpen wrote:
>
> Group,
>
> I am currently using a max contact param within the registrar module. I am
> using  if (!save("location","f")) to force the new
> registration the case that the max has been reached.It appears that the
> oldest registration is deleted. Will the respective socket to the deleted
> contact be closed after the contact has been deleted ? Or will it linger
> until the previous registration expiry time concludes?
>
>
> Thanks,
> Tito
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] registrar contact delete

2016-01-19 Thread Bogdan-Andrei Iancu
There is no 1 to 1 relation between calls/registration (or generic SIP 
elements) and the TCP connections - a TCP conn may be used by multiple 
such SIP elements.


A TCP conn is closed by opensips if there is no traffic on it for 
certain amount of time.


Do you use the "tcp_persistent_flag" ?
http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id293556

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 19.01.2016 13:02, Tito Cumpen wrote:


Bogdan,

Yea will the server close tcp connection to the client if the record 
is replace as I mentioned ?


Thanks,
Tito

On Jan 19, 2016 5:24 AM, "Bogdan-Andrei Iancu" > wrote:


Hi Tito,

What do you understand by socket ?? The TCP connection ? or ?

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 15.01.2016 22:56, Tito Cumpen wrote:

Group,

I am currently using a max contact param within the registrar
module. I am using   if (!save("location","f")) to force
the new registration the case that the max has been reached.It
appears that the oldest registration is deleted. Will the
respective socket to the deleted contact be closed after the
contact has been deleted ? Or will it linger until the previous
registration expiry time concludes?


Thanks,
Tito


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




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


[OpenSIPS-Users] registrar contact delete

2016-01-15 Thread Tito Cumpen
Group,

I am currently using a max contact param within the registrar module. I am
using  if (!save("location","f")) to force the new
registration the case that the max has been reached.It appears that the
oldest registration is deleted. Will the respective socket to the deleted
contact be closed after the contact has been deleted ? Or will it linger
until the previous registration expiry time concludes?


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