MikroTik RouterOS v2.9 Reference Manual page 690

Reference manual
Table of Contents

Advertisement

Setting up the MikroTik IP Telephone
If you pick up the handset, a dialtone should be heard.
The basic telephony configuration should be as follows:
Add a voip voice port to the /ip telephony voice-port voip for each of the devices you want to
call, or want to receive calls from, i.e., (the IP telephony gateway 10.1.1.12 and the Welltech
IP telephone 10.5.8.2):
[admin@Joe] ip telephony voice-port voip> add name=gw remote-address=10.1.1.12
[admin@Joe] ip telephony voice-port voip> add name=rob remote-address=10.5.8.2
[admin@Joe] ip telephony voice-port voip> print Flags: X - disabled, D - dynamic, R
- registered # NAME AUTODIAL REMOTE-ADDRESS JITTER-BUFFER PREFERED-CODEC SIL FAS 0
gw 10.1.1.12 100ms none no yes 1 rob 10.5.8.2 100ms none no yes [admin@Joe] ip
telephony voice-port voip>
You should have three vioce ports now:
[admin@Joe] ip telephony voice-port> print Flags: X - disabled # NAME TYPE AUTODIAL
0 linejack1 linejack 1 gw voip 2 rob voip [admin@Joe] ip telephony voice-port>
Add at least one unique number to the /ip telephony numbers for each voice port. This
number will be used to call that port:
[admin@Joe] ip telephony numbers> add dst-pattern=31 voice-port=rob [admin@Joe] ip
telephony numbers> add dst-pattern=33 voice-port=linejack1 [admin@Joe] ip telephony
numbers> add dst-pattern=1. voice-port=gw prefix=1 [admin@Joe] ip telephony numbers>
print Flags: I - invalid, X - disabled, D - dynamic, R - registered # DST-PATTERN
VOICE-PORT PREFIX 0 31 rob 31 1 33 linejack1 2 1. gw 1 [admin@Joe] ip telephony
numbers>
Here, the dst-pattern=31 is to call the Welltech IP Telephone, if the number 31 is dialed on
the dialpad. The dst-pattern=33 is to ring the local telephone, if a call for number 33 is
received over the network. Anything starting with digit '1' would be sent over to the IP
Telephony gateway.
Making calls from the IP telephone 10.0.0.224:
To call the IP telephone 10.5.8.2, it is enough to lift the handset and dial the number 31
To call the PBX extension 13, it is enough to lift the handset and dial the number 13
After establishing the connection with 13, the voice port monitor shows:
[admin@Joe] ip telephony voice-port linejack> monitor linejack status: connection
port: phone direction: port-to-ip line-status: unplugged phone-number: 13
remote-party-name: PBX_Line [10.1.1.12] codec: G.723.1-6.3k/hw duration: 16s
[admin@Joe] ip telephony voice-port linejack>
Setting up the IP Telephony Gateway
The IP telephony gateway [voip_gw] requires the following configuration:
Set the regional setting to match our PBX. The mikrotik region will be used in thisn example:
[admin@voip_gw] ip telephony voice-port linejack> set linejack1 region=mikrotik
[admin@voip_gw] ip telephony voice-port linejack> print
Flags: X - disabled
0
name="linejack1" autodial="" region=mikrotik playback-volume=0
Page 676 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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents