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: [email protected] 
[mailto:[email protected]] On Behalf Of Saioa Perurena
Sent: Thursday, August 25, 2016 12:28 PM
To: [email protected]
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
[email protected]<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to