[sr-dev] git:5.1:552d90b8: core: fake msg - added sip schema to From/To URIs

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 19 08:35:37 CEST 2018


Module: kamailio
Branch: 5.1
Commit: 552d90b8a0c649917eedf7a6af47f03980b7b77f
URL: https://github.com/kamailio/kamailio/commit/552d90b8a0c649917eedf7a6af47f03980b7b77f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-10-19T08:29:18+02:00

core: fake msg - added sip schema to From/To URIs

(cherry picked from commit 044cdefcadf5c7949945544dce30becb2d84c56e)

---

Modified: src/core/fmsg.c

---

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

---

diff --git a/src/core/fmsg.c b/src/core/fmsg.c
index fa948f4bbe..9a84954f0b 100644
--- a/src/core/fmsg.c
+++ b/src/core/fmsg.c
@@ -28,7 +28,7 @@
 
 #include "fmsg.h"
 
-#define FAKED_SIP_MSG "OPTIONS sip:you at kamailio.org SIP/2.0\r\nVia: SIP/2.0/UDP 127.0.0.1\r\nFrom: <you at kamailio.org>;tag=123\r\nTo: <you at kamailio.org>\r\nCall-ID: 123\r\nCSeq: 1 OPTIONS\r\nContent-Length: 0\r\n\r\n"
+#define FAKED_SIP_MSG "OPTIONS sip:you at kamailio.org SIP/2.0\r\nVia: SIP/2.0/UDP 127.0.0.1\r\nFrom: <sip:you at kamailio.org>;tag=123\r\nTo: <sip:you at kamailio.org>\r\nCall-ID: 123\r\nCSeq: 1 OPTIONS\r\nContent-Length: 0\r\n\r\n"
 #define FAKED_SIP_MSG_LEN (sizeof(FAKED_SIP_MSG)-1)
 static char _faked_sip_buf[FAKED_SIP_MSG_LEN+1];
 static struct sip_msg _faked_msg;




More information about the sr-dev mailing list