![MikroTik RouterOS v2.9 Reference Manual Download Page 693](http://html1.mh-extra.com/html/mikrotik/routeros-v2-9/routeros-v2-9_reference-manual_1794644693.webp)
This may take a few seconds, please wait....
Commit to flash memory ok!
usr/config$ pbook -print
index
Name
IP
E164
======================================================================
1
gw
10.1.1.12
----------------------------------------------------------------------
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
Page 679 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.