User guide

Port configuration VoIP phone ports
6-63
iMG/RG Software Reference Manual (Voice Service)
voip ep analogue set prt0 digitmap [2-4]xx
If the number dialled begins with anything other than 2, 3, or 4, the call is rejected and a busy tone is generated.
Another way to achieve the same result would be:
voip ep analogue set prt0 digitmap [234]xx
It is possible to combine two or more expressions in the same Digit Map by using the ‘|’ operator, which is
equivalent to OR. The left-most expression has precedence over the other expressions
Let’s consider the case of a choice: the Digit Map must check if the number is internal (an extension), or exter-
nal (a local call). Assuming that dialling ‘9’ makes an external call, the Digit Map could be defined with the com-
mand:
voip ep analogue set prt0 digitmap ([2-4]xx|9[2-9]xxxxxx)
In this case the Digit Map checks if the number begins with 2, 3, or 4 and the number has 3 digits
If not, it checks if the number begins with 9 and the second digit is any digit between 2 and 9 and the number
has 7 digits
It may sometimes be required that users dial the ‘#’ or ‘*’ to make calls.
This can be easily incorporated in a Digit Map with the command:
voip ep analogue set prt0 digitmap xxxxxxx#|xxxxxxx*
The ‘#’ or ‘*’ character could indicate that users must dial the ‘#’ or ‘*’ character at the end of their number to
indicate it is complete.
When the outgoing call is in process, the call control layer removes any '#'', '*' and 'T' symbols from the dialled
number.
6.3.1.2 Dial mask
The Dial Mask specifies the number of digits that must be removed from the dialled number before checking the
dialled number against the Digit Map.
6.3.1.3 Voice coder/decoder
The Voice system makes use of a specific DSP with an embedded sigma-delta Coder/Decoder to process voice
and data from/to access ports.
Different codec types are available in order to satisfy the requirements of different environments.
It's possible to specify more than one codec type for each port using the command VOIP EP ANALOGUE SET
CODECS.
The codec specified at the leftmost ends of the codec list has precedence over the other codecs.