Browse code

siputils: update docs for encode/decode_contact functions

(cherry picked from commit bf73b0d72177828e3c35f0fe318f7ef654c89b6b)

Ovidiu Sas authored on 03/05/2021 22:20:05
Showing 1 changed files
... ...
@@ -740,7 +740,7 @@ if (is_alphanumex("$rU", "+.-_")) {
740 740
 		This function will encode uri-s inside Contact header in the following
741 741
 		manner
742 742
 		sip:username:password@ip:port;transport=protocol goes
743
-		sip:encoding_prefix*username*ip*port*protocol@hostpart.
743
+		sip:encoding_prefix*username*password*ip*port*protocol@hostpart.
744 744
 		</para>
745 745
 		<para>
746 746
 		* is the default separator and can be changed by setting the contact_flds_separator
... ...
@@ -784,9 +784,9 @@ if (src_ip == 10.0.0.0/8) encode_contact("natted_client","1.2.3.4");
784 784
 		</title>
785 785
 		<para>
786 786
 		This function will decode the request URI. If the RURI is in the format
787
-		sip:encoding_prefix*username*ip*port*protocol@hostpart it will be decoded to
788
-		sip:username:password@ip:port;transport=protocol It uses the default 
789
-		set parameter for contact encoding separator.
787
+		sip:encoding_prefix*username*password*ip*port*protocol@hostpart it will
788
+		be decoded to sip:username:password@ip:port;transport=protocol. It uses
789
+		the default set parameter for contact encoding separator.
790 790
 		</para>
791 791
 		<para>
792 792
 		The function returns negative on error, 1 on success.