Module: kamailio Branch: master Commit: 9b6243d20a4dd27e44c6f7bada757226c6f4aa63 URL: https://github.com/kamailio/kamailio/commit/9b6243d20a4dd27e44c6f7bada757226...
Author: Kamailio Dev kamailio.dev@kamailio.org Committer: Kamailio Dev kamailio.dev@kamailio.org Date: 2020-10-02T21:46:11+02:00
modules: readme files regenerated - phonenum ... [skip ci]
---
Modified: src/modules/phonenum/README
---
Diff: https://github.com/kamailio/kamailio/commit/9b6243d20a4dd27e44c6f7bada757226... Patch: https://github.com/kamailio/kamailio/commit/9b6243d20a4dd27e44c6f7bada757226...
---
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.