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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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",


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to