Kaynağa Gözat

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

Daniel-Constantin Mierla 7 yıl önce
ebeveyn
işleme
044cdefcad
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/core/fmsg.c

+ 1 - 1
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;