[sr-dev] git:master:c3771966: posops: docs - updated pos_set_char() section

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 8 10:24:33 CEST 2022


Module: kamailio
Branch: master
Commit: c3771966fa8470db91d04323a1e9c837a16a22cf
URL: https://github.com/kamailio/kamailio/commit/c3771966fa8470db91d04323a1e9c837a16a22cf

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-09-08T10:23:52+02:00

posops: docs - updated pos_set_char() section

- note that the change is done directly inside the sip message buffer

---

Modified: src/modules/posops/doc/posops_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/c3771966fa8470db91d04323a1e9c837a16a22cf.diff
Patch: https://github.com/kamailio/kamailio/commit/c3771966fa8470db91d04323a1e9c837a16a22cf.patch

---

diff --git a/src/modules/posops/doc/posops_admin.xml b/src/modules/posops/doc/posops_admin.xml
index 1a38b85c67f..e47d658f995 100644
--- a/src/modules/posops/doc/posops_admin.xml
+++ b/src/modules/posops/doc/posops_admin.xml
@@ -168,6 +168,10 @@ pos_insert("100", "10");
 			Set the char at position index to first character in val.
 			</para>
 			<para>
+			Important: it changes the character directly in the SIP message
+			buffer, the update being immediately visible.
+			</para>
+			<para>
 			The idx can be an integer value or a variable holding an integer. If
 			the value is negative, the position is counted from the end of the buffer.
 			</para>




More information about the sr-dev mailing list