Specifications

Configuration and Maintenance Manual
48
2. Type the specific rules you want the conferencing server to follow when processing dialed
digits or SIP addresses. An example is shown below:
Consider adding DAS rules to reflect your calling area. In the example below, 602 is used
for an area code in Phoenix, Arizona.
First Half – what is being searched for (between “s/” and the second “/”)
^: beginning of string to search
\+1: phone numbers that start with a “1”
(602.*): “grab” any phone number that starts with a “602” and “save it”
Second Half – the replacement (between second “/” and third “/”)
8: most often 8 is used as the first number (the Mitel Communications Director (MCD)
uses either 8 or 9 to get an outside line, the Mitel 5000 uses 8.)
\1: this is the “(602.*)” that was “saved” in the first half (the complete phone number)
@: literally, the “@” sign
(PRIMARYINTERNALIP): variable for the main IP address
In the example, any phone number starting with 1602 will have the leading “1” stripped
off, replacing it with an “8”, the number, @, and then the IP address. Table 7 provides
additional descriptions for DAS rule syntax. Assuming the phone number to be dialed
is 1-602-555-1212 and the IP address configured is 192.168.22.55 results in:
16025551212 becomes 86025551212@192.168.22.55
DAS Rule 1 = s/^\+(.{4}$)/\1@$(PRIMARYINTERNALIP)/
DAS Rule 2 = s/^\+(.{5}$)/\1@$(PRIMARYINTERNALIP)/
DAS Rule 3 = s/^\+x(.*)/\1@$(PRIMARYINTERNALIP)/
DAS Rule 4 = s/^\+1(.*)/81\1@$(PRIMARYINTERNALIP)/
DAS Rule 5 = s/^\+(.*)/8011\1@$(PRIMARYINTERNALIP)/
Linux syntax
(must be the same for all DAS Rules)
International direct dialing prefix
Server IP address
Length of Intercom Call (IC) extension
Outside line dialing prefix
National direct dialing prefix
First Half
Second Half
s/^\+1(602.*)/8\1@$(PRIMARYINTERNALIP)/