Module: kamailio
Branch: master
Commit: 0374a573604dfac337d69f8db38cca0e3ef30300
URL:
https://github.com/kamailio/kamailio/commit/0374a573604dfac337d69f8db38cca0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-10T16:17:49+01:00
tm: debug message when matching a skip method for transaction lookup
---
Modified: src/modules/tm/t_lookup.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0374a573604dfac337d69f8db38cca0…
Patch:
https://github.com/kamailio/kamailio/commit/0374a573604dfac337d69f8db38cca0…
---
diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c
index 19f7979ee8..63cdbcff89 100644
--- a/src/modules/tm/t_lookup.c
+++ b/src/modules/tm/t_lookup.c
@@ -412,7 +412,12 @@ static int matching_3261( struct sip_msg *p_msg, struct cell
**trans,
/* found an existing cancel for the searched transaction */
*cancel=1;
}
- if (skip_method & t_msg->REQ_METHOD) continue;
+ if (skip_method & t_msg->REQ_METHOD) {
+ LM_DBG("matched skip method - s:0x%x t:0x%x m:0x%x -"
+ " continue searching\n",
+ skip_method, t_msg->REQ_METHOD, p_msg->REQ_METHOD);
+ continue;
+ }
}
found:
prefetch_w(p_cell); /* great chance of modifiying it */
@@ -433,7 +438,8 @@ static int matching_3261( struct sip_msg *p_msg, struct cell **trans,
*trans=e2e_ack_trans;
return 2;
}
- LM_DBG("RFC3261 transaction matching failed\n");
+ LM_DBG("RFC3261 transaction matching failed - via branch [%.*s]\n",
+ via1->branch->value.len, via1->branch->value.s);
return 0;
}