[OpenSIPS-Users] sip_trace with d option supplied not tracing OPTION messages

Karsten Wemheuer kwem at gmx.de
Tue Sep 6 08:33:51 UTC 2022


Hi,

Am Dienstag, dem 06.09.2022 um 12:35 +0430 schrieb Babak Yakhchali:
> Hi
> I'm using sip_trace to capture all traffic and logs to Homer,
> everything works fine except for OPTIONS packets generated by the
> dialog module. How can I capture those messages?
> opensips version is 2.4 and I'm calling sip_trace like this:
>
> if (is_method("INVITE")) {
> sip_trace("$var(trace_id)", "d", "sip|xlog|rest", "$var(user)");
> }
>
for OPTION packets You should call the trace function in the local
route section.

HTH,
Karsten




More information about the Users mailing list