×

Cisco Unified CME basic setup

lixiaoyao lixiaoyao 发表于2021-02-16 22:40:30 浏览2188 评论0

抢沙发发表评论

Cisco Unified Communications Manager Express (CME) - Based on cisco iOS™, this ATS is an integrated solution for processing and managing telephone connections in Cisco IP telephony for a small office or offline remote office.

CME Preparatory Setting

The Cisco CallManager Express preparatory setting is to update the router's software, with the aim of adding an XML configuration to the phone. In the current article we will use Cisco phones 78XX series.

This series of phones is officially supported on iOS 15.4(1)T software and above. If, for any reason, you can't upgrade to the current version of iOS, you should create registration profiles yourself. These settings are presented in Table 1.

Модель IP PhoneRecommended configuration
7821voice register pool-type  7821


xml-config maxNumCalls 6

xml-config busyTrigger 6

xml-config custom sshAccess 0

num-lines 2

description Cisco IP Phone 7821

reference-pooltype 6921

7841voice register pool-type  7841


xml-config maxNumCalls 6

xml-config busyTrigger 6

xml-config custom sshAccess 0

num-lines 4

description Cisco IP Phone 7841

reference-pooltype 6941

7861voice register pool-type  7861


xml-config maxNumCalls 6

xml-config busyTrigger 6

xml-config custom sshAccess 0

num-lines 16

description Cisco IP Phone 7861

reference-pooltype 6961

Set up DHCP

A zero point is the setting up of a dhcp server on the router, as almost all phones are set up to receive an IP address in this way by default. An example of the configuration is below.

CME#conf t
CME#(config)ip dhcp pool Voice 
CME#(config-ip-dhcp)network 172.17.5.0 255.255.255.0
CME#(config-ip-dhcp)default-router 172.17.5.1
CME#(config-ip-dhcp)option 150 ip 172.17.5.1
CME#(config-ip-dhcp)exit

Description:

  • ip dhcp pool is the creation of a DHCP server.

  • the network is the definition of the subnet from which addresses will be issued.

  • default-router is the default gateway address.

  • option 150 IP Address- 150 option transmits in DHCP settings, tftp server address.

Set up the codecs you use

A description of the class of codecsthat will be available for selecting SIP subscribers when agreed in the appropriate order.

CME#conf t
CME#(config)voice class codec 1
CME#(config-voice)codec preference 1 g711alaw 
CME#(config-voice)codec preference 2 g711ulaw
CME#(config-voice)codec preference 3 g729br8

Description:

  • Voice class codec is the creation of a class of codecs.

  • codec preference is the priority of codec use.

SET up VOIP encapsulation (Voice over IP)

This paragraph describes the setting between the different endpoints, namely the resolution of all types of calls.

CME#(config)voice service voip 
CME#(config-voice)allow-connections h323 to h323
CME#(config-voice)allow-connections h323 to sip
CME#(config-voice)allow-connections sip to h323
CME#(config-voice)allow-connections sip to sip
CME#(config-voice)sip 
CME#(conf-serv-sip)bind control source-interface FastEthernet0/0
CME#(conf-serv-sip)bind media source-interface FastEthernet0/0 
CME#(conf-serv-sip)registrar server 
CME#(conf-serv-sip)#registrar server expires max 600 min 60

Description:

  • voice service voip - log in to set up the interaction between calls.

  • allow-connections h323 to h323 - Resolution of calls such as H.323 on H.323.

  • allow-connections sip to h323 - Sip call resolution on H.323.

  • allow-connections sip to sip - Allowing SIP-type calls on SIP.

  • sip - Log in to SIP setting mode

  • Bind control source-interface FastEthernet0/0 - set the interface for labeling alarm packets.

  • bind media source-interface FastEthernet0/0 - set the interface for labeling packages with voice.

  • registrar server expires max 600 min 60 - set the minimum time before re-registration IP phones. This is to ensure that after the CME reboot, it automatically re-registers IP phones, because when rebooted, CME does not retain a database of registered IP phones.

Turning on support sip phones

All settings regarding the SIP protocol take place in the voice register global section.

CME#(config)voice register global 
CME#(conf-voi-serv)source-address 172.17.5.1 port 5060 
CME#(conf-voi-serv)max-dn 10 
CME#(conf-voi-serv)max-pool 5  
CME#(conf-voi-serv)load 7821 sip78xx.11-5-1SR1-1 
CME#(conf-voi-serv)timezone 34 
CME#(conf-voi-serv)time-format 24 
CME#(conf-voi-serv)date-format D/M/Y

Description:

  • voice register global - includes support for SIP phones

  •  mode cme - CME mode

  •  source-address 172.17.5.1 port 5060 - IP address for registration

  •  max-dn 10 - maximum number of subscriber numbers

  •  max-pool 5 - maximum number of phones

  •  load 7821 sip78xx.11-5-1SR1-1 - SIP firmware for Cisco 7821 phone

  •  timezone 34 - Moscow time of 240 minutes

  •  time-format 24 - Time format 24 hours

  •  date-format D/M/Y - Date date format/month/year

Creating a line for the subscriber

An example of the subscriber line configuration is below.

CME#(config)voice register dn  1
CME#(config-voice-register-dn)number 102
CME#(config-voice-register-dn)name Travolta John
CME#(config-voice-register-dn)label Travolta John

Description:

  • voice register dn 1 - creating a subscriber data block(dn)

  • number 102 - subscriber number

  • name Travolta John - the name displayed on the phone screen

Determining SIP customers

An example of the configuration to determine the SIP subscriber is below.

CME#(config)voice register pool  1 
CME(config-register-pool)#id mac 0023.0434.5BE9 
CME(config-register-pool)#type 7821
CME(config-register-pool)#number 1 dn 1 
CME(config-register-pool)#voice-class codec 1 
CME(config-register-pool)#username 102 password 102

Description:

  • voice register pool 1 - data for customer registration Cisco 7821

  •  i'r mac is a Cisco mac address.

  •  Type 7821 is a type of phone for time zone, date format, etc.

  •  number 1 dn 1 - We use Line 1 on the first line.

  •  voice-class codec 1 - we use a list of codecs.

  •  username 2001 password cisco - account.


访客