Hi Ionut,
Am getting the following error when I use the below config.
loadmodule "siptrace.so"
loadmodule "proto_hep.so"
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_local_ip", "LocalIP")
modparam("siptrace", "trace_id","[tid]uri=hep:HomerIP:9060;version=2;")
In route, I have the following lines added,
route{
$avp(traced_user) = "1";
$var(trace_id) = "tid";
sip_trace("$var(trace_id)", , "$avp(traced_user)");
…..
}
Let me know if anything am missing or what is causing this error?
Feb 27 18:22:53 /usr/local/sbin/opensips[2749]: CRITICAL:siptrace:msg_send:
#012>>> using proto 8 which is not init!#012#012It seems you have hit a
programming bug.#012Please help us make OpenSIPS better by reporting it at
https://github.com/OpenSIPS/opensips/issues
Feb 27 18:22:53 /usr/local/sbin/opensips[2749]:
ERROR:siptrace:trace_send_hep_duplicate: cannot send duplicate message
Feb 27 18:22:53 /usr/local/sbin/opensips[2749]: ERROR:siptrace:save_siptrace:
Failed to duplicate with hep to <:>
Feb 27 18:22:53 /usr/local/sbin/opensips[2749]: ERROR:tm:_reply_light: failed
to generate 200 reply when a final 200 was sent out
Regards,
Agalya
From: Ionut Ionita [mailto:[email protected]]
Sent: Thursday, February 23, 2017 3:24 AM
To: Ramachandran, Agalya (Contractor) <[email protected]>;
OpenSIPS users mailling list <[email protected]>
Subject: Re: [OpenSIPS-Users] Siptrace usage in 2.2.2
From the errors it seems like kamailio expects hep packets so you should use
hep instead of sip in your trace_id. What is more, take care that by default
the trace_id uses HEP version 3. Your kamailio seems to be using
hepv2_received function which might require version 1 or 2 of hep. So your
trace_id definitin should look like
modparam("siptrace", "trace_id","[tid]uri=hep:homerIP:9060;version=2;")
Ionut Ionita
OpenSIPS Developer
On 02/22/2017 04:56 PM, Ramachandran, Agalya (Contractor) wrote:
Hi Ionut,
Am using the below config. Let me know if this is correct?
But am not seeing any packets in the Homer side, rather seeing errors in
Kamailio logs, which is mentioned below.
Please help me to resolve this issue, if am doing anything wrong.
Kamailio is running and listening on port 9060.
loadmodule "siptrace.so"
loadmodule "proto_hep.so"
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_local_ip", "localIP")
modparam("siptrace", "trace_id","[tid]uri=sip:homerIP:9060;") // I tried to use
both sip and hep
In route, am using
$var(trace_id) = "tid";
sip_trace("$var(trace_id)", , "$avp(traced_user)");
Am seeing below error in Kamailio logs, (on the Homer Side)
Feb 22 14:40:41 poc-homerserver-cmc-e-002 kamailio[9416]: ERROR: sipcapture
[hep.c:136]: hepv2_received(): ERROR: sipcapture:hep_msg_received: unknow
protocol [1]
Feb 22 14:40:41 poc-homerserver-cmc-e-002 kamailio[9415]: ERROR: sipcapture
[hep.c:136]: hepv2_received(): ERROR: sipcapture:hep_msg_received: unknow
protocol [1]
Feb 22 14:41:48 poc-homerserver-cmc-e-002 kamailio[9418]: ERROR: sipcapture
[hep.c:86]: hep_msg_received(): ERROR: sipcapture:hep_msg_received: not
supported version or bad length: v:[73] l:[78]
Feb 22 14:41:51 poc-homerserver-cmc-e-002 kamailio[9419]: ERROR: sipcapture
[hep.c:86]: hep_msg_received(): ERROR: sipcapture:hep_msg_received: not
supported version or bad length: v:[67] l:[65]
Regards,
Agalya
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users