Module: kamailio
Branch: master
Commit: 533324e21ee48c680ebf7505ce37b2503810d874
URL: 
https://github.com/kamailio/kamailio/commit/533324e21ee48c680ebf7505ce37b2503810d874

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-08-12T08:49:19+02:00

dispatcher: print the flags and priority in the debug message

---

Modified: src/modules/dispatcher/dispatch.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/533324e21ee48c680ebf7505ce37b2503810d874.diff
Patch: 
https://github.com/kamailio/kamailio/commit/533324e21ee48c680ebf7505ce37b2503810d874.patch

---

diff --git a/src/modules/dispatcher/dispatch.c 
b/src/modules/dispatcher/dispatch.c
index 3a42b26eb25..9aac29e2f79 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -823,7 +823,8 @@ ds_dest_t *add_dest2list(int id, str uri, int flags, int 
priority, str *attrs,
                }
        }
 
-       LM_DBG("dest [%d/%d] <%.*s>\n", sp->id, sp->nr, dp->uri.len, dp->uri.s);
+       LM_DBG("dest [%d/%d] <%.*s> (%d %d)\n", sp->id, sp->nr, dp->uri.len,
+                       dp->uri.s, dp->flags, dp->priority);
 
        return dp;
 error:

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to