--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
Hi,
Concerning stripping, in don't see that
Is this not already covered above in Luis post
account/user/device dial plan ?
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
Is this not already covered above in Luis post
account/user/device dial plan ?
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
{
"_id": "fd0557c26c70451fe10281c8bbcfd8c8",
"_rev": "25-fb26bd459dc95b9d7be451fdbfb478a4",
"dial_plan": {
"^+0(\\d{9,})$": {
"description": "Mob test",
"prefix": "+31"
},
"^\\+316\\d{8}$": {
"description": "NLTo Mobile",
"prefix": "+316"
},
"^\\+31800\\d{4,7}$": {
"description": "NLTo Toll Free",
"prefix": "+31800"
},
"^\\+3190\\d{5,8}|8[47]\\d{7}$": {
"description": "NLTo Service",
"prefix": "+3190"
},
"^\\+31([1-57]\\d{4,8}|8[58]\\d{7})$": {
"description": "NLTo International",
"prefix": "+31"
},
"^\\+(112|14\\d{2,4})$": {
"description": "NLTo Special, emergency DOUBTS ON FORMAT may need to use safety region code base don the client location",
"prefix": "+"
}
},
"call_restriction": {
"tollfree_us": {
"action": "inherit"
},
"toll_us": {
"action": "inherit"
},
"emergency": {
"action": "inherit"
},
"caribbean": {
"action": "inherit"
},
"did_us": {
"action": "inherit"
},
"international": {
"action": "inherit"
},
"unknown": {
"action": "inherit"
}
},
"notifications": {
"voicemail_to_email": {
},
"fax_to_email": {
},
"deregister": {
},
"first_occurrence": {
"sent_initial_registration": true
}
},
"provision": {
},
"apps": [
],
"name": "obscured",
"realm": "sip.obscured.nl",
"billing_id": "e1cd20c3a257e7fb6566d08d0c5fcf4b",
"ui_metadata": {
"ui": "kazoo-ui",
"version": "v3.14-3"
},
"timezone": "America/Los_Angeles",
"caller_id": {
},
"caller_id_options": {
},
"media": {
"bypass_media": "auto"
},
"music_on_hold": {
},
"id": "fd0557c26c70451fe10281c8bbcfd8c8",
"created": 63575596785,
"available_apps": [
"voip",
"userportal",
"accounts",
"developer",
"numbers"
],
"pvt_whitelabel_domain": "manage.obscured.nl",
"pvt_account_id": "fd0557c26c70451fe10281c8bbcfd8c8",
"pvt_account_db": "account%2Ffd%2F05%2F57c26c70451fe10281c8bbcfd8c8",
"pvt_modified": 63575865282,
"pvt_created": 63575596785,
"pvt_enabled": true,
"pvt_tree": [
"e1cd20c3a257e7fb6566d08d0c5fcf4b"
],
"pvt_api_key": "05c8aac5089e47252267f0dc1de0bd2039199b8663bbb9738e77ba3dc0b39cfe",
"pvt_vsn": "1",
"pvt_type": "account"
}
yum info Kazoo*
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
The 2600hz repo is being worked on. One of our hardware nodes went down. There are two nodes, though, so it should still go through, but if not, it will be fixed as soon as our support company fixes it.
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
"dial_plan": {
"^+0(\\d{9,})$": {
"description": "Mob test",
"prefix": "+31"
},should be (dropping the '+')
"dial_plan": {
"^0(\\d{9,})$": {
"description": "Mob test",
"prefix": "+31"
},BestUK+44 "dial_plan": {
"^+0(\\d{9,})$": {
"description": "Mob test",
"prefix": "+31"
},
"^06(\\d{8,})$": {
"description": "Mob test1",
"prefix": "+31"
}
},
But no luck ((
Aug 25 21:24:44 sip1 2600hz[16165]: |frees...@free1.obscured.eu|ecallmgr_fs_route:131 (<0.915.0>) processing dialplan fetch request 786e1e4c-2c8d-11e4-9315-7566a867a1c7 (call ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.) from frees...@free1.obscured.eu
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|ts_route_req:24 (<0.19094.54>) received a request asking if trunkstore can route this call
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|ts_route_req:35 (<0.19094.54>) call began on the network
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_route_req:23 (<0.19095.54>) received a request asking if callflows can route this call
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_util:433 (<0.19095.54>) searching for callflow in account%2Ffd%2F05%2F57c26c70451fe10281c8bbcfd8c8 to satisfy '0622222222'
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|ts_callflow:48 (<0.19101.54>) request is not for a trunkstore account
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_util:482 (<0.19095.54>) lookup callflow patterns for 0622222222 in account%2Ffd%2F05%2F57c26c70451fe10281c8bbcfd8c8
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_util:433 (<0.19095.54>) searching for callflow in account%2Ffd%2F05%2F57c26c70451fe10281c8bbcfd8c8 to satisfy 'no_match'
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_route_req:40 (<0.19095.54>) callflow 83c15f5f179008cfc9c26349be63f9c0 in fd0557c26c70451fe10281c8bbcfd8c8 satisfies request
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_route_req:141 (<0.19095.54>) callflows knows how to route the call! sent park response
Aug 25 21:24:44 sip1 2600hz[16165]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|ecallmgr_fs_route:245 (<0.9645.16>) received affirmative route response for request 786e1e4c-2c8d-11e4-9315-7566a867a1c7
Aug 25 21:24:44 sip1 2600hz[16165]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|ecallmgr_fs_route:251 (<0.9645.16>) node frees...@free1.obscured.eu accepted route response for request 786e1e4c-2c8d-11e4-9315-7566a867a1c7
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_route_win:21 (<0.19121.54>) callflow has received a route win, taking control of the call
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_route_win:39 (<0.19121.54>) setting initial information about the call
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_attributes:365 (<0.19121.54>) initiating endpoint is owned by 64264035150d3842bffb002746c8fc8b
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_attributes:148 (<0.19121.54>) internal caller id <Robert Yummi> martexx
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_route_win:180 (<0.19121.54>) bootstrapping with caller id type internal: "Robert Yummi" martexx
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_endpoint:523 (<0.19121.54>) failed to create endpoint: call_forward_not_appropriate
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_endpoint:571 (<0.19121.54>) building a SIP endpoint
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_attributes:148 (<0.19121.54>) internal caller id <Robert Yummi> martexx
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_attributes:301 (<0.19121.54>) callee id <Robert Yummi> 0622222222
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_route_win:260 (<0.19121.54>) call has been setup, beginning to process the call
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:658 (<0.19124.54>) executing callflow 83c15f5f179008cfc9c26349be63f9c0
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:659 (<0.19124.54>) account id fd0557c26c70451fe10281c8bbcfd8c8
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:660 (<0.19124.54>) request 06222...@sip.obscured.nl
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:661 (<0.19124.54>) to 06222...@sip.obscured.nl:5060
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:662 (<0.19124.54>) from mar...@sip.obscured.nl
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:663 (<0.19124.54>) CID Robert Yummi martexx
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:665 (<0.19124.54>) inception on-net: using attributes for an internal call
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:668 (<0.19124.54>) authorizing id 2a0342ea1cb95fdc0b8b318031252c29
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:588 (<0.19124.54>) moving to action 'cf_resources'
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_attributes:144 (<0.19131.54>) emergency caller id <Robert Yummi> martexx
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_attributes:137 (<0.19131.54>) external caller id <Robert Yummi> martexx
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:622 (<0.19131.54>) action cf_resources died unexpectedly (error): badarg
Aug 25 21:24:44 sip1 2600hz[16112]: |0000000000|Undefined:Undefined (emulator) Error in process <0.19131.54> on node 'whistl...@sip1.obscured.eu' with exit value: {{nocatch,badarg},[{cf_exe,'-spawn_cf_module/3-fun-1-',4,[{file,"src/cf_exe.erl"},{line,624}]}]}#012#012
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:433 (<0.19124.54>) action cf_resources died unexpectedly: {{nocatch,badarg},[{cf_exe,'-spawn_cf_module/3-fun-1-',4,[{file,"src/cf_exe.erl"},{line,624}]}]}
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:316 (<0.19124.54>) continuing to child '_'
Aug 25 21:24:44 sip1 2600hz[16112]: |ZGRlZjQyZDk1MWY5ZmJjNGQwNDc2MDE3YjFiYzE0ZmY.|cf_exe:321 (<0.19124.54>) wildcard child does not exist, we are lost...hanging up
call began on the network Aug 25 21:45:46 sip1 2600hz[16112]: |NGE1ZTE1ODEwZDMxYTI0OGE4ZmE5ODRkNjY3ZDZmMGI.|ts_callflow:48 (<0.27488.54>) request is not for a trunkstore account Aug 25 21:45:46 sip1 2600hz[16112]: |NGE1ZTE1ODEwZDMxYTI0OGE4ZmE5ODRkNjY3ZDZmMGI.|cf_route_req:23 (<0.27484.54>) received a request asking if callflows can route this call Aug 25 21:45:46 sip1 2600hz[16112]: |NGE1ZTE1ODEwZDMxYTI0OGE4ZmE5ODRkNjY3ZDZmMGI.|cf_util:433 (<0.27484.54>) searching for callflow in account%2Ffd%2F05%2F57c26c70451fe10281c8bbcfd8c8 to satisfy '0611111111' Aug 25 21:45:46 sip1 2600hz[16112]: |NGE1ZTE1ODEwZDMxYTI0OGE4ZmE5ODRkNjY3ZDZmMGI.|cf_util:482 (<0.27484.54>) lookup callflow patterns for 0611111111 in account%2Ffd%2F05%2F57c26c70451fe10281c8bbcfd8c8 Aug 25 21:45:46 sip1 2600hz[16112]: |NGE1ZTE1ODEwZDMxYTI0OGE4ZmE5ODRkNjY3ZDZmMGI.|cf_util:433 (<0.27484.54>) searching for callflow in account%2Ffd%2F05%2F57c26c70451fe10281c8bbcfd8c8 to satisfy 'no_match' Aug 25 21:45:46 sip1 2600hz[16112]: |NGE1ZTE1ODEwZDMxYTI0OGE4ZmE5ODRkNjY3ZDZmMGI.|cf_route_req:40 (<0.27484.54>) callflow 83c15f5f179008cfc9c26349be63f9c0 in fd0557c26c70451fe10281c8bbcfd8c8 satisfies request
...
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
...
--
Hi Luis
i'm dialing 0449337500
},
"ringtones": {
},
"dial_plan": {
"^044(\\d{7,})$": {
"description": "test",
"prefix": "35344"
}
},
"call_restriction": {...
baffb05eb102f786627781cbc0017342
d42b0c619707afb0fd917ced3e81a830
or..the no_match callflow may have params to not apply the dial_plan, do_not_normalize, bypass_e164
--
...
...
...
--
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
| European reconsile regex and E.164 converters |
|
|
| Yumminova.eu |
|
|
|
|
|
|
|
|
|
|
| ///////////////////////////////////////////////////////////////////////////// |
| "default": { |
| "reconcile_regex": "^\\+?[1-9]\\d{5,}$|^0\\d{5,}$|^00\\d{5,}$", |
| "e164_converters": { |
| "^00(\\d*)$": { |
| "prefix": "+" |
| }, |
| "^([1-9]\\d{7,})$": { |
| "prefix": "+" |
| } |
| }, |
| ///////////////////////////////////////////////////////////////////////// |
| "dial_plan": { |
| "^00(\\d{5,})$": { |
| "description": "international", |
| "prefix": "+" |
| }, |
| "^0(\\d{5,})$": { |
| "description": "NL national", |
| "prefix": "+31" |
| }, |
| "^([1-9]\\d{4,})$": { |
| "description": "NL Amsterdam local", |
| "prefix": "+3120" |
| } |
| } |
Hi
Can someone shed a light on the future?
Im thinking on how to deal with internationalisation and especially how Kazoo will deal with that if it will at one time.
(will it?)
So we can create regexes in number_manager, but mostly for specific country´s if i look at them.
Im wondering if the dev team has plans to change this, i can imagine that if u run a cloud/cluster, its kind of silly to deploy a new one per country for that purpose alone (i can image having a cluster per country for other reasons though) Also, one may have clients that are based in a place and have numbers from different country´s
And it kind of takes the cloud out of the cloud.
So i have some ideas but i need to know the vision of the dev team on it, else it wold be wasted energy.
Comming from a porta system, i liked the way they do it, being able to specify the country, region and city so that a client can dial as they are used to.
So if thats something kazoo can support, i can create a tool to create rules easily and give them.
I suppose that if each account would have its own number_manager doc, we could do it rather easily (im no programmer )) then we could set the proper regexes in that doc and be done with it.
Can someone react on this, so i can decide what to do if i can do smth?
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
inline
lazedo schreef op 2-9-2014 16:11:
where did you get these samples from?
take this sample for portugal
"^00(\\d{5,})$": { "description": "international", "prefix": "+" },
// user dials 0031222797002 which is 00 international prefix, the countrycode from NL and the number, becomes +31222797002 and correct is it not?user dials 0012345 -> +35112345 => wrong
Where id u get the extra 1 ??
// Wrong indeed, Portugal does not use a leading zero for interlocal calls, but again u add numbers that i dont, i guess it should be changed but i still fail to see the error."^0(\\d{5,})$": { "description": "PT national", "prefix": "+351" },user dials 012345 -> +3512112345 => wrong
User dials 012345 should become +35112345 in the above example, if they would use a leading zero
"^([1-9]\\d{4,})$": { "description": "PT Lisbon local", "prefix": "+35121" }user dials 12345 -> +351212345 => wrong
// i´m clueless , a user located in Lisboa 21 will dial a local number : 22222> +3512122222 seems fine to me
the same thing happens to other countries.
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+" // takes any international number, strips the 00 and adds +// seems perfect
},
"^0(\\d{5,})$": {
"description": "NL national",
"prefix": "+31" // If i want to dial my home from amsterdam i dial 0222797002, this becomes +31222797002, perfect, also catches 0800 0900 06x and such)
},
"^([1-9]\\d{4,})$": {
"description": "NL Amsterdam local",
"prefix": "+3120" // If i dial our amsterdam office from an other amsterdam phone i dial 0206666666 > +31206666666, seems fine
}
}
Luis Azedo schreef op 2-9-2014 16:50:
Hi,
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/_P8crisJapw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
where did you get these samples from?
take this sample for portugal
"^00(\d{5,})$": {
"description": "international",
"prefix": "+"
},
user dials 0012345 -> +35112345 => wrong
Wrong assumption i think, i dot add +351, you do that )) I just strip the 00 and replace with +
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
"^0(\\d{5,})$": {
"description": "PT national",
"prefix": "+351"
},
user dials 012345 -> +3512112345 => wrong
//U put a 2 here that should not be there
//user dial 012345 we strip the 0 and prefix +351 bcomes +35112345
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
"^([1-9]\\d{4,})$": {
"description": "PT Lisbon local",
"prefix": "+35121"
}
user dials 12345 -> +351212345 => wrong
User located in Lisboa , the regex is the third inline and
starts with a value betwen 1 and 9, this covers all local
numbers, only the 9 is false as thats mobile, ill fix that. That
localnumber is then replaced by the country and Lisboa region
number
12345 becomes +3512112345 and is valid
Dont see the same error u seem to see
//They are wrong because of the five digits, that's sad )) I'll add more detailed instructions and will alter what I can and write explanation so users from a certain region can change to their needs.//
you are setting the lower limit to 5 which doesn't make sense because dialing rules in portugal require 9 digits always.
/
Yes but just as 2600hz did not create all specific rules for all numbers neither did I))
In our situation it makes sense as extensions are max 4 digits but I get your point, I will add this to instructions so that users can create their own rules based on their extensions length and details. That needs to be taken into account in the extensions regex in the GUI as well. As else one would have big problems.
If not it's impossible to have local dialing rules as they can always conflict with local phone numbers (hence it's easier to set this kind of stuff in the GUI to have some solid point to work from)
If we would know and set the extension format and length, country code and region code and some rules life would be easier ))//
also, by setting the lower limit to 5 you are preventing users from dialing 5, 6, 7,8 digit extensions.
Yup, that's right, and even ten and up, it was based on a 4 digits extension system to keep it simple, but I guess it's just not simple at all
I will write it up this week, thanks for explanation Luis, much appreciated
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 2014-09-16 03:25, Alexander Mustafin a écrit :
> Hello, guys.
>
> Thanks for your examples of internationalization. I've successfully
> set dial_plan. My problem now - is to set account language, because
> I want to use translated prompts.
>
> When I try to use 'sup whapps_account_config
> b5e3c8331af94176436bf5f8f4b12b04 media default_language fr-fr', I
> have the next error: 'Invalid command or wrong number of arguments,
> please try again'
>
> My Kazoo version: kazoo-R15B-3.16-17.el6.x86_64
>
> How to solve this problem? Does any other methods exist? Maybe, I
> may set variable in account?
>
The docs were wrong. Try:
sup whapps_account_config set b5e3c8331af94176436bf5f8f4b12b04 media
default_language fr-fr
Notice the *set* that was missing. Updating docs now.
- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"I thought I fixed that"
2600Hz | http://2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJUIFEVAAoJENTKa+JPXCVgQhkH/0WDxrNeWZUP8jCYfyAvxHtj
FQgYCcDoKnuUH5+mG4CoxvoZuuPPOfNYL/qJtOnWRVIlscCy5pC21v1gBrzsj2JK
Ht8Q7oYH8GU4Gl6qFCR48cUCtAYno8lodxDfm+3EuuY3Na1Akeq8fdknHJt8WHT2
YdsNYiVttb0BMnryR...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 2014-09-16 03:25, Alexander Mustafin a écrit :
> Hello, guys.
>
> Thanks for your examples of internationalization. I've successfully
> set dial_plan. My problem now - is to set account language, because
> I want to use translated prompts.
>
> When I try to use 'sup whapps_account_config
> b5e3c8331af94176436bf5f8f4b12b04 media default_language fr-fr', I
> have the next error: 'Invalid command or wrong number of arguments,
> please try again'
>
> My Kazoo version: kazoo-R15B-3.16-17.el6.x86_64
>
> How to solve this problem? Does any other methods exist? Maybe, I
> may set variable in account?
>
The docs were wrong. Try:
sup whapps_account_config set b5e3c8331af94176436bf5f8f4b12b04 media
default_language fr-fr
Notice the *set* that was missing. Updating docs now.
- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"I thought I fixed that"
2600Hz | http://2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJUIFEVAAoJENTKa+JPXCVgQhkH/0WDxrNeWZUP8jCYfyAvxHtj
FQgYCcDoKnuUH5+mG4CoxvoZuuPPOfNYL/qJtOnWRVIlscCy5pC21v1gBrzsj2JK
Ht8Q7oYH8GU4Gl6qFCR48cUCtAYno8lodxDfm+3EuuY3Na1Akeq8fdknHJt8WHT2
YdsNYiVttb0BMnryR71MnhnEmKNu65N8+ey/jpxH1THmOLsp0XqS1iLeHjzxlaYo
goxN2F73m+7f1zQzxB1HadekNL4s7NAHw9omVYfFADY8c7noeyqZ8iDm9wKZv9pP
YVVTXKBAodHR9ptq0Eb8Xn6j2MwLACZNjE9QbIj87lNgMupser409LgsH+fPv40=
=56iV
-----END PGP SI...