Browse Source

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

Kamailio Dev 5 years ago
parent
commit
9b6243d20a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/modules/phonenum/README

+ 7 - 0
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.