Răsfoiți Sursa

modules: readme files regenerated - siputils ... [skip ci]

Kamailio Dev 5 ani în urmă
părinte
comite
1189d75511
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 3
      src/modules/siputils/README

+ 2 - 3
src/modules/siputils/README

@@ -990,15 +990,14 @@ sip_p_charging_vector("g");
    Meaning of the parameters is as follows:
      * pname - name of the new URI parameter to hold the encoded incoming
        URI.
-     * saddr - local server address, can be host part, host-port part or
-       host-port-params part.
+     * saddr - local server address in SIP URI format.
 
    This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE.
 
    Example 1.42. contact_param_encode usage
 ...
 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");
 }
 ...