From 803476627da7676321251f403cc8c6ced2d09721 Mon Sep 17 00:00:00 2001 From: Henning Westerholt Date: Tue, 30 Jul 2019 09:22:25 +0200 Subject: [PATCH] siptrace: fix order of parameter for sip_trace function, add listitem structure --- src/modules/siptrace/doc/siptrace_admin.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/modules/siptrace/doc/siptrace_admin.xml b/src/modules/siptrace/doc/siptrace_admin.xml index 0ec443ce3ae..a60b8438317 100644 --- a/src/modules/siptrace/doc/siptrace_admin.xml +++ b/src/modules/siptrace/doc/siptrace_admin.xml @@ -515,7 +515,7 @@ modparam("siptrace", "auth_key", "spoihepuirthpeuia") Functions
- <function moreinfo="none">sip_trace([mode][,address][, correlation_id])</function> + <function moreinfo="none">sip_trace([address][,correlation_id][,mode])</function> Store or forward the current processed SIP message/transaction/dialog in database. @@ -525,19 +525,23 @@ modparam("siptrace", "auth_key", "spoihepuirthpeuia") Meaning of the parameters is as follows: - mode - SIP messages to be traced. One can trace the current message - (function can be called on either a reply or a request), the current transaction(the route must - belong to a request) or the current dialog(the message has to be an invite). - address - The address in form of SIP URI where to send a duplicate of traced message. This parameter trumps duplicate_uri and allows tracing to more than one server. + + correlation_id - A string with a correlation ID to be added to the HEP header when using HEPv3. It's possible to use PVs. + + mode - SIP messages to be traced. One can trace the current message + (function can be called on either a reply or a request), the current transaction(the route must + belong to a request) or the current dialog(the message has to be an invite). + + This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,