Module: kamailio
Branch: master
Commit: 60ded00a3b574a08457a696334d11d668595cc0b
URL:
https://github.com/kamailio/kamailio/commit/60ded00a3b574a08457a696334d11d6…
Author: Stefan-Cristian Mititelu <stefan-cristian.mititelu(a)1and1.ro>
Committer: Stefan-Cristian Mititelu <stefan-cristian.mititelu(a)1and1.ro>
Date: 2024-04-08T11:35:38+03:00
pdb server: allow carrier id 0
---
Modified: utils/pdbt/common.h
---
Diff:
https://github.com/kamailio/kamailio/commit/60ded00a3b574a08457a696334d11d6…
Patch:
https://github.com/kamailio/kamailio/commit/60ded00a3b574a08457a696334d11d6…
---
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