Module: kamailio
Branch: master
Commit: 52036e2772821459daea6d5ac98a3710d9daec13
URL:
https://github.com/kamailio/kamailio/commit/52036e2772821459daea6d5ac98a371…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-08-26T15:39:20+02:00
siputils: docs for sip_parse_headers() function
---
Modified: src/modules/siputils/doc/siputils_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/52036e2772821459daea6d5ac98a371…
Patch:
https://github.com/kamailio/kamailio/commit/52036e2772821459daea6d5ac98a371…
---
diff --git a/src/modules/siputils/doc/siputils_admin.xml
b/src/modules/siputils/doc/siputils_admin.xml
index cf08771326c..6850f53e9bf 100644
--- a/src/modules/siputils/doc/siputils_admin.xml
+++ b/src/modules/siputils/doc/siputils_admin.xml
@@ -1474,6 +1474,27 @@ if (!hdr_date_check("10")) {
exit;
}
...
+</programlisting>
+ </example>
+ </section>
+ <section id="siputils.f.sip_parse_headers">
+ <title>
+ <function moreinfo="none">sip_parse_headers()</function>
+ </title>
+ <para>
+ Return true if parsing (fast mode) all SIP headers is successful.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>sip_parse_headers</function> usage</title>
+ <programlisting format="linespecific">
+...
+if (sip_parse_headers()) {
+ ...
+}
+...
</programlisting>
</example>
</section>