Setup guide

ip address 10.0.0.101 255.255.255.0
no ip mroute-cache
speed auto
half-duplex
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
no ip http server
!
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipx permit
!
voice-port 0/0
!
voice-port 0/1
!
voice-port 2/0
!
voice-port 2/1
!
dial-peer voice 1 pots
destination-pattern 101
port 0/0
!
dial-peer voice 97 voip
destination-pattern 097
session target ipv4:10.0.0.97
codec g711ulaw
!
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..