Module: kamailio
Branch: master
Commit: afe84defa4ab391064c266e15f557415c5249f7c
URL:
https://github.com/kamailio/kamailio/commit/afe84defa4ab391064c266e15f55741…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-11T17:28:09+01:00
tm: log message if starting cancel retransmission fails
---
Modified: src/modules/tm/t_cancel.c
---
Diff:
https://github.com/kamailio/kamailio/commit/afe84defa4ab391064c266e15f55741…
Patch:
https://github.com/kamailio/kamailio/commit/afe84defa4ab391064c266e15f55741…
---
diff --git a/src/modules/tm/t_cancel.c b/src/modules/tm/t_cancel.c
index 69fdb9f77e..170330395c 100644
--- a/src/modules/tm/t_cancel.c
+++ b/src/modules/tm/t_cancel.c
@@ -527,7 +527,9 @@ unsigned int t_uac_cancel( str *headers, str *body,
LM_ERR("send failed\n");
goto error1;
}
- start_retr(cancel);
+ if(start_retr(cancel)!=0) {
+ LM_CRIT("failed to start retransmission for cancel %p\n", cancel);
+ }
/* </start_sending> */
return ret;