Difference between revisions of "Number Manipulation"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 10: | Line 10: | ||
Client has such situation: | Client has such situation: | ||
My customers are mainly in Italy. To call to Italy they are not gonna put | My customers are mainly in Italy. To call to Italy they are not gonna put 0039 country code, | ||
while they do put country code when the want to call other countries. | while they do put 00 and country code when the want to call other countries. | ||
Then, on the other side, my provider aspect numbers to Italy without | Then, on the other side, my provider aspect numbers to Italy without 0039 country code, | ||
while to other countries they do aspect it before the called number. | while to other countries they do aspect it before the called number. | ||
Line 19: | Line 19: | ||
* Numbers clients dial are 10 digits in length. More info about Italian number format: http://en.wikipedia.org/wiki/%2B39 | * Numbers clients dial are 10 digits in length. More info about Italian number format: http://en.wikipedia.org/wiki/%2B39 | ||
* '+' is not used, it | * '+' is not used, it should be changed to '00' | ||
To handle such situation such actions should be taken: | To handle such situation such actions should be taken: | ||
Line 26: | Line 26: | ||
* All devices from Italy should be assigned to this Location | * All devices from Italy should be assigned to this Location | ||
* Rules in Location Italy: | * Rules in Location Italy: | ||
** Name: 'Local Italy', Cut: | ** Name: 'Local Italy', Cut: (empty), Add: 39, Min: 10, Max: 10 | ||
** Name: 'International', Cut: 00, Add: (empty), Min: 14, Max: 14 | |||
* Provider Rules for Provider through which call will be terminated: | * Provider Rules for Provider through which call will be terminated: | ||
** Name: 'Local Italy', Cut: '39', Add: '' (empty), Min: 12, Max: 12 | ** Name: 'Local Italy', Cut: '39', Add: (empty), Min: 12, Max: 12 | ||
** Name: 'International', Cut: (empty), Add: 00, Min: 12, Max: 12 |
Revision as of 15:44, 24 June 2008
Localization
Main idea of Localization: No matter how user dials number (destination) when localized it should be in e.164 format.
Localization has nothing in common with numbers you send to providers. It operates with numbers received from caller.
Example 1 - Italy
Client has such situation:
My customers are mainly in Italy. To call to Italy they are not gonna put 0039 country code, while they do put 00 and country code when the want to call other countries.
Then, on the other side, my provider aspect numbers to Italy without 0039 country code, while to other countries they do aspect it before the called number.
NOTES:
- Numbers clients dial are 10 digits in length. More info about Italian number format: http://en.wikipedia.org/wiki/%2B39
- '+' is not used, it should be changed to '00'
To handle such situation such actions should be taken:
- Location 'Italy' should be created
- All devices from Italy should be assigned to this Location
- Rules in Location Italy:
- Name: 'Local Italy', Cut: (empty), Add: 39, Min: 10, Max: 10
- Name: 'International', Cut: 00, Add: (empty), Min: 14, Max: 14
- Provider Rules for Provider through which call will be terminated:
- Name: 'Local Italy', Cut: '39', Add: (empty), Min: 12, Max: 12
- Name: 'International', Cut: (empty), Add: 00, Min: 12, Max: 12