Module: kamailio Branch: master Commit: 044cdefcadf5c7949945544dce30becb2d84c56e URL: https://github.com/kamailio/kamailio/commit/044cdefcadf5c7949945544dce30becb2d84c56e
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> 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:[email protected] SIP/2.0\r\nVia: SIP/2.0/UDP 127.0.0.1\r\nFrom: <[email protected]>;tag=123\r\nTo: <[email protected]>\r\nCall-ID: 123\r\nCSeq: 1 OPTIONS\r\nContent-Length: 0\r\n\r\n" +#define FAKED_SIP_MSG "OPTIONS sip:[email protected] SIP/2.0\r\nVia: SIP/2.0/UDP 127.0.0.1\r\nFrom: <sip:[email protected]>;tag=123\r\nTo: <sip:[email protected]>\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; _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
