[OpenSIPS-Users] HEP protocol on opensips 2.1 siptrace module

Ramachandran, Agalya (Contractor) Agalya_Ramachandran at comcast.com
Thu Aug 25 20:58:32 CEST 2016


Hi Saioa,

I have been using sip trace module to forward packets.

I don't have the below added in config.
modparam("siptrace", "trace_flag", "TRACE_FLAG")
modparam("siptrace", "enable_ack_trace", 1)
modparam("siptrace", "hep_capture_id", 1)

Remove, setflag(TRACE_FLAG); as we are removing trace_flag modparam.
And I have $avp(trace_id) = 1;

This works for me. Try it .

Regards,
Agalya

-----Original Message-----
From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Saioa Perurena
Sent: Thursday, August 25, 2016 12:28 PM
To: users at lists.opensips.org
Subject: [OpenSIPS-Users] HEP protocol on opensips 2.1 siptrace module

Hi,

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?

I have the following configuration on opensips script:

#### Siptrace module
loadmodule "siptrace.so"
modparam("siptrace", "duplicate_uri", "sip:x.x.x.x:9060") 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)

And at the beginning of the route:
        setflag(TRACE_FLAG);
        $avp(trace_id) = $fu;
        sip_trace();

Thanks in advance!

Saioa.

_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160825/6a5abac1/attachment.htm>


More information about the Users mailing list