VoIP phone ports
Port configuration
iMG/RG Software Reference Manual (Voice Service)
6-62
•
Digit Map/Dial Mask
•
Voice Coder/Decoder
•
Voice Quality Management
•
Telecom Tone Management
6.3.1.1 Digit map
The
Digit Map
is a rule used by the access port to understand when dialling is to be considered completed and
the dialled number is ready to be processed by the call control layer. It works for outgoing calls (in the direction
from user to VoIP network).A digit map is defined either by a (case insensitive)
string
or by a list of strings.
Each string in the list is an alternative numbering scheme, specified either as a set of digits or timers, or as an
expression over which the port will attempt to find a shortest possible match. The following constructs can be
used in each digit map:
•
DTMF
A digit from '0' to '9' or one of the symbols ‘A’, ‘B’, ‘C’, ‘D’. Symbols ‘#’ or ‘*’, if necessary, have to be added
separately.
•
Timer
The symbol 'T' matching the timer expiry. The symbol 'T' at the end of Digit Map indicates that if user has
not dialled a digit for a time longer than the value of the inter-digit time, the dialled number shall be consid-
ered complete. If the symbol T appears in the middle of digit map expression is not considered and skipped
during expression evaluation.
•
Wildcard
The symbol ‘x’, which matches any digit (‘ 0’
to ‘9’ ).
•
Range
One or more DTMF symbols enclosed between square brackets (‘ [‘ and ‘]’).
•
Subrange
Two digits separated by a hyphen (‘ -’ ) that matches any digit between and including the two. The subrange
construct can only be used inside a range construct, i.e., between ‘[‘ and ‘]’.
•
Position
A period (‘.’), which matches an arbitrary number, including zero, of occurrences of the preceding construct.
Also, note that the whole
Digit Map
shall not exceed 128 characters.
Let’s consider an example where the user in an office wants to call a co-worker’s 3-digit extension. The
Digit
Map
is defined in such a way that the called number is processed after the user has entered 3 digits.
The command to set the
Digit Map
could look as follows:
voip ep analogue set prt0 digitmap xxx
This
Digit Map
specifies that after the user has entered any three digits, the call is placed. It's possible to refine
this Digit Map by including a range of digits. For example, if all extensions in the user company begin with 2, 3,
or 4, the corresponding
Digit Map
command could look as: