MikroTik RouterOS v2.9 Reference Manual page 681

Reference manual
Table of Contents

Advertisement

Description
This is the so-called "routing table" for voice calls. This table assigns numbers to the voice
ports.The main function of the numbers routing table is to determine:
to which voice port route the call
what number to send over to the remote party
Property Description
dst-pattern ( integer ) - pattern of the telephone number. Symbol '.' designate any digit, symbol '_'
(only as the last one) designate any symbols (i.e. any number of characters can follow, ended with
'#' button)
voice-port ( name ) - voice port to be used when calling the specified telephone number
prefix ( integer ) - prefix, which will be used to substitute the known part of the dst-pattern, i.e., the
part containing digits. The dst-pattern argument is used to determine which voice port to be used,
whereas the prefix argument designates the number to dial over the voice port (be sent over to the
remote party). If the remote party is an IP telephony gateway, then the number will be used for
making the call
Notes
More than one entry can be added with exactly the same dst-pattern. If first one of them is already
busy, next one with the same dst-pattern is used. Telephony number entries can be moved, to
select desired order.
Example
Let us consider the following example for the number table:
[admin@MikroTik] ip telephony numbers> print
Flags: I - invalid, X - disabled, D - dynamic, R - registered
#
DST-PATTERN
0
12345
1
1111.
2
22...
3
...
[admin@MikroTik] ip telephony numbers>
We will analyze the Number Received (nr) - number dialed at the telephone, or received over the
line, the Voice Port (vp) - voice port to be used for the call, and the Number to Call (nc) - number to
be called over the Voice Port.
If nr=55555, it does not match any of the destination patterns, therefore it is rejected
If nr=123456, it does not match any of the destination patterns, therefore it is rejected
If nr=1234, it does not match any of the destination patterns (incomplete for record #0),
therefore it is rejected
If nr=12345, it matches the record #0, therefore number "" is dialed over the voice port XX
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.
VOICE-PORT PREFIX
XX
YY
ZZ
333
QQ
55
Page 667 of 695

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents