Module: kamailio
Branch: master
Commit: e5e0412f61096e82fdaf61b38fe6a219312709d4
URL:
https://github.com/kamailio/kamailio/commit/e5e0412f61096e82fdaf61b38fe6a21…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-06-14T08:08:16+02:00
siputils: docs for is_http() function
---
Modified: src/modules/siputils/doc/siputils_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/e5e0412f61096e82fdaf61b38fe6a21…
Patch:
https://github.com/kamailio/kamailio/commit/e5e0412f61096e82fdaf61b38fe6a21…
---
diff --git a/src/modules/siputils/doc/siputils_admin.xml
b/src/modules/siputils/doc/siputils_admin.xml
index dbbba7a6db6..cf08771326c 100644
--- a/src/modules/siputils/doc/siputils_admin.xml
+++ b/src/modules/siputils/doc/siputils_admin.xml
@@ -1152,6 +1152,27 @@ if (is_sip()) {
...
}
...
+</programlisting>
+ </example>
+ </section>
+ <section id="siputils.f.is_http">
+ <title>
+ <function moreinfo="none">is_http()</function>
+ </title>
+ <para>
+ Return true if it is a HTTP message.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>is_http</function> usage</title>
+ <programlisting format="linespecific">
+...
+if (is_http()) {
+ ...
+}
+...
</programlisting>
</example>
</section>