CME上注册第三方SIP
3rd-party SIP Phone register with CME
1.1实验目标 (2)
1.2网络拓扑 (2)
1.3实验配置 (3)
1.4实验结果 (9)
将第三方SIP IP Phone注册到CME上,并与Cisco的IP PHONE 互通。
1.2网络拓扑
CME的配置如下:
CME_DEMO#show run
Building configuration...
Current configuration : 2787 bytes
!
version 12.4
service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption
!
hostname CME_DEMO
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 10
!
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 172.17.60.1
ip dhcp excluded-address 172.17.60.254 !
ip dhcp pool PHONE
network 172.17.60.0 255.255.255.0
default-router 172.17.60.254
option 150 ip 172.17.60.254
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
registrar server expires max 600 min 200 !
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
!
!
!
!
!
!
!
!
!
!
!
voice register global
mode cme
source-address 172.17.60.254 port 5060 max-dn 10
max-pool 10
authenticate realm ccmsipline
create profile sync 0008375217322271
!
voice register dn 1
number 1003
allow watch
!
voice register pool 1
id mac 0017.AE01.0438
number 1 dn 1
dtmf-relay sip-notify
voice-class codec 1
username 1003 password 1003
!
!
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 172.17.60.254 255.255.255.0 duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/3/0
!
interface FastEthernet0/3/1
!
interface FastEthernet0/3/2
!
interface FastEthernet0/3/3
!
interface FastEthernet0/3/4
!
interface FastEthernet0/3/5
!
interface FastEthernet0/3/6
!
interface FastEthernet0/3/7
!
interface FastEthernet0/3/8
!
interface Vlan1
no ip address
!
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
telephony-service
no auto-reg-ephone
max-ephones 5
max-dn 5
ip source-address 172.17.60.254 port 2000 system message Welcome to CME_DEMO time-zone 42
time-format 24
max-conferences 8 gain -6
web admin system name cisco password cisco dn-webedit
time-webedit
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00 !
!
ephone-dn 1 dual-line
number 1001
label Ben
description 88881001
name Huangbin
!
!
ephone-dn 2 dual-line
number 1002
label HandsomeBoy
description 88881002
name Wusr
!
!
ephone 1
device-security-mode none
mac-address 001E.8CBD.53B7
type CIPC
button 1:1
!
!
!
ephone 2
device-security-mode none
mac-address 001E.4AF1.C0B9
type 7906
button 1:2
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
privilege level 15
password cisco
logging synchronous
login
!
scheduler allocate 20000 1000
!
webvpn cef
!
end
上面配置中的黄底部分是将第三方SIP Phone注册到CME上需要做的配置。与第三方SIP Phone注册到CUCM上一样,均不是通过MAC 地址来注册的,而是通过用户名密码的方式关联注册的。
第三方SIP Phone的设置
直接上图,如下:
其中,需要将Doman,Proxy,Registrar均设置为CME的IP,LocalID 为分机号码,username和password必须对应CME上Voice register pool 1中为此SIP PHONE配置的username和password。
1.4实验结果
IP Softphone 1001,IP Phone 7906,3rd-party SIP Phone 三者之间能够互相通信。
实验成功。