12.07.2015 Views

Admin Guide - VoIP software provider

Admin Guide - VoIP software provider

Admin Guide - VoIP software provider

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. Routing4.4.1. Dial patternsThe “dial patterns” terminology is not used with the mizu voip server. You can apply the number rewrite rules by the following ways(starting from simple to more complex rewrite rules)1. Number normalization: Opent the “Configurations” form and search for the “normalize” string to list all related settings.2. These settings can be used for basic number “normalization” to remove strange characters (like new line) and to remove IECcode. By default this is set to remove the common international escape codes (00,+). To turn this off, change the followings:a) set cfg_normalizenumbers below 3 (2 should be good)b) set normalize_localpx to 0c) set “normalize_clean“ value below 4 (3 should be fine)3. Tech prefix: tech prefix related operation should be done by using the “techprefix” box in the “Users and devices” form. Setthis for the “SIP servers” where a specified tech prefix needs to be sent or set it for the “Traffic sender” when you receive thetraffic with a techprefix from some routes.4. Prefix rules: this is used for simple prefix add/remove operations. (discussed below)5. Dial plans: you should use this option if you need full control4.4.2. FirewallThe firewall rules are checked first when a call are initiated (SETUP or INVITE received), so this is the most effective way to block someunwanted traffic sender.All ip address are allowed except those are listed if the ip with „*‟ is 1.Otherwise (if the ip „*‟ is set to 0) all address are blocked except those that are listed here.4.4.3. Dial PlansDuring the routing process you can modify the caller and called number with the dialplan stored procedure (v_dialplan)v_dialplan can be called several times during the routing depending on the checkdialplan1-4 global config option.For CLI and A number rewrite it is enough to set checkdialplan4 to true (after routing) and check/rewrite the numbers using the LIKE operator(wildcards are enabled).Input parameters:@calledat TINYINT, /*1=first check, 2=after authentication, 3=before routing out, 4=after routing out*/@protocoll TINYINT, /*0=SIP, 1=H323, 2=GSM, 3=Other*/

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

Saved successfully!

Ooh no, something went wrong!