Module: kamailio
Branch: master
Commit: d0498913159765da9bb94bec5de5ebcd99a6571c
URL:
https://github.com/kamailio/kamailio/commit/d0498913159765da9bb94bec5de5ebc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2019-01-17T17:50:57+01:00
Merge pull request #1813 from sergey-safarov/siptrace
src/modules/siptrace: Updated usage instruction â¦
---
Modified: src/modules/siptrace/doc/siptrace_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/d0498913159765da9bb94bec5de5ebc…
Patch:
https://github.com/kamailio/kamailio/commit/d0498913159765da9bb94bec5de5ebc…
---
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>