[sr-dev] git:master:b49b5661: core: extend onsend structure to include runtime mode and reply code

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 18 17:11:13 CEST 2020


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-06-18T15:38:53+02:00

core: extend onsend structure to include runtime mode and reply code

- runtime mode to be set to local or network traffic on specific cases

---

Modified: src/core/onsend.h

---

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

---

diff --git a/src/core/onsend.h b/src/core/onsend.h
index e435a27f0a..7913e7dda4 100644
--- a/src/core/onsend.h
+++ b/src/core/onsend.h
@@ -42,6 +42,8 @@ typedef struct onsend_info{
 	char* buf;                      /* outgoing buffer */
 	int len;                        /* outgoing buffer len */
 	sip_msg_t *msg;                 /* original sip msg struct */
+	int rmode;                      /* runtime execution mode */
+	int rplcode;                    /* reply code */
 } onsend_info_t;
 
 extern onsend_info_t* p_onsend;




More information about the sr-dev mailing list