Module: kamailio
Branch: master
Commit: 10c278643719408957b00c6fe64b0796b6ef148e
URL:
https://github.com/kamailio/kamailio/commit/10c278643719408957b00c6fe64b079…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-12T15:54:23+02:00
siputils: docs - updates to contact_param_encode() saddr param
---
Modified: src/modules/siputils/doc/siputils_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/10c278643719408957b00c6fe64b079…
Patch:
https://github.com/kamailio/kamailio/commit/10c278643719408957b00c6fe64b079…
---
diff --git a/src/modules/siputils/doc/siputils_admin.xml
b/src/modules/siputils/doc/siputils_admin.xml
index 25336cc207..13b30ba447 100644
--- a/src/modules/siputils/doc/siputils_admin.xml
+++ b/src/modules/siputils/doc/siputils_admin.xml
@@ -1177,8 +1177,8 @@ sip_p_charging_vector("g");
</para>
</listitem>
<listitem>
- <para><emphasis>saddr</emphasis> - local server address, can be
- host part, host-port part or host-port-params part.
+ <para><emphasis>saddr</emphasis> - local server address in SIP
+ URI format.
</para>
</listitem>
</itemizedlist>
@@ -1190,7 +1190,7 @@ sip_p_charging_vector("g");
<programlisting format="linespecific">
...
if (is_method("REGISTER") and src_ip == 10.0.0.0/8) {
- contact_param_encode("ksu", "1.2.3.4:5060;transport=tcp");
+ contact_param_encode("ksu", "sip:1.2.3.4:5060;transport=tcp");
}
...
</programlisting>