<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi Saioa,</div>
<div> </div>
<div>I have been using sip trace module to forward packets. </div>
<div> </div>
<div>I don’t have the below added in config.</div>
<div>modparam("siptrace", "trace_flag", "TRACE_FLAG")</div>
<div>modparam("siptrace", "enable_ack_trace", 1) </div>
<div>modparam("siptrace", "hep_capture_id", 1) </div>
<div> </div>
<div>Remove, setflag(TRACE_FLAG); as we are removing trace_flag modparam.</div>
<div>And I have <b>$avp(trace_id) = </b><b>1; </b></div>
<div> </div>
<div>This works for me. Try it .</div>
<div> </div>
<div>Regards,</div>
<div>Agalya</div>
<div> </div>
<div>-----Original Message-----<br>
From: users-bounces@lists.opensips.org [<a href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a>] On Behalf Of Saioa Perurena<br>
Sent: Thursday, August 25, 2016 12:28 PM<br>
To: users@lists.opensips.org<br>
Subject: [OpenSIPS-Users] HEP protocol on opensips 2.1 siptrace module</div>
<div> </div>
<div>Hi,</div>
<div> </div>
<div>I'm trying to use sip trace module on opensips 2.1 to send all sip messages to a homer server, but it does not send the messages with hep protocol to the sipcapture server. Any idea of what I'm missing?</div>
<div> </div>
<div>I have the following configuration on opensips script:</div>
<div> </div>
<div>#### Siptrace module</div>
<div>loadmodule "siptrace.so"</div>
<div>modparam("siptrace", "duplicate_uri", "<a href="sip:x.x.x.x:9060">sip:x.x.x.x:9060</a>") modparam("siptrace", "trace_to_database", 0) modparam("siptrace", "trace_flag", "TRACE_FLAG") modparam("siptrace", "trace_on", 1) modparam("siptrace", "db_url","")
modparam("siptrace", "enable_ack_trace", 1) modparam("siptrace", "traced_user_avp", "$avp(trace_id)") modparam("siptrace", "duplicate_with_hep", 1) modparam("siptrace", "hep_version", 2) modparam("siptrace", "hep_capture_id", 1)</div>
<div> </div>
<div>And at the beginning of the route:</div>
<div> setflag(TRACE_FLAG);</div>
<div> $avp(trace_id) = $fu;</div>
<div> sip_trace();</div>
<div> </div>
<div>Thanks in advance!</div>
<div> </div>
<div>Saioa.</div>
<div> </div>
<div>_______________________________________________</div>
<div>Users mailing list</div>
<div><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></div>
<div><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>