Module: kamailio
Branch: master
Commit: 10450f84a842db38ed28e7cb052f689fa473c73e
URL:
https://github.com/kamailio/kamailio/commit/10450f84a842db38ed28e7cb052f689…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-01-17T16:11:09Z
src/modules/siptrace: Updated usage instruction about stateless forwarded messages
---
Modified: src/modules/siptrace/doc/siptrace_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/10450f84a842db38ed28e7cb052f689…
Patch:
https://github.com/kamailio/kamailio/commit/10450f84a842db38ed28e7cb052f689…
---
diff --git a/src/modules/siptrace/doc/siptrace_admin.xml
b/src/modules/siptrace/doc/siptrace_admin.xml
index 504e6e98b8..c808066731 100644
--- a/src/modules/siptrace/doc/siptrace_admin.xml
+++ b/src/modules/siptrace/doc/siptrace_admin.xml
@@ -654,8 +654,20 @@ hlog("$hdr(P-MyID)", "Another one with a custom
correlation ID");
<title>Known issues</title>
<para>
Stateless forwarded messages (forward()) are not logged if you set the
- flag, use sip_trace().
+ flag, use sip_trace() inside <emphasis>onsend_route</emphasis> block.
</para>
+ <example>
+ <title>Send relayed ACK message</title>
+ <programlisting format="linespecific">
+...
+onsend_route {
+ if (is_method("ACK")) {
+ sip_trace();
+ }
+}
+...
+</programlisting>
+ </example>
</section>
</chapter>