[sr-dev] git:5.5:2b9dc471: siputils: update docs for encode/decode_contact functions
Ovidiu Sas
osas at voipembedded.com
Tue May 4 00:44:20 CEST 2021
Module: kamailio
Branch: 5.5
Commit: 2b9dc4713d85b1367631871205547aaf25a822a1
URL: https://github.com/kamailio/kamailio/commit/2b9dc4713d85b1367631871205547aaf25a822a1
Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: 2021-05-03T18:44:00-04:00
siputils: update docs for encode/decode_contact functions
(cherry picked from commit bf73b0d72177828e3c35f0fe318f7ef654c89b6b)
---
Modified: src/modules/siputils/doc/siputils_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/2b9dc4713d85b1367631871205547aaf25a822a1.diff
Patch: https://github.com/kamailio/kamailio/commit/2b9dc4713d85b1367631871205547aaf25a822a1.patch
---
diff --git a/src/modules/siputils/doc/siputils_admin.xml b/src/modules/siputils/doc/siputils_admin.xml
index 880105792a..4667e42f63 100644
--- a/src/modules/siputils/doc/siputils_admin.xml
+++ b/src/modules/siputils/doc/siputils_admin.xml
@@ -796,7 +796,7 @@ if (is_alphanumex("$rU", "+.-_")) {
This function will encode uri-s inside Contact header in the following
manner
sip:username:password at ip:port;transport=protocol goes
- sip:encoding_prefix*username*ip*port*protocol at hostpart.
+ sip:encoding_prefix*username*password*ip*port*protocol at hostpart.
</para>
<para>
* is the default separator and can be changed by setting the contact_flds_separator
@@ -840,9 +840,9 @@ if (src_ip == 10.0.0.0/8) encode_contact("natted_client","1.2.3.4");
</title>
<para>
This function will decode the request URI. If the RURI is in the format
- sip:encoding_prefix*username*ip*port*protocol at hostpart it will be decoded to
- sip:username:password at ip:port;transport=protocol It uses the default
- set parameter for contact encoding separator.
+ sip:encoding_prefix*username*password*ip*port*protocol at hostpart it will
+ be decoded to sip:username:password at ip:port;transport=protocol. It uses
+ the default set parameter for contact encoding separator.
</para>
<para>
The function returns negative on error, 1 on success.
More information about the sr-dev
mailing list