Module: kamailio
Branch: master
Commit: 5551cd4182ebee964bcbd8c9034ac2557352d8f8
URL: 
https://github.com/kamailio/kamailio/commit/5551cd4182ebee964bcbd8c9034ac2557352d8f8

Author: Xenofon Karamanos <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-01-19T17:06:50+01:00

dispatcher: reflect ds_load_mode=1 on dst reload

If ds_load_mode is set to 1, a failing destination address is skipped
without causing total failure of the reload operation - thus avoid
signaling general "failure" on destination reload in this case.

---

Modified: src/modules/dispatcher/dispatch.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/5551cd4182ebee964bcbd8c9034ac2557352d8f8.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5551cd4182ebee964bcbd8c9034ac2557352d8f8.patch

---

diff --git a/src/modules/dispatcher/dispatch.c 
b/src/modules/dispatcher/dispatch.c
index d53bea6ad37..45eea9e125b 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -1328,6 +1328,7 @@ int ds_reload_db(void)
        ret = ds_load_db();
        if(ret == -2) {
                LM_WARN("failure while loading one or more dispatcher 
entries\n");
+               ret = 0;
        }
        ds_disconnect_db();
 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to