One-Channel GSM VoIP Gateway
38
The basic syntax is “<
event
>:<
action
>|<
event
>:<
action
>|…”, where
<
event
> defines the event to be matched. An event consists of a sequence of digits. If a
specific digit has a limited range, use the syntax [A-B] where A and B are both digit (0 to 9)
and B is greater than A. The length of the input number can be limited by using “X” to
represent each unknown digit. If this field is omitted, it means any event.
<
action
> defines the action to be taken when a phone number is received. It consists of
“–“ (minus), “+” (plus), and digits. “-“ followed by digits means to remove the digits from
the beginning of the number. “+” followed by digits means to add the digits in front of the
number.
“|” means “or” and the order of priority is from left to right.
Note: For practical use, there should be no limitation on the length of dial plan string.
Examples:
1.
Dial Plan = “010:-010” means that the first 3 digits ”010” of dialed number will be
removed if the first 3 digits of dialed number are “010”..
a)
Number entered = “01082121234”, actual number dialed = “82121234”.