[OpenSIPS-Users] TCP AORs and db_mode 1/2/3
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Feb 8 12:02:40 CET 2010
Hi Brian,
opensipslist at encambio.com wrote:
> Hello list,
>
> Thinking today about why my messages are sometimes routed to
> nonexistent TCP endpoints, I came upon the following idea:
>
> It seems that if the usrloc db_mode is anything but 0,
> then TCP AORs could be read from the database after a
> crash. This can't work because once OpenSIPS stops,
> the TCP connections are destroyed. They aren't reusable
> again, because routers and firewalls would block the
> connections that OpenSIPS tries to reestablish.
>
> First of all, is that right?
>
That is correct.
> If so, then for what reason are the db_modes 1, 2, and 3
> even useful at all? For UDP-only systems, right?
>
not really. Even if the TCP conn is lost while the registration still
valid, the conn can be re-established from the client side (like the
client placing a call).
Regards,
Bogdan
> Regards,
> Brian
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list