Module: kamailio
Branch: 5.6
Commit: 2a6f18aaf08d87c71c530a14ebae17d211ae8a25
URL:
https://github.com/kamailio/kamailio/commit/2a6f18aaf08d87c71c530a14ebae17d…
Author: Stefan-Cristian Mititelu <stefan-cristian.mititelu(a)1and1.ro>
Committer: Stefan-Cristian Mititelu <stefan-cristian.mititelu(a)1and1.ro>
Date: 2024-04-08T12:46:21+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/2a6f18aaf08d87c71c530a14ebae17d…
Patch:
https://github.com/kamailio/kamailio/commit/2a6f18aaf08d87c71c530a14ebae17d…
---
diff --git a/utils/pdbt/common.h b/utils/pdbt/common.h
index 7d121430f1b..e10e2d11658 100644
--- a/utils/pdbt/common.h
+++ b/utils/pdbt/common.h
@@ -32,7 +32,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