语音实验7 2台CME,3台软件电话
SCCP的配置
R1
telephony-service 启用cme sccp
max-ephones 5
max-dn 10
ip source-address 192.168.1.137
create cnf-files
exit
ephone-dn 1
number 8001
name John
label John
exit
ephone-dn 2
number 8002
name Andy
exit
ephone-dn 3 dual-line
number 8003
ephone 1
mac-address 0050.56c0.0008
button 1:1
button 2:3
restart
通过show 命令也可以查看
SIP配置
R2
voice service voip 启用cme sip
sip
registrar server
exit
allow-connections h323 to sip
allow-connections sip to h323
voice register global
mode cme
source-address 192.168.22.3
max-dn 20
max-pool 5
authenticate register
create profile
voice register dn 1 定义号码
number 7001
exit
voice register pool 1 定义话机
id mac 7001.7001.7001
number 1 dn 1
username cisco passwrod cisco
codec g711ulaw
exit
dial-pe voic 8001 voip 定义静态呼叫路由
desination-pattern 8001
session target ipv4:12.1.1.1
codec g711ulaw
--到这里7001已经可以呼叫8001
如果要从8001呼叫7001,则在R1上配置dialpeer
dial-peer voice 7000 voip
destination-pattern 7...
session target ipv4:12.1.1.2
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
X-list 软件电话设置:
Sip account setting
SIP account
X-lite 软电话注册成功后
所有电话都注册成功后