ソースを参照

siputils: update docs for encode/decode_contact functions

(cherry picked from commit bf73b0d72177828e3c35f0fe318f7ef654c89b6b)
Ovidiu Sas 4 年 前
コミット
2b9dc4713d
1 ファイル変更4 行追加4 行削除
  1. 4 4
      src/modules/siputils/doc/siputils_admin.xml

+ 4 - 4
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@ip:port;transport=protocol goes
-		sip:encoding_prefix*username*ip*port*protocol@hostpart.
+		sip:encoding_prefix*username*password*ip*port*protocol@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@hostpart it will be decoded to
-		sip:username:password@ip:port;transport=protocol It uses the default 
-		set parameter for contact encoding separator.
+		sip:encoding_prefix*username*password*ip*port*protocol@hostpart it will
+		be decoded to sip:username:password@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.