[OpenSIPS-Devel] [opensips] DRouting module, dr_reload does not pick up on state column. (#275)

Bogdan Andrei IANCU notifications at github.com
Thu Jul 24 10:49:37 CEST 2014


@hydrosine , actually it is not a bug, but a not well documented behavior.  During reload, the module tries to preserve the state it has in-memory - which is normal, as the master copy of the state info is in memory ; Imagine the scenario where you have in DB state "enabled", you start opensips and after some time you get a GW disabled (by MI or probing) - following a dr_reload, you do not want to have the in-memory state affected (but to stay disabled, even in DB is the original enabled).
So, your usage scenario is not correct. IF you want to change the state , do it via the MI command -> this will change both in-memory and the DB value. 

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/275#issuecomment-49982381
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140724/79dd3934/attachment.htm>


More information about the Devel mailing list