Module: kamailio
Branch: master
Commit: 5192377be91a09b48476944b05c3ec182758e88c
URL: https://github.com/kamailio/kamailio/commit/5192377be91a09b48476944b05c3ec1…
Author: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Date: 2015-12-10T14:21:12+02:00
rtpengine: Add db 'disabled' column
Able to load rtp nodes state from database.
Add "disabled" column with disabled_col modparam:
- if disabled != 0, disable the node permanent
(similar to disabling it manually using kamctl fifo command)
- if disabled == 0, keep the current behaviour
(set ticks to 0, ping and disable temporary in case the node is not responding)
---
Modified: modules/rtpengine/doc/rtpengine_admin.xml
Modified: modules/rtpengine/rtpengine.c
Modified: modules/rtpengine/rtpengine.h
Modified: modules/rtpengine/rtpengine_db.c
---
Diff: https://github.com/kamailio/kamailio/commit/5192377be91a09b48476944b05c3ec1…
Patch: https://github.com/kamailio/kamailio/commit/5192377be91a09b48476944b05c3ec1…
- Add 'disabled' and 'weight' column name
- Add kamctl fifo nh_reload_rtpp command to reload nodes from db table (update state or add new ones; does not delete the nodes that are not in the table anymore)
- Add sanity URL checks. Ignore URL weight for database nodes; consider the one from the column
- Add rtpengine DB doku, db-tables doku and table creation scripts
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/429
-- Commit Summary --
* rtpengine: Add db 'disabled' column
* rtpengine: Add setid_col modparam
* rtpengine: Update doku for rtpengine database
* rtpengine: Add setid_default modparam
* rtpengine: Add kamctl nh_reload_rtpp
* rtpengine: Check set uniqueness for rtpp node
* rtpengine: Add db 'weight' column
* rtpengine: Update kamailio-db-devel .xml
* rtpengine: Check node address when adding to set
* rtpengine: Update kamailio-db-devel db scripts
-- File Changes --
A lib/srdb1/schema/kamailio-rtpengine.xml (12)
A lib/srdb1/schema/rtpengine.xml (60)
M modules/rtpengine/doc/rtpengine_admin.xml (212)
M modules/rtpengine/rtpengine.c (207)
M modules/rtpengine/rtpengine.h (9)
M modules/rtpengine/rtpengine_db.c (32)
A utils/kamctl/db_berkeley/kamailio/rtpengine (10)
M utils/kamctl/db_berkeley/kamailio/version (2)
A utils/kamctl/db_sqlite/rtpengine-create.sql (9)
A utils/kamctl/dbtext/kamailio/rtpengine (1)
M utils/kamctl/dbtext/kamailio/version (1)
A utils/kamctl/mysql/rtpengine-create.sql (9)
A utils/kamctl/oracle/rtpengine-create.sql (17)
A utils/kamctl/postgres/rtpengine-create.sql (9)
M utils/kamctl/xhttp_pi/pi_framework.xml (32)
A utils/kamctl/xhttp_pi/rtpengine-mod (23)
A utils/kamctl/xhttp_pi/rtpengine-table (9)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/429.patchhttps://github.com/kamailio/kamailio/pull/429.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/429