Module: kamailio
Branch: 5.8
Commit: 215af59832efc6e485563b55e3af9d209121d0c5
URL: 
https://github.com/kamailio/kamailio/commit/215af59832efc6e485563b55e3af9d209121d0c5

Author: Stefan-Cristian Mititelu <stefan-cristian.mitit...@1and1.ro>
Committer: Stefan-Cristian Mititelu <stefan-cristian.mitit...@1and1.ro>
Date: 2024-04-08T12:47:20+03:00

pdb server: allow carrier id 0

(cherry-picked from commit 60ded00a3b574a08457a696334d11d668595cc0b)

---

Modified: utils/pdbt/common.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/215af59832efc6e485563b55e3af9d209121d0c5.diff
Patch: 
https://github.com/kamailio/kamailio/commit/215af59832efc6e485563b55e3af9d209121d0c5.patch

---

diff --git a/utils/pdbt/common.h b/utils/pdbt/common.h
index 2146109a29d..a014e7d97e4 100644
--- a/utils/pdbt/common.h
+++ b/utils/pdbt/common.h
@@ -36,7 +36,7 @@
  -1000..-1 used in dtm to indicate a carrier id and that no more nodes will 
follow (leaf node compression).
  -1001 used in dtm to mark a pointer to a child node as NULL.
 */
-#define MIN_PDB_CARRIERID 1
+#define MIN_PDB_CARRIERID 0
 #define MAX_PDB_CARRIERID 999
 #define OTHER_CARRIERID 1000
 #define MAX_CARRIERID 1000

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to