MikroTik RouterOS v2.9 Reference Manual page 695

Reference manual
Table of Contents

Advertisement

dial-peer voice 98 voip
destination-pattern 098
voice-class codec 1
session target ipv4:10.0.0.98
!
!
line con 0
transport input none
line aux 0
line vty 0 4
password 123
login
!
end
Setting up PBX to PBX Connection over an IP Network
To interconnect two telephone switchboards (PBX) over an IP network, two IP telephony gateways
should be configured. The setup is shown in the following diagram:
We want to be able to use make calls from local telephones of one PBX to local telephones or
external lines of the other PBX.
Assume that:
The IP telephony gateway #1 has IP address 10.0.0.182, and the name of the Voicetronix first
line is 'vctx1'.
The IP telephony gateway #2 has IP address 10.0.0.183, and the name of the Voicetronix first
line is 'vctx1'.
The IP telephony configuration should be as follows:
IP telephony gateway #1 should have:
/ip telephony voice-port voip add name=gw2 remote-address=10.0.0.183 /ip telephony
numbers add dst-pattern=1.. voice-port=gw2 prefix=2 add dst-pattern=2..
voice-port=vctx1 prefix=1
IP telephony gateway #2 should have
/ip telephony voice-port voip add name=gw1 remote-address=10.0.0.182 /ip telephony
numbers add dst-pattern=2.. voice-port=vctx1 prefix=1 add dst-pattern=1..
voice-port=gw1 prefix=2
The system works as follows:
To dial from the main office PBX#1 any extension of the remote office PBX#2, the extension with
the connected gateway at PBX#1 should be dialed first. Then, after the dial tone of the gateway#1 is
received, the remote extension number should be dialed.
To dial from the main office PBX#2 any extension of the remote office PBX#1, the actions are the
same as in first situation.
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.
Page 681 of 695

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RouterOS v2.9 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF