Module: kamailio
Branch: 5.3
Commit: 83f562f0f0f2336e3cd26e54b5f337621775a6df
URL: https://github.com/kamailio/kamailio/commit/83f562f0f0f2336e3cd26e54b5f3376…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)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/83f562f0f0f2336e3cd26e54b5f3376…
Patch: https://github.com/kamailio/kamailio/commit/83f562f0f0f2336e3cd26e54b5f3376…
---
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.
Module: kamailio
Branch: 5.3
Commit: 432bc89a963a1e71a107e6f73d103a6bbae02833
URL: https://github.com/kamailio/kamailio/commit/432bc89a963a1e71a107e6f73d103a6…
Author: Arsen Semenov <arsperger(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-12T10:32:20+02:00
nathelper: docs - updated notes for fix_nated_sdp. few typos fixed [skip ci]
(cherry picked from commit 64579fee33d0a82a583b75184f78fcb7c9df2d82)
(cherry picked from commit d5393ffd76cc37e98365d7b945454e0215d9f82f)
---
Modified: src/modules/nathelper/doc/nathelper_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/432bc89a963a1e71a107e6f73d103a6…
Patch: https://github.com/kamailio/kamailio/commit/432bc89a963a1e71a107e6f73d103a6…
---
diff --git a/src/modules/nathelper/doc/nathelper_admin.xml b/src/modules/nathelper/doc/nathelper_admin.xml
index 64defce296..ee94853beb 100644
--- a/src/modules/nathelper/doc/nathelper_admin.xml
+++ b/src/modules/nathelper/doc/nathelper_admin.xml
@@ -562,7 +562,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
<listitem>
<para><emphasis>0x02</emphasis> - rewrite media
&ip; address (c=) with source address of the message
- or the provided IP address (the provide IP address take
+ or the provided IP address. (a=rtpc) param will be rewritten if exists. (the provided IP address take
precedence over the source address).</para>
</listitem>
<listitem>
@@ -572,7 +572,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
<listitem>
<para><emphasis>0x08</emphasis> - rewrite IP from
origin description (o=) with source address of the message
- or the provided IP address (the provide IP address take
+ or the provided IP address. (a=rtpc) param will be rewritten if exists. (the provided IP address take
precedence over the source address).</para>
</listitem>
</itemizedlist>
@@ -582,7 +582,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
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.
+ no effect. Must be IPv4 address family.
</para>
</listitem>
</itemizedlist>
Module: kamailio
Branch: 5.3
Commit: 1eecbb239cce980cebd9e3853cc4e06fb5dd2da9
URL: https://github.com/kamailio/kamailio/commit/1eecbb239cce980cebd9e3853cc4e06…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-12T10:31:55+02:00
phonenum: note about the role of country code name for phonenum_match_cn()
(cherry picked from commit dfd6c3966ed70d111a9196076bc29767c395d814)
(cherry picked from commit 755867b920e4e0d17a4bdf447a0d59a06875f8e1)
---
Modified: src/modules/phonenum/doc/phonenum_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/1eecbb239cce980cebd9e3853cc4e06…
Patch: https://github.com/kamailio/kamailio/commit/1eecbb239cce980cebd9e3853cc4e06…
---
diff --git a/src/modules/phonenum/doc/phonenum_admin.xml b/src/modules/phonenum/doc/phonenum_admin.xml
index d30c2026ee..f3a3e98ede 100644
--- a/src/modules/phonenum/doc/phonenum_admin.xml
+++ b/src/modules/phonenum/doc/phonenum_admin.xml
@@ -156,6 +156,14 @@ if(phonenum_match("1-484-555-8888", "src")) {
(two letter, e.g: "DE", "US", "ES"). The function has to be called
before accessing a key via: $phn(pvc=>key).
</para>
+ <para>
+ 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'.
+ </para>
<para>
The parameters can be static strings or strings with variables.
</para>