MikroTik RouterOS v2.9 Reference Manual page 693

Reference manual
Table of Contents

Advertisement

This may take a few seconds, please wait....
Commit to flash memory ok!
usr/config$ pbook -print
index
Name
======================================================================
1
gw
----------------------------------------------------------------------
usr/config$
Making calls from the IP telephone 10.5.8.2:
Just lift the handset and dial '11', or '13' fo the PBX extensions.
Dial '33' for [Joe]. The call request will be sent to the gateway 10.1.1.12, where it will be
forwarded to [Joe]. If you want to call [Joe] directly, add a phonebook record for it:
usr/config$ pbook -add name Joe ip 10.0.0.224 e164 33
Use the telephony logging feature on the gateway to debug your setup.
Setting up MikroTik Router and CISCO Router
Let's try a different example.
Here are some hints on how to get working configuration for telephony calls between CISCO and
MikroTik router.
Configuration on the MikroTik side
G.729a codec MUST be disabled (otherwise connections are not possible at all!!!)
/ip telephony codec disable G.729A-8k/sw
G.711-ALaw codec should not be used (in some cases there is no sound)
/ip telephony codec disable "G.711-ALaw-64k/sw G.711-ALaw-64k/hw"
Fast start has to be used (otherwise no ring-back tone and problems with codec negotiation)
/ip telephony voice-port set cisco fast-start=yes
Telephone number we want to call to must be sent to Cisco, for example
/ip telephony numbers add destination-pattern=101 voice-port=cisco prefix=101
Telephone number, cisco will call us, must be assigned to some voice port, for example,
/ip telephony numbers add destination-pattern=098 voice-port=linejack
Configuration on the CISCO side:
IP routing has to be enabled
ip routing
Default values for fast start can be used:
voice service pots default h323 call start exit voice service voip default h323 call
start exit
Enable opening of RTP streams:
voice rtp send-recv
Assign some E.164 number for local telephone, for example, 101 to port 0/0
dial-peer voice 1 pots destination-pattern 101 port 0/0 exit
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.
IP
10.1.1.12
E164
Page 679 of 695

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents