[sr-dev] git:master:238c5d70: core: events - fix the field name for SREV_SIP_REPLY_OUT

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 24 13:07:54 CEST 2020


Module: kamailio
Branch: master
Commit: 238c5d70a472cf7903bac09c04581c37323afd55
URL: https://github.com/kamailio/kamailio/commit/238c5d70a472cf7903bac09c04581c37323afd55

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-06-24T13:04:11+02:00

core: events - fix the field name for SREV_SIP_REPLY_OUT

---

Modified: src/core/events.c

---

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

---

diff --git a/src/core/events.c b/src/core/events.c
index ebe47ee4b1..91df673996 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -327,7 +327,7 @@ int sr_event_exec(int type, sr_event_param_t *evp)
 					return ret;
 				} else return 1;
 		case SREV_SIP_REPLY_OUT:
-				if(unlikely(_sr_events_list.net_data_in[0]!=0))
+				if(unlikely(_sr_events_list.sip_reply_out[0]!=0))
 				{
 					ret = 0;
 					for(i=0; i<SREV_CB_LIST_SIZE




More information about the sr-dev mailing list