[sr-dev] git:master:961c2b3d: tm: more explicit debug message when not matching reply to transaction
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jul 2 12:54:03 CEST 2018
Module: kamailio
Branch: master
Commit: 961c2b3df008bb6df78c2e62dc943ebacd4db9b2
URL: https://github.com/kamailio/kamailio/commit/961c2b3df008bb6df78c2e62dc943ebacd4db9b2
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-07-02T12:53:04+02:00
tm: more explicit debug message when not matching reply to transaction
---
Modified: src/modules/tm/t_lookup.c
---
Diff: https://github.com/kamailio/kamailio/commit/961c2b3df008bb6df78c2e62dc943ebacd4db9b2.diff
Patch: https://github.com/kamailio/kamailio/commit/961c2b3df008bb6df78c2e62dc943ebacd4db9b2.patch
---
diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c
index 494afd457c..dde02343cb 100644
--- a/src/modules/tm/t_lookup.c
+++ b/src/modules/tm/t_lookup.c
@@ -882,13 +882,13 @@ int t_reply_matching( struct sip_msg *p_msg , int *p_branch )
/* sanity check */
if (unlikely(reverse_hex2int(hashi, hashl, &hash_index)<0
- ||hash_index>=TABLE_ENTRIES
+ || hash_index>=TABLE_ENTRIES
|| reverse_hex2int(branchi, branchl, &branch_id)<0
|| branch_id>=sr_dst_max_branches
|| loopl!=MD5_LEN)
) {
- LM_DBG("poor reply labels %d label %d branch %d\n",
- hash_index, entry_label, branch_id );
+ LM_DBG("poor reply ids - index %d label %d branch %d loopl %d/%d\n",
+ hash_index, entry_label, branch_id, loopl, MD5_LEN);
goto nomatch2;
}
More information about the sr-dev
mailing list