[sr-dev] git:master:044cdefc: core: fake msg - added sip schema to From/To URIs

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


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

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

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

---

Modified: src/core/fmsg.c

---

Diff:  https://github.com/kamailio/kamailio/commit/044cdefcadf5c7949945544dce30becb2d84c56e.diff
Patch: https://github.com/kamailio/kamailio/commit/044cdefcadf5c7949945544dce30becb2d84c56e.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