Digium, Inc.
Page 90
Chapter 3: Telephone System Configuration
Figure 29: Incoming Calling Rules
There are only a few options you will need to define to create a new rule.
Trunk - Select the trunk which the incoming rule should apply to from
the drop-down list. The trunk can be either an analog or VoIP trunk.
Time Interval - Select the time interval from the list available in the
drop-down list. You may have created time intervals for business
hours, weekend hours, holiday time, etc. You can also select None if
you want to bypass any time intervals or patterns.
Pattern - The Pattern field gives you the ability to use basic pattern
matching to differentiate calls and route them accordingly. For
instance, if a number begins with _9256, and is followed by 7 or more
digits, that would define a call within the state of Alabama. If a call
began with _9 followed by 7 digits, it would be a local call that proba-
bly doesn’t require a long distance charge. Instead of adding a rule for
every extension or phone number you call, specify the pattern in this
rule similar to the example. All patterns begin with the underscore “_”
character. There are special characters which can be used in patterns:
–
X - Any digit from 0-9