[OpenSIPS-Users] registrar contact delete
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jan 19 12:21:28 CET 2016
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" <bogdan at opensips.org
> <mailto:bogdan at opensips.org>> 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 at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160119/ab9b54ad/attachment.htm>
More information about the Users
mailing list