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

hydrosine notifications at github.com
Tue Jul 22 11:10:11 CEST 2014


The MI dr_reload command does not pick up on any DB changes relating to the state column.

how to replicate:
Opensips 1.11 from apt.
Fill dr_gateways with at least 2 destinations, set both states to 0.
Start opensips, dr_gw_status should show both as enabled.
Change one state in DB to 1.
do the MI dr_reload, and check with dr_gw_status.

Both should still be enabled now! While i expected one to be disabled now.

Do opensips restart,

Now it has picked up on the change. One should be disabled. and one enabled.
Change states in DB again, and do dr_reload.
Again no change. Only after an Opensips reload.

Removing the record, dr_reload and adding the record with a different state, dr_reload. also works.

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


More information about the Devel mailing list