•
If nr=11111, it matches the record #1, therefore number "1" is dialed over the voice port YY
•
If nr=22987, it matches the record #2, therefore number "333987" is dialed over the voice port
ZZ
•
If nr=22000, it matches the record #2, therefore number "333000" is dialed over the voice port
ZZ
•
If nr=444, it matches the record #3, therefore number "55444" is dialed over the voice port QQ
Let us add a few more records:
[admin@MikroTik] ip telephony numbers> print
Flags: I - invalid, X - disabled, D - dynamic, R - registered
#
DST-PATTERN
VOICE-PORT PREFIX
0
12345
XX
1
1111.
YY
2
22...
ZZ
333
3
...
55
4
222
KK
44444
5
3..
LL
553
[admin@MikroTik] ip telephony numbers>
•
If nr=222 => the best match is the record #4 => nc=44444, vp=KK (note: the 'best match'
means that it has the most coinciding digits between the nr and destination pattern).
•
If nr=221 => incomplete record #2 => call is rejected
•
If nr=321 => the best match is the record #5 => nc=55321, vp=LL
•
If nr=421 => matches the record #3 => nc=55421, vp=QQ
•
If nr=335 => the best match is the record #5 => nc=55321, vp=LL
Let us add a few more records:
[admin@MikroTik] ip telephony numbers> print
Flags: I - invalid, X - disabled, D - dynamic, R - registered
Flags: I - invalid, X - disabled, D - dynamic, R - registered
#
DST-PATTERN
VOICE-PORT PREFIX
0
12345
XX
1
1111.
YY
2
22...
ZZ
333
3
...
55
4
222
KK
44444
5
3..
LL
553
6
33...
MM
33
7
11.
NN
7711
[admin@MikroTik] ip telephony numbers>
•
If nr=335 => incomplete record #6 => the call is rejected. The nr=335 fits perfectly both the
record #3 and #5. The #5 is chosen as the 'best match' candidate at the moment. Furthermore,
there is record #6, which has two matching digits (more than for #3 or #5). Therefore the #6 is
chosen as the 'best match'. However, the record #6 requires five digits, but the nr has only
three. Two digits are missing, therefore the number is incomplete. Two additional digits would
be needed to be entered on the dialpad. If the number is sent over from the network, it is
rejected.
•
If nr=325 => matches the record #5 => nc=55325, vp=LL
Page 668 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.
Содержание RouterOS v2.9
Страница 1: ...MikroTik RouterOS v2 9 Reference Manual ...