when I receive a call from "
+390901234567" (Italian number), Kazoo shows in my devices only "390901234567" without "+". I would like to add "+" or remove "39" (for Italy only).
"formatters
": {
"from
": [
{
"regex
": "^\\+?3?9?(\\d*)$"
,
"prefix
": ""
,
"direction
": "inbound"
}
,
{
"regex
": "^+(.*)$"
,
"prefix
": "+"
,
"direction
": "inbound"
}
]
}
but nothing changed. Also this is valid only for a single account. How can I set this format (without +39 for Italy and with + and prefix for all the rest) globally for all accounts without change all documents?
This is my number_manager document but I think that it is only for outbound.
{
"_id
": "number_manager"
,
"default
": {
"classifiers
": {
"international
": {
"regex
": "^(00|\\+)(\\d{4,})$"
,
"friendly_name
": "Internazionali"
,
"pretty_print
": "*"
}
,
"italian_fix
": {
"regex
": "^(00|\\+)?(39)?(0)(\\d{4,})$"
,
"friendly_name
": "Italiani fissi"
,
"pretty_print
": "*"
}
,
"italian_mobile
": {
"regex
": "^(00|\\+)?(39)?(3)(\\d{4,})$"
,
"friendly_name
": "Italiani mobili"
,
"pretty_print
": "*"
}
,
"unknown
": {
"regex
": "^(.*)$"
,
"friendly_name
": "Altro"
,
"pretty_print
": "*"
}
}
,
"e164_converters
": {
"^(.*)$
": {
"prefix
": ""
}
}
,
"reconcile_regex
": "^\\+?[1-9]\\d{5,}$|^0\\d{5,}$|^00\\d{5,}$"
,
"fetch_account_from_ports
": true
,
"converter
": "regex"
,
"available_module_name
": "knm_local"
,
"features
": {
"allow
": [
"failover"
,
"force_outbound"
,
"prepend"
,
"ringback"
]
}
,
"released_state
": "available"
,
"should_permanently_delete
": false
,
"default_force_outbound
": false
,
"force_local_outbound
": true
}
,
}