[OpenSIPS-Users] what to reset after crash
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Oct 13 10:02:29 EDT 2017
Hi Robert,
Of course, if opensips is down for a long time, the BYE will be miss, so
you will end up with a zombie call. Still, even such a call will be
expired by OpenSIPS after the "call lifetime max duration". Or, if you
consider that the downtime was too long, purge the dialog table before
start.
The DB persistence (for dialog) is for restarts. Usually you should
avoid long term downtimes.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 09/12/2017 04:01 PM, Mundkowsky, Robert wrote:
>
> I am running a single openSIPS instance. I noticed if there is a
> dialog and openSIPS crashes then the dialog state is still set to
> active for a load balancer destination even if the call ended when
> openSIPS was down.
>
> I am guessing db_mode should be set to 0 for all modules (e.g. dialog)
> if you run a single openSIPS instance? Or are there some settings
> that need to be reset after a crash?
>
> In other words, saving the states of modules in the database is only a
> good idea if openSIPS is run in a cluster where hopefully there is at
> least one instance up all the time.
>
> Robert
>
>
> ------------------------------------------------------------------------
>
> This e-mail and any files transmitted with it may contain privileged
> or confidential information. It is solely for use by the individual
> for whom it is intended, even if addressed incorrectly. If you
> received this e-mail in error, please notify the sender; do not
> disclose, copy, distribute, or take any action in reliance on the
> contents of this information; and delete it from your system. Any
> other use of this e-mail is prohibited.
>
>
> Thank you for your compliance.
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
> 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/20171013/a653fca9/attachment.html>
More information about the Users
mailing list