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

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Sep 6 08:53:55 UTC 2022


:+1:

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/

On 9/6/22 11:33 AM, Karsten Wemheuer wrote:
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list