12.07.2015 Views

Admin Guide - Mizu Voip

Admin Guide - Mizu Voip

Admin Guide - Mizu Voip

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4.3. Normalize numbersBy default the server will "normalize" all numbers. This means that it will clean the numbers from garbage characters, sql injection attacks andmight remove/add IEC/CC/NEC prefix based on the circumstances and global configuration (international escape code, country code).This behaviour can be quickly changed by the normalizedef setting for which you can assign the following values:-1: default, recommended (mostly like 2) [validateinput=3; normalizenumbers=2; normalizecallednumbersnec=-1;]0: don't tauch (dangerous) [validateinput=0; normalizenumbers=0; normalizecallednumbersnec=0;]1: minimal (clean the numbers) [validateinput=1; normalizenumbers=1; normalizecallednumbersnec=1;]2: basic (clean the numbers) [validateinput=2; normalizenumbers=1; normalizecallednumbersnec=1;]3: normal (remove IEC like + and 00) [validateinput=3; normalizenumbers=2; normalizecallednumbersnec=1;]4: strict (might add CC and rewrite NEC) [validateinput=4; normalizenumbers=3; normalizecallednumbersnec=2;]5: extra (full input checking and number rewrite) [validateinput=5; normalizenumbers=4; normalizecallednumbersnec=3;]It is recommended to leave this setting with it's default -1 value and you should change it only to have full control on number rewrite rules (setto 1) or if you wish to set a strict checking (set to 3)Usually you should leave this (and the other related global config options below) with the default values and you might add your own sepcialnumber rewrite rules by the "Rewrite" module if you need so.If you want more control for the rules, then you should leave it with the default setting of -1 and change the global config options below.If you want full control for the rules, then you should set it to 2 (or 1) and use the "Rewrite" module to add your rules.Other global configuration options related to number "normalization" and rewrite are the followings:outgoingprefixremove:List of prefixes to be removed form the called number for outgoing calls separated by commaFor example +,00outgoingprefixadd:Set any string prefix which will be applied for called numbers for all outgoing calls.For example +.If you need to change the prefix only to one direction, then use the "Rules".

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!