<div dir="ltr"><div><div>Hi list,<br></div>I have an issue with sipcapture module in capture server.<br><br></div>When client send HEP message to capture server, I have this message in Opensips.log:<br><br clear="all"><div>


<div><div><i>Dec  9 14:48:49 sipcapture1 /usr/local/sbin/opensips[16871]: INFO:core:parse_first_line: method not followed by SP<br>Dec  9 14:48:49 sipcapture1 /usr/local/sbin/opensips[16871]: INFO:core:parse_first_line: bad message<br>


Dec  9 14:48:49 sipcapture1 /usr/local/sbin/opensips[16874]: ERROR:core:parse_msg: message=&lt;#001#020#002#001#023�#023�#012T#010#024#012T#010#006INVITE sip:+33XXXXXXX@10.84.8.6:5060;user=phone SIP/2.0#015#012Record-Route: &lt;sip:10.84.8.20;lr;ftag=3595585729-376568;xyz=7f.715afa23&gt;#015#012X-Provider-ID: COMP#015#012Max-Forwards: 68#015#012Session-Expires: 1800;refresher=uac#015#012Min-SE: 600#015#012Supported: timer, 100rel#015#012To: &lt;<a href="mailto:sip%3A%2B33XXXXXX@10.84.8.20" target="_blank">sip:+33XXXXXX@10.84.8.20</a>;user=phone&gt;#015#012From: &quot;Snom 760&quot; &lt;<a href="mailto:sip%3A%2B33XXXXXX@10.84.8.10" target="_blank">sip:+33XXXXXX@10.84.8.10</a>&gt;;tag=3595585729-376568#015#012P-Asserted-Identity: &quot;Snom 760&quot; &lt;<a href="mailto:sip%3A%2B33XXXXXX@10.84.8.10" target="_blank">sip:+33XXXXXX@10.84.8.10</a>;user=phone&gt;#015#012P-Preferred-Identity: &quot;Snom 760&quot; &lt;<a href="mailto:sip%3A%2B33XXXXXX@10.84.8.10" target="_blank">sip:+33XXXXXX@10.84.8.10</a>;user=phone&gt;#015#012Call-ID: 1518541-3595585729-376465@asbc1b.hexavoip.local#015#012CSeq: 1 INVITE#015#012Allow: CANCEL, ACK, INVITE, BYE, OPTIONS, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE, MESSAGE, PUBLISH#015#012Via: SIP/2.0/UDP 10.84.8.20:5060;branch=z9hG4bKe2da.a59b1585.0#015#012Via: SIP/2.0/UDP 10.84.8.10:5060;branch=z9hG4bKd51ae6b58e0f5bd6323f7800acb6b034#015#012Contact: &lt;<a href="http://sip:+33XXXXXXX@10.84.8.10:5060" target="_blank">sip:+33XXXXXXX@10.84.8.10:5060</a>&gt;#015#012Content-Type: application/sdp#015#012Accept: application/sdp#015#012Content-Length: 198#015#012#015#012v=0#015#012o=asbc1b 1092911897 1092911897 IN IP4 10.84.8.10#015#012s=sip call#015#012c=IN IP4 10.84.13.10#015#012t=0 0#015#012m=audio 5748 RTP/AVP 8 101#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012&gt;</i><br>


<br><br></div><div><u><b>example:</b></u><br></div><div>(client) 10.84.8.20 --&gt; (HEP server / capture server) 10.84.8.201<br><br></div><div>HEP server has two interface: eth0 (public IP) in the first SIp platform, and eth1 in the second sip platform.<br>


</div><div>FYI, capture system is ok in the first SIP platform.<br></div><div>FYI, when I capture with freeswitch server, the capture system is OK in second SIP Platform. I think is a HEP / Opensips version issue or....<br>


</div><div><br></div><div><br></div><div><u><b>Client conf 1.9.0-tls (x86_64/freebsd):</b></u><br><i>## ----------------- module siptrace.so -----------<br>loadmodule &quot;siptrace.so&quot;<br>## ----- siptrace params -----<br>

modparam(&quot;siptrace&quot;, &quot;db_url&quot;, &quot;&quot;)<br>
modparam(&quot;siptrace&quot;, &quot;duplicate_uri&quot;,&quot;sip:<a href="http://10.84.8.201:9060" target="_blank">10.84.8.201:9060</a>&quot;)<br>#modparam(&quot;siptrace&quot;, &quot;trace_local_ip&quot;, &quot;<a href="http://10.84.8.20:44568" target="_blank">10.84.8.20:44568</a>&quot;)<br>


modparam(&quot;siptrace&quot;, &quot;duplicate_with_hep&quot;, 1)<br>modparam(&quot;siptrace&quot;, &quot;enable_ack_trace&quot;, 1)<br>modparam(&quot;siptrace&quot;, &quot;hep_version&quot;, 1)<br>modparam(&quot;siptrace&quot;, &quot;trace_to_database&quot;, 0)<br>


modparam(&quot;siptrace&quot;, &quot;trace_flag&quot;, 22)<br>#modparam(&quot;siptrace&quot;, &quot;hep_capture_id&quot;, 2)<br>modparam(&quot;siptrace&quot;, &quot;trace_on&quot;, 1)</i><br><br><br></div><div><u><b>HEP server conf 1.8.0-dev0-tls (i386/linux) </b></u><u><b>:</b></u><br>


<i>modparam(&quot;sipcapture&quot;, &quot;db_url&quot;, &quot;mysql://XXXXXXXXX@homer/siptrace&quot;)<br>modparam(&quot;sipcapture&quot;, &quot;capture_on&quot;, 1)<br>modparam(&quot;sipcapture&quot;, &quot;table_name&quot;, &quot;sip_capture&quot;)<br>


/* activate HEP capturing */<br>modparam(&quot;sipcapture&quot;, &quot;hep_capture_on&quot;, 1)<br><br>/* configuration for Mirroring PORT */<br>modparam(&quot;sipcapture&quot;, &quot;raw_socket_listen&quot;, &quot;81.23.XX.XX:5060-6000&quot;)<br>


modparam(&quot;sipcapture&quot;, &quot;raw_socket_listen&quot;, &quot;10.84.8.201:5060-6000&quot;)<br>modparam(&quot;sipcapture&quot;, &quot;raw_interface&quot;, &quot;eth0&quot;)<br>modparam(&quot;sipcapture&quot;, &quot;raw_interface&quot;, &quot;eth1&quot;)<br>


/* activate monitoring port capturing */<br>modparam(&quot;sipcapture&quot;, &quot;raw_moni_capture_on&quot;, 1)<br>modparam(&quot;sipcapture&quot;, &quot;raw_sock_children&quot;, 4)<br>/* Promiscious mode */<br>modparam(&quot;sipcapture&quot;, &quot;promiscious_on&quot;, 1)</i><br>


<br><br><br></div><div>Thanks in advance<br></div><div><br>-- <br><div dir="ltr">Cordialement<br><br>HUBERT Mickaël<br>Ingénieur VOIP - Hexanet<br></div>
</div></div></div></div>

<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif">