CME Configuration

Check out what are the Cisco Unified CME 9.1 Supported Firmware, Platforms, Memory, and Voice Products HERE.

The following topology will be used for this configuration. We will configure Switch 3 and Router 3.

1.configuration for the interface connected to IP Phone and PC
Switch3(config)#interface fa0/2
Switch3(config-if)#switchport mode access
Switch3(config-if)#switchport access vlan 6
Switch3(config-if)#switchport voice vlan 3     //the PortFast feature is automatically enabled when voice VLAN is configured. When you disable voice VLAN, the PortFast feature is not automatically disabled.

2.configuration for the interface connected to the router
Switch3(config)#interface fa0/1
Switch3(config-if)#switchport trunk encapsulation dot1Q
Switch3(config-if)#switchport mode trunk
Switch3(config-if)#switchport trunk allowed vlan all

3.DHCP config on router
R3(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.10
R3(config)#ip dhcp excluded-address 192.168.6.1 192.168.6.10
R3(config)#ip dhcp pool VOICE
R3(dhcp-config)#network 192.168.3.0 255.255.255.0
R3(dhcp-config)#default-router 192.168.3.1
R3(dhcp-config)#option 150 ip 192.168.3.1
R3(config)#ip dhcp pool DATA
R3(dhcp-config)#network 192.168.6.0 255.255.255.0
R3(dhcp-config)#default-router 192.168.6.1
R3(dhcp-config)#option 150 ip 192.168.6.1

4.Router-on-a-stick configuration
R3(config)#interface fa0/3/0
R3(config-if)#no shutdown
R3(config)#interface fa0/3/0.3
R3(config-if)#encapsulation dot1q 3
R3(config-if)#ip address 192.168.3.1 255.255.255.0
R3(config)#interface fa0/3/0.6
R3(config-if)#encapsulation dot1q 6
R3(config-if)#ip address 192.168.6.1 255.255.255.0

5.Activate telephony service and basic configuration
R3(config)#telephony-service
R3(config-telephony)#ip source-address 192.168.3.1
R3(config-telephony)# max-ephones 1     //this should correspond to the number of feature licenses
R3(config-telephony)#max-dn 2

6.Configure ephone-dns(extensions)
R3(config)#ephone-dn 1 [dual-line]
R3(config-ephone-dn)#number 3001 secondary 0756103001
R3(config-ephone-dn)#description Stefan

7.Configure ephones
R3(config)#ephone 1
R3(config-ephone)#mac-address 00af.5376.a465
R3(config-ephone)#button 1:1
R3(config-ephone)#reset

8.Configure analog voice ports. Not applicable to our topology.

//FXS (connects to end devices)
R3# show voice port summary
R3(config)# voice-port 0/0/0
R3(config-voiceport)# signal groundStart
R3(config)# voice-port 0/0/0
R3(config-voiceport)# station-id name telephone1
R3(config-voiceport)# station-id number 3002

//FXO and PLAR
R3(config)# voice-port 0/0/1
R3(config-voiceport)# signal groundStart
R3(config-voiceport)#connection plar 2001

9.Configure digital voice ports. Not applicable to our topology.

//configure E1 CAS connection to PSTN
R3(config)# controller t1 0/0/0
R3(config-controller)# framing esf     //given by PSTN provider
R3(config-controller)# linecode hlb3     //given by PSTN provider
R3(config-controller)# ds0-group 1 timeslots 1-24 type fxo-loop-start
//24 is used for signaling, 23 channels for voice. You can create multiple ds0-groups. The created port is based on the ds0-group “0/0/0:1”. No default signaling so you need to specify loop-start. 

//configure E1 CCS(PRI) connection to PSTN
R3(config)#isdn switch-type <TYPE>     //given by PSTN provider
R3(config)# controller E1 0/0/0
R3(config-controller)# framing crc4     //given by PSTN provider
R3(config-controller)# linecode hlb3     //given by PSTN provider
R3(config-controller)# pri-group timeslots 1-4,16
//0 for sync and 16 for signaling, only 4 channels for voice. You can set maximum 30 channels for voice, so if you want all 30 channels available use “pri-group timeslots 1-31”. The created port will always be “0/0/0:15”. ISDN signaling is set by default.

//enable E1 interface for voice
R3(config-controller)# interface serial 0/0/0:15
R3(config-controller)# isdn voice

10.Configure POTS dial peers. Not applicable to our topology.

//outgoing dial-peer
R3(config)#dial-peer voice 1 pots
R3(config-dial-peer)#destination pattern 2…
R3(config-dial-peer)#port 0/0/0

//incoming dial-peer
R3(config)#dial-peer voice 2 pots
R3(config-dial-peer)#incoming called number 3…
or
R3(config-dial-peer)#answer-address 2…

//outgoing dial-peer for an E1 Interface
R3(config)# dial-peer voice 3 pots
R3(config-dial-peer)# destination-pattern 2…
R3(config-dial-peer)# port 0/0/0:15
R3(config-dial-peer)#direct-inward-dialing     //In case you are using DID. If this is disabled the caller is prompted for a called number via dial tone.
//You also need to create an incoming dial-peer for the calls coming from the E1 interface.

//POTS digit-strip
R3(config-dial-peer)# no digit-strip     //by default the router automatically strips any explicitly defined digit from a POTS dial peer before forwarding the call
//POTS forward-digits
R3(config-dial-peer)# forward-digits <NR, ALL>     //specifies the number of digits from right to left that will be transmited
//POTS prefix
R3(config-dial-peer)# prefix 0756     //specifies the prefix that will be added in front of the phone number after the digit stripping

11.Configure VOIP dial peers.

//outgoing dial-peers
R3(config)#dial-peer voice 1 voip
R3(config-dial-peer)#destination pattern 2…
R3(config-dial-peer)#session target ipv4:172.16.23.1
R3(config-dial-peer)# codec g711alaw     //all router must have the same codec configured, by default G729
R3(config)#dial-peer voice 2 voip
R3(config-dial-peer)#destination pattern 1…
R3(config-dial-peer)#session target ipv4:172.16.13.1

//incoming dial-peer
R3(config)#dial-peer voice 3 voip
R3(config-dial-peer)#incoming called number 3…     //or you can create 2 dial-peers with answer-address

12.Troubleshoot commands

#show controllers
#show voice port summary
#show dial-peer voice summary
#debug voip dialpeer

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s