SIP User's Manual  418  Document #: LTRT-12804 
  Mediant 800 MSBG 
 
8.3.1.4  Dial Plan Prefix Tags for IP-to-Tel Routing 
The device supports the use of string labels (or "tags") in the external Dial Plan file for 
tagging incoming IP-to-Tel calls. The special “tag” is added as a prefix to the called party 
number, and then the 'Inbound IP Routing Table' uses this “tag” instead of the original 
prefix. Manipulation is then performed after routing in the Manipulation table, which strips 
the “tag” characters before sending the call to the endpoint. 
This feature resolves the limitation of entries in the 'Inbound IP Routing Table' (IP-to-Tel 
call routing) for scenarios in which many different routing rules are required. For example, a 
city may have many different area codes, some for local calls and others for long distance 
calls (e.g. 425-202-xxxx for local calls, but 425-200-xxxx for long distance calls).  
For using tags, the Dial Plan file is defined as follows: 
  Number of dial plan (text) 
  Dial string prefix (ranges can be defined in brackets) 
  User-defined routing tag (text) 
 
 
Note:  Dial Plan Prefix Tags are not applicable to FXS and FXO interfaces. 
 
The example configuration below assumes a scenario where multiple prefixes exist for 
local and long distance calls: 
¾  To use Dial Plan file routing tags: 
1.  Load an ini file to the device that selects the Dial Plan index (e.g., 1) for routing tags, 
as shown below: 
 
IP2TelTaggingDestDialPlanIndex = 1 
 
2.  Define the external Dial Plan file with two routing tags (as shown below): 
•  "LOCL" - for local calls 
•  "LONG" - for long distance calls 
 
[ PLAN1 ] 
42520[3-5],0,LOCL 
425207,0,LOCL 
42529,0,LOCL 
425200,0,LONG 
425100,0,LONG 
 
Therefore, if an incoming IP call to destination prefix 425203 (for example) is received, 
the device adds the prefix tag "LOCL" (as specified in the Dial Plan file), resulting in 
the number "LOCL425203". 
3.  Assign the different tag prefixes to different Hunt Groups in the 'Inbound IP Routing 
Table' (Configuration tab > VoIP menu > GW and IP to IP submenu > Routing 
submenu > IP to Trunk Group Routing): 
•  The 'Dest. Phone Prefix' field is set to the value "LOCL" and this rule is assigned 
to a local Hunt Group (e.g. Hunt Group ID 1).