Browse code

core: events - return once SREV_SIP_REPLY_OUT callbacks are executed

(cherry picked from commit 1910432ce3af56af1e6d4c4c124c2af2925c5b9a)

Daniel-Constantin Mierla authored on 08/09/2020 11:08:01
Showing 1 changed files
... ...
@@ -334,6 +334,7 @@ int sr_event_exec(int type, sr_event_param_t *evp)
334 334
 							&& _sr_events_list.sip_reply_out[i]; i++) {
335 335
 						ret |= _sr_events_list.sip_reply_out[i](evp);
336 336
 					}
337
+					return ret;
337 338
 				} else return 1;
338 339
 		default:
339 340
 			return -1;