[sr-dev] git:5.3:83f562f0: modules: readme files regenerated - modules ... [skip ci]

Kamailio Dev kamailio.dev at kamailio.org
Mon Oct 12 10:46:40 CEST 2020


Module: kamailio
Branch: 5.3
Commit: 83f562f0f0f2336e3cd26e54b5f337621775a6df
URL: https://github.com/kamailio/kamailio/commit/83f562f0f0f2336e3cd26e54b5f337621775a6df

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2020-10-12T10:46:32+02:00

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

---

Modified: src/modules/nathelper/README
Modified: src/modules/phonenum/README

---

Diff:  https://github.com/kamailio/kamailio/commit/83f562f0f0f2336e3cd26e54b5f337621775a6df.diff
Patch: https://github.com/kamailio/kamailio/commit/83f562f0f0f2336e3cd26e54b5f337621775a6df.patch

---

diff --git a/src/modules/nathelper/README b/src/modules/nathelper/README
index 27d1e1c654..97b373eff3 100644
--- a/src/modules/nathelper/README
+++ b/src/modules/nathelper/README
@@ -521,16 +521,19 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
      * flags - the value may be a bitwise OR of the following flags:
           + 0x01 - adds “a=direction:active” SDP line;
           + 0x02 - rewrite media IP address (c=) with source address of
-            the message or the provided IP address (the provide IP address
-            take precedence over the source address).
+            the message or the provided IP address. (a=rtpc) param will be
+            rewritten if exists. (the provided IP address take precedence
+            over the source address).
           + 0x04 - adds “a=nortpproxy:yes” SDP line;
           + 0x08 - rewrite IP from origin description (o=) with source
-            address of the message or the provided IP address (the provide
-            IP address take precedence over the source address).
+            address of the message or the provided IP address. (a=rtpc)
+            param will be rewritten if exists. (the provided IP address
+            take precedence over the source address).
      * ip_address - IP to be used for rewriting SDP. If not specified, the
        received signalling IP will be used. The parameter allows
        pseudo-variables usage. NOTE: For the IP to be used, you need to
-       use 0x02 or 0x08 flags, otherwise it will have no effect.
+       use 0x02 or 0x08 flags, otherwise it will have no effect. Must be
+       IPv4 address family.
 
    This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
    FAILURE_ROUTE, BRANCH_ROUTE.
diff --git a/src/modules/phonenum/README b/src/modules/phonenum/README
index ebe872869b..096a3efa4b 100644
--- a/src/modules/phonenum/README
+++ b/src/modules/phonenum/README
@@ -161,6 +161,13 @@ if(phonenum_match("1-484-555-8888", "src")) {
    letter, e.g: "DE", "US", "ES"). The function has to be called before
    accessing a key via: $phn(pvc=>key).
 
+   Note from libphonenumber library docs: country name code is the region
+   that is expected the number to be from. It is only used if the number
+   being parsed is not written in international format. The country code
+   for the number in this case would be stored as that of the region
+   supplied. If the number is guaranteed to start with a '+' followed by
+   the country calling code, then region 'ZZ'.
+
    The parameters can be static strings or strings with variables.
 
    It can be used from ANY_ROUTE.




More information about the sr-dev mailing list