当前位置:首页 > CCME配置及简单测试总结v1-customer
Rule 2 5 1325 ! !
translation-rule 2000 Rule 1 81 1 ! !
translation-rule 3000 Rule 1 5 1325 !
interface GigabitEthernet0/0 description to_ZD_3560
ip address 11.27.56.241 255.255.255.0 duplex auto speed auto
h323-gateway voip interface
h323-gateway voip id Zdcme ipaddr 11.27.56.242 1719 h323-gateway voip h323-id Zdcme h323-gateway voip tech-prefix 1# !
interface GigabitEthernet0/1
ip address 11.27.60.129 255.255.255.240 duplex auto speed auto !
interface Async1
ip address 196.168.1.1 255.255.255.0 encapsulation ppp
async dynamic routing async mode interactive
peer default ip address 196.168.1.2 ppp authentication chap !
ip classless
ip route 10.0.0.0 255.0.0.0 11.27.56.250 ! !
ip http server
no ip http secure-server ip http path flash !
tftp-server flash:P00307020200.bin tftp-server flash:P00307020200.loads tftp-server flash:P00307020200.sb2 tftp-server flash:P00307020200.sbn tftp-server flash:P00403020214.bin !
control-plane !
!
dial-peer voice 2000 voip destination-pattern 81...... translate-outgoing called 2000 session target ras !
dial-peer voice 3000 voip destination-pattern 5...
translate-outgoing called 3000 session target ras !
gateway !
telephony-service
load 7910 P00403020214
load 7960-7940 P00307020200 max-ephones 10 max-dn 10
ip source-address 11.27.60.129 port 2000 auto assign 1 to 5
system message Welcome to the HeiBei BF time-format 24
date-format yy-mm-dd
create cnf-files version-stamp Jan 01 2002 00:00:00 max-conferences 8 gain -6 moh end.wav dn-webedit time-webedit
transfer-system full-consult ! !
ephone-dn 1 dual-line call-waiting ring
number 1321111 secondary 1111 description USER1 name USER1 ! !
ephone-dn 2 dual-line call-waiting ring
number 1321112 secondary 1112 name USER2 ! !
ephone-dn 3 dual-line call-waiting ring
number 1321113 secondary 1113 description USER3 name USER3
! !
ephone-dn 4 dual-line call-waiting ring
number 1321114 secondary 1114 description USER4 name USER4 !
ephone-dn 5 dual-line call-waiting ring
number 1321115 secondary 1115 description USER5 name USER5 ! !
ephone 1
username \ mac-address 0003.E369.989C fastdial 1 1321113 name USER3
speed-dial 1 1321112 label \ type 7940 button 1f1 ! ! !
ephone 2
username \ mac-address 0004.9ABB.ADAB type 7910 button 1:2 !
ephone 3
username \ mac-address 0003.6BDD.3D95
speed-dial 1 1321111 label \ speed-dial 2 1321112 label \ speed-dial 3 1321114 label \ speed-dial 4 1321115 label \ type 7960 button 1:3 ! ! !
ephone 4
username \ mac-address 0005.32FF.753B type 7960 button 1:4
! ! !
ephone 5
username \ mac-address 0006.28F1.036E type 7960 button 1:5 ! !
line con 0 line aux 0
password 7 13061E010803 login
modem InOut
modem autoconfigure discovery transport input all autoselect ppp speed 38400 line vty 0 4
timeout login response 300 password 7 045802150C2E login !
scheduler allocate 20000 1000 End
4. 命令行详解
注:仅为举例说明,与上述配置无关。 以下内容取自网友总结,在此表示感谢!
1 路由器平台装载IOS和CME软件
2全局配置(建议使用telephony-service setup来完成初始化配置)
############################################################################################## telephony-service ----开启CME服务
load 7960-7940 P00303020214.bin ----装载电话的系统IOS max-ephones 20 --定义最大支持的电话数 max-dn 100 --定义最大支持的DN号码
ip source-address 196.168.x.1 port 2000 --定义注册使用的CME服务器地址和Skinny端口号 max-conferences 4 --定义最大支持的会议连接数
web admin system name admin password cisco --配置web登陆的管理员口令。 dn-webedit --允许web编辑dn号码 time-webedit --允许通过web设置时间
auto assign 1 to 4 ----自动分配。此命令打完,配置里会自动出来4个dn号码。 network-locale CA ----定义location为canada voicemail 1000 ----定义语音邮件号码
############################################################################################# Web登陆地址为http://196.168.x.1/ccme.html
3 添加电话和电话号码
############################################################################################
共分享92篇相关文档