[sr-dev] [kamailio/kamailio] Selective tracing of locally generated messages (Issue #2933)

xaled1 notifications at github.com
Sun Nov 14 18:03:31 CET 2021


For selectively tracing sip messages *sent* by kamailio, we successfully use onsend_route: but this works for forwarded requests/responses only.

For locally generated messages, there does not seem to be a reliable method:
– tm:local-request: message is usually not final, not executed for locally generated ACK and CANCEL
– tm:local-response: works for responses only (triggered *after* sending)
– sl:local-response: works for responses only (triggered *after* sending)

We also tried event_route[network:msg], but sip_trace() does not work there (msg not parsed/available?).

Might it be possible to add a core option "onsend_route_localsrc", that can be enabled to make kamailio trigger onsend_route also for locally generated requests (and also locally generated responses, if "onsend_route_reply" is enabled)?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2933
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211114/4088a76e/attachment-0001.htm>


More information about the sr-dev mailing list