Module: kamailio
Branch: 5.4
Commit: c7a07121012b23299331b22426852d9af534582f
URL: 
https://github.com/kamailio/kamailio/commit/c7a07121012b23299331b22426852d9af534582f

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2020-09-08T13:09:10+02:00

core: events - return once SREV_SIP_REPLY_OUT callbacks are executed

(cherry picked from commit 1910432ce3af56af1e6d4c4c124c2af2925c5b9a)

---

Modified: src/core/events.c

---

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

---

diff --git a/src/core/events.c b/src/core/events.c
index 91df673996..d48d7a7819 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -334,6 +334,7 @@ int sr_event_exec(int type, sr_event_param_t *evp)
                                                        && 
_sr_events_list.sip_reply_out[i]; i++) {
                                                ret |= 
_sr_events_list.sip_reply_out[i](evp);
                                        }
+                                       return ret;
                                } else return 1;
                default:
                        return -1;


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

Reply via email to