Module: kamailio
Branch: master
Commit: b21362807d86aa1e84c32b24f36f5138cf22c51b
URL:
https://github.com/kamailio/kamailio/commit/b21362807d86aa1e84c32b24f36f513…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-08T14:48:29+02:00
siptrace: docs for sip_trace_msg()
---
Modified: src/modules/siptrace/doc/siptrace_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/b21362807d86aa1e84c32b24f36f513…
Patch:
https://github.com/kamailio/kamailio/commit/b21362807d86aa1e84c32b24f36f513…
---
diff --git a/src/modules/siptrace/doc/siptrace_admin.xml
b/src/modules/siptrace/doc/siptrace_admin.xml
index f902651f418..2bf7c1e9163 100644
--- a/src/modules/siptrace/doc/siptrace_admin.xml
+++ b/src/modules/siptrace/doc/siptrace_admin.xml
@@ -779,6 +779,30 @@ sip_trace_mode("t");
</example>
</section>
+ <section id="siptrace.f.sip_trace_msg">
+ <title>
+ <function moreinfo="none">sip_trace_msg(vmsg, saddr, taddr, daddr,
corrid)</function>
+ </title>
+ <para>
+ Send the value of vmsg to the HEP capture server located at daddr, by
+ setting saddr as source address and taddr as target address for vmsg.
+ Correlation ID can be provided with corrid parameter or left as an
+ empty string. The saddr and taddr have to be provided in socket
+ address format (proto:ip:port) and the daddr in SIP URI format.
+ </para>
+ <para>
+ This function can be used in ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>sip_trace_msg()</function> usage</title>
+ <programlisting format="linespecific">
+...
+sip_trace_msg("$var(msg)", "udp:127.0.0.1:5062",
"udp:127.0.0.1:5064", "sip:127.0.0.1:5090", "");
+...
+</programlisting>
+ </example>
+ </section>
+
<section id="siptrace.f.hlog">
<title>
<function moreinfo="none">hlog([correlation_id,]
message)</function>