[OpenSIPS-Users] siptrace missing inbound requests from caller
John Quick
john.quick at smartvox.co.uk
Thu Aug 18 17:03:54 CEST 2011
Using the siptrace module in version 1.6.4-2-notls it never writes a record
to the sip_trace table for the initial INVITE request that it received from
the calling UAC. I have records in the table for the onward request to the
callee, the responses from the callee, the responses being forwarded to the
caller but never for anything sent to OpenSIPS by the calling device.
The module parameters I am using are:
modparam("siptrace", "trace_flag", 8)
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "enable_ack_trace", 0)
Here is the basic code for the Invite handler:
route[3] {
#
# -- General Requests handler
#
if (method=="INVITE") {
# create a dialog record
setflag(4);
# activate sip trace
sip_trace();
setflag(8);
# Use a dialog flag to remember that this call is being traced
create_dialog();
set_dlg_flag("1");
}
I also tried without calling sip_trace() in the route block, but it makes no
difference.
John Quick
Smartvox Limited
Web: www.smartvox.co.uk
More information about the Users
mailing list