<div dir="ltr">Hi Alain,<div><br></div><div>Thank you for your suggestion.</div><div>I will update cfg and get back with results.<br></div><div><br></div><div>Do i need to upgrade opensips to 2.4 as well?</div><div> </div><div> <br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445</span></span></font></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 9 Aug 2018 at 17:35, Alain Bieuzent <<a href="mailto:alain.bieuzent@free.fr">alain.bieuzent@free.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div class="m_-6406812661969391577WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi Abdul,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">try to add this part of code at the begining of your routing code to add more logs :<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">if(!sipmsg_validate(""))<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">    {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">        xlog("L_WARN", "Dropping mal formed Messages Retcode : $retcode ");<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">        xlog("L_WARN","--- error from [$si:$sp]\n+++++\n$mb\n++++\n");<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">        exit;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">    }<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">then you can find the retcode value there : </span><a href="http://www.opensips.org/html/docs/modules/2.4.x/sipmsgops.html#func_sipmsg_validate" target="_blank"><span style="font-family:"Courier New";color:#954f72">http://www.opensips.org/html/docs/modules/2.4.x/sipmsgops.html#func_sipmsg_validate</span></a><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">De : </span></b><span style="font-size:12.0pt;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> au nom de Abdul Basit <<a href="mailto:basit.engg@gmail.com" target="_blank">basit.engg@gmail.com</a>><br><b>Répondre à : </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br><b>Date : </b>jeudi 9 août 2018 à 14:18<br><b>À : </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br><b>Objet : </b>[OpenSIPS-Users] OpenSIPS Unable to parse msg received from<u></u><u></u></span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal"><span style="color:#274e13">Hi Team,</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="color:#274e13">I am using opensips as hep proxy to distribute traffic to multiple homer noes for trace capturing.</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New""># opensips -V</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">version: opensips 2.3.2 (x86_64/linux)</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">main.c compiled on  with gcc 6.3.0</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="color:#274e13">Host operating system is</span><u></u><u></u></p></div><div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New""># lsb_release -a</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">No LSB modules are available.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Distributor ID: Debian</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Description:    Debian GNU/Linux 9.3 (stretch)</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Release:        9.3</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Codename:       stretch</span><u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="color:#274e13">I am continuously getting error on opensips logs. I have changed CLI as yyyyyyy and IPs as x.x.x.x </span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:47:00 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:39169]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:47:07 homer-proxy /usr/sbin/opensips[6847]: ERROR:core:parse_msg: message=<ER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-114 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:47:07 homer-proxy /usr/sbin/opensips[6847]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:53693]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:47:07 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_msg: message=<ER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-114 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:47:07 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:33715]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:47:50 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_msg: message=<E,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-114 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:47:50 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:33715]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:15 homer-proxy /usr/sbin/opensips[6848]: ERROR:core:parse_method: invalid character =</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:15 homer-proxy /usr/sbin/opensips[6848]: ERROR:core:parse_msg: message=<a=rtpmap:0 PCMU/8000#015#012a=rtpmap:18 G729/8000#015#012a=fmtp:18 annexb=no#015#012a=rtpmap:97 iLBC/8000#015#012a=fmtp:97 mode=30#015#012a=rtpmap:110 speex/8000#015#012a=rtpmap:117 speex/16000#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:4 G723/8000#015#012a=fmtp:4 annexa=no#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=ptime:20#015#012a=sendrecv#015#012a=nortpproxy:yes#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:15 homer-proxy /usr/sbin/opensips[6848]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:5060]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:24 homer-proxy /usr/sbin/opensips[6846]: ERROR:core:parse_msg: message=<RACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:39 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:37979]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:40 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_msg: message=<TIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:40 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:37979]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:44 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_method: invalid character :</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:44 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_msg: message=<Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:44 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:46187]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:44 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_method: invalid character :</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:44 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_msg: message=<Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:48:44 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:receive_msg: Unable to parse msg received from [x.x.x.x:46187]</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Aug  9 13:49:37 homer-proxy /usr/sbin/opensips[6845]: ERROR:core:parse_msg: message=<ntact: <<a href="mailto:sip%3Ayyyyyyyy@192.168.1.17" target="_blank">sip:yyyyyyyy@192.168.1.17</a>;transport=tcp>;expires=360#015#012Supported: em,timer,replaces,path,resource-priority#015#012Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012REGISTER sip:x.x.x.x SIP/2.0#015#012Via: SIP/2.0/TCP 192.168.1.17;branch=z9hG4bKac1134765850;alias#015#012Max-Forwards: 70#015#012From: <sip:yyyyyyyy@x.x.x.x>;tag=1c1134760571#015#012To: <sip:yyyyyyyy@x.x.x.x>#015#012Call-ID: <a href="http://943343231120001012@192.168.1.17#015%23012CSeq" target="_blank">943343231120001012@192.168.1.17#015#012CSeq</a>: 50295 REGISTER#015#012Contact: <<a href="mailto:sip%3Ayyyyyyyy@192.168.1.17" target="_blank">sip:yyyyyyyy@192.168.1.17</a>;transport=tcp>;expires=360#015#012Supported: em,timer,replaces,path,resource-priority#015#012Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.5.20A.043.005#015#012Content-Length: 0#015#012#015#012REGISTER sip:x.x.x.x SIP/2.0#015#012Via: SIP/2.0/TCP 192.168.1.17;branch=z9hG4bKac1134889896;alias#015#012Max-Forwards: 70#015#012From: <sip:yyyyyyyy@x.x.x.x>;tag=1c1134884593#015#012To: <sip:zzzzzzzz@x.x.x.x>#015#012Call-ID: <a href="http://943363361120001012@192.168.1.17#015%23012CSeq" target="_blank">943363361120001012@192.168.1.17#015#012CSeq</a>: 50295 REGISTER#015#012Contact: <<a href="mailto:sip%3Ayyyyyyyy@192.168.1.17" target="_blank">sip:yyyyyyyy@192.168.1.17</a>;transport=tcp>;expires=360#015#012Supported: em,timer,replaces,path,resource-priority#015#012Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE#015#012Expires: 360#015#012User-Agent: Audiocodes-Sip-Gateway-MP-118 FXS/v.5.20A.043.0></span><u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="color:#274e13">Opensip is simply distributing the received hep traffic to the homer server in the pool and not doing any processing by itself.</span><u></u><u></u></p></div><p class="MsoNormal"><span style="color:#274e13">Can you suggest whats the cause of these errors and how can I correct them?</span><u></u><u></u></p><div><p class="MsoNormal"><span style="color:#274e13">Where should I look for correction? </span><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="color:#274e13">Thank you in advance.</span><u></u><u></u></p><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#274e13">--<br>regards,</span><u></u><u></u></p></div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#274e13"><br>abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445</span><u></u><u></u></p></div></div></div></div></div></div><p class="MsoNormal">_______________________________________________ Users mailing list <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a> <u></u><u></u></p></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>