<p>The sipcapture module works great when you send hepv3 packets over the UDP transport however if kamailio start listening those hepv3 packtes on TCP and sending those hepv3 on TCP it will concern about it.</p>

<p><strong>This is what Kamilio receives over TCP.</strong></p>

<blockquote>
<p>T 52.10.155.177:47283 -> 172.19.8.21:9060 [AP]<br>
HEP3.0...................<br>
.........<br>
...........[.............<br>
W*y6...<br>
.<br>
..h......<br>
.................OPTIONS sip:edge.rarevase.com;transport=tcp SIP/2.0.<br>
Via: SIP/2.0/TCP 172.19.16.130:53083;rport;branch=z9hG4bKPj66df463f-ca4b-4f98-ba17-722fe3fc4a92;alias.<br>
From: sip:asterisk@172.19.16.130;tag=86ebab1d-eb4e-4986-898d-c7392b6b747b.<br>
To: sip:edge.rarevase.com.<br>
Contact: sip:asterisk@172.19.16.130:53083;transport=TCP.<br>
Call-ID: ed24ab3c-4f42-4a9d-8e2d-9a3acd5b5b70.<br>
CSeq: 3809 OPTIONS.<br>
Max-Forwards: 70.<br>
User-Agent: Asterisk PBX 13.8.0.<br>
Content-Length:  0.<br>
.</p>

<p>##<br>
T 52.10.155.177:47283 -> 172.19.8.21:9060 [AP]<br>
HEP3....................<br>
.........<br>
...................[.....<br>
W<em>y6...<br>
.<br>
..|......<br>
.................SIP/2.0 200 OK.<br>
Via: SIP/2.0/TCP 172.19.16.130:53083;rport=53083;received=172.19.16.130;branch=z9hG4bKPj66df463f-ca4b-4f98-ba17-722fe3fc4a92;alias.<br>
From: sip:asterisk@172.19.16.130;tag=86ebab1d-eb4e-4986-898d-c7392b6b747b.<br>
To: sip:edge.rarevase.com;tag=24voZr.<br>
Call-ID: ed24ab3c-4f42-4a9d-8e2d-9a3acd5b5b70.<br>
CSeq: 3809 OPTIONS.<br>
Max-Forwards: 70.<br>
Content-Length: 0.<br>
Supported: path,gruu,outbound.<br>
Accept: */</em>.<br>
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO,UPDATE,SUBSCRIBE,NOTIFY,REFER,MESSAGE,REGISTER.<br>
.</p>
</blockquote>

<p><strong>This are the logs on the Kamailio.</strong></p>

<p><code>May  4 22:44:05 ip-172-19-8-21 /usr/sbin/kamailio[19285]: INFO: <core> [parser/parse_fline.c:144]: parse_first_line(): ERROR:parse_first_line: method not followed by SP<br>
May  4 22:44:05 ip-172-19-8-21 /usr/sbin/kamailio[19285]: ERROR: <core> [parser/parse_fline.c:257]: parse_first_line(): parse_first_line: bad message (offset: 0)<br>
May  4 22:44:05 ip-172-19-8-21 /usr/sbin/kamailio[19285]: DEBUG: <core> [parser/msg_parser.c:604]: parse_msg(): parse_msg: invalid message<br>
May  4 22:44:05 ip-172-19-8-21 /usr/sbin/kamailio[19285]: ERROR: <core> [parser/msg_parser.c:690]: parse_msg(): ERROR: parse_msg: message=<HEP3#003<98>><br>
May  4 22:44:05 ip-172-19-8-21 /usr/sbin/kamailio[19285]: ERROR: <core> [receive.c:173]: receive_msg(): core parsing of SIP message failed (52.10.155.177:59607/2)</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/599">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZUHpEAN_tgTuCUbgx4ODrBxmFpYWks5p-SMsgaJpZM4IXogo.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/599"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>