We will be covering the SIP phones config on CME in this post. And giving a comparison on how it compares with the SCCP configuration. Steps of configuration for SCCP would be covered in the next post.
Note: We can’t use telephony-service setup for this in the lab, as we risk getting our SIP phones registered as SCCP phones, reverting back to SIP is time-consuming. Also, keep in mind that the telephony-service setup command is being phased out, so better to get used to the CLI configuration or build yourself some templates.
Below are the steps one by one:
1. VoIP Services Configuration
voice service voip
allow-connections sip to sip ! Allows SIP connections
sip
registrar server expires max XXX min XXX ! mandatory – defines registration timer in milliseconds
2. Voice Register Global (think telephony-services)
voice register global
mode cme
source-address 192.168.1.1 port 5060
max-dn 2
max-pool 2
tftp-path flash:
create profile
date-format m/d/y
time-format 12
3. Voice Register DN XX (think ephone-dn)
voice register dn 1
number 5681
voice register dn 2
number 5682
4. Voice Register Pool (think ephone)
voice register pool 1 ! for first phone
id mac AAAA.BBBB.CCCC
type 7961 ! mandatory – defines type of config file for phone
username 5681 password cisco
number 1 dn 1
dtmf-relay rtp-nte
!!!! If asking for DTMF RFC 2833 use rtp-nte, otherwise use sip-notify !!!!
codec g711ulaw ! SCCP phones create FXS & Pots Dial-peers, SIP creates VoIP Dial-peers –> default codec is G.729
description 97236725681 ! gives the header bar display
voice register pool 2 ! for second phone
!!! same exercise as above
5. Dial-plan & template ( avoid pressing ‘Dial’ on non-KPML phones – 7940/60)
voice register dialplan 1
type 7940-7960
pattern 1 5… timeout 0
!!!!! for phones that DO NOT SUPPORT KPML, digits sent to CME without Dial key !!!!
voice register template 1
dialplan 1
6. Voice Register Global ( apply changes & reset)
voice register global
create profile
reset
References:
Configuring CME for SIP to Allow Phones to Register
CUCME – Basic SIP endpoints configuration
CUCME – System Administration Guide
CUCME Command Reference Guide
Cisco SIP SRST V3.4:Cisco SIP SRST Feature Roadmap
VoiceIE – SIP notify vs RTP-NTE