[sr-dev] git:master:2161f0cc: tm: do not return if kemi callback execution fails for t_continue()

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 16 12:39:23 CEST 2020


Module: kamailio
Branch: master
Commit: 2161f0cc316af0e1153b01f327d0e7c50523060c
URL: https://github.com/kamailio/kamailio/commit/2161f0cc316af0e1153b01f327d0e7c50523060c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-04-16T12:39:02+02:00

tm: do not return if kemi callback execution fails for t_continue()

- have same behaviour as with route blocks

---

Modified: src/modules/tm/t_suspend.c

---

Diff:  https://github.com/kamailio/kamailio/commit/2161f0cc316af0e1153b01f327d0e7c50523060c.diff
Patch: https://github.com/kamailio/kamailio/commit/2161f0cc316af0e1153b01f327d0e7c50523060c.patch

---

diff --git a/src/modules/tm/t_suspend.c b/src/modules/tm/t_suspend.c
index 3ebef32e2a..4c8de42ce6 100644
--- a/src/modules/tm/t_suspend.c
+++ b/src/modules/tm/t_suspend.c
@@ -312,7 +312,6 @@ int t_continue_helper(unsigned int hash_index, unsigned int label,
 						if(sr_kemi_route(keng, faked_req, FAILURE_ROUTE, cbname,
 								&evname)<0) {
 							LM_ERR("error running event route kemi callback\n");
-							return -1;
 						}
 					} else {
 						LM_DBG("event callback (%.*s) set, but no cfg engine\n",




More information about the sr-dev mailing list