05.01.2015 Views

MikroTik RouterOS™ v2.9

MikroTik RouterOS™ v2.9

MikroTik RouterOS™ v2.9

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

call rsvp-sync<br />

voice rtp send-recv<br />

!<br />

voice class codec 1<br />

codec preference 1 g711ulaw<br />

codec preference 2 g723r63<br />

!<br />

interface FastEthernet0<br />

ip address 10.0.0.101 255.255.255.0<br />

no ip mroute-cache<br />

speed auto<br />

half-duplex<br />

!<br />

ip classless<br />

ip route 0.0.0.0 0.0.0.0 10.0.0.1<br />

no ip http server<br />

!<br />

dialer-list 1 protocol ip permit<br />

dialer-list 1 protocol ipx permit<br />

!<br />

voice-port 0/0<br />

!<br />

voice-port 0/1<br />

!<br />

voice-port 2/0<br />

!<br />

voice-port 2/1<br />

!<br />

dial-peer voice 1 pots<br />

destination-pattern 101<br />

port 0/0<br />

!<br />

dial-peer voice 97 voip<br />

destination-pattern 097<br />

session target ipv4:10.0.0.97<br />

codec g711ulaw<br />

!<br />

dial-peer voice 98 voip<br />

destination-pattern 098<br />

voice-class codec 1<br />

session target ipv4:10.0.0.98<br />

!<br />

!<br />

line con 0<br />

transport input none<br />

line aux 0<br />

line vty 0 4<br />

password 123<br />

login<br />

!<br />

end<br />

Setting up PBX to PBX Connection over an IP Network<br />

To interconnect two telephone switchboards (PBX) over an IP network, two IP telephony gateways<br />

should be configured. The setup is shown in the following diagram:<br />

Page 601 of 615<br />

Copyright 1999-2005, <strong>MikroTik</strong>. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.<br />

Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!