Module: kamailio Branch: master Commit: b49b56614db5e5d32ba415755bdac75478cc08f2 URL: https://github.com/kamailio/kamailio/commit/b49b56614db5e5d32ba415755bdac754...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/b49b56614db5e5d32ba415755bdac754... Patch: https://github.com/kamailio/kamailio/commit/b49b56614db5e5d32ba415755bdac754...
---
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;