1、Cisco call manager express CME 简单配置1CHAPTER 6 CME基础 一、 试验导入:1. 拓扑结构:2. 试验方法 在计算机上启用一个环回口 使用模拟器将这个环回口绑定到R1路由器的f0/0口 使用模拟器将计算机的物理网口绑定到R2路由器的f0/0口 在计算机上打开cisco的communicator作为电话1001 连接cisco7940到计算机物理网卡上,作为电话2001(注意如果没有硬件电话,可在启用一个环回口和虚机的xp,将R2的F0/0绑定到环回口2,虚机xp同样绑定到环回口2上,软后在虚机的xp上启用communicator) IOS版本:c37
2、25-ipvoice_ivs-mz.124-15.T7.bin二、 CME固件介绍1. IOS准备和IP电话firmware准备,和CCME gui(图形界面)准备2. 不同的支持Voice的IOS版本,对应不同的CME版本,需要查在cisco网站中搜:cme supported firmware 可得到相应的信息(IOS版本等),和下载链接例如:现有的IOS是IP-VOICE 12.4.15T1,可以作IPT,它对应的CCME是4.1.07940G的对应firmware是SCCP8.X (需要CCO帐号)下载cme-basic-4.1.0.0.tar 直接tar 到flash:下 (空间够)
3、它会装很多文件,但是对于7940的firmware,是P0*400开头的四个文件就可以了。注意:firmware只是在你需要升级时才需要下载更新,一般IOS就自带了相应的固件,以上步骤不需要也能正常使用CME。各种平台所能支持的最大的CCME和SRST的数量Platform SRST CCME1751-v X 241760-V 24 242600XM 36 362650XM 48 482691 X 723725 144 1443745 480 192ISR2801 24 24ISR2811 36 36ISR2821 48 48ISR2851 96 96ISR3825 336 168ISR384
4、5 720 240Cisco Catalyst 6500 Series Communication Media Module (CMM)*480 SRSTCisco uBR7200 Series NPE-400 and NPE-G1 Network Processing Engines*480 SRSTCisco IAD 2430 Series Integrated Access DevicesCCME 24三、 基于GUI的管理(感觉用得不爽)1. 可以通过图形话界面GUI来管理CCME2. GUI的下载地址:(可以通过“CME 4.1 GUI files”来search)3. 将下载的GU
5、I tar到IOS中,用于web界面的管理archive tar /xtract tftp:/11.11.11.254/cme-gui-4.1.0.2.tar flash:4. 在路由器上做相应的配置telephony-service web admin system name cisco password ciscodn-webedit ! 允许web编辑dn号码time-webedit ! 允许通过web设置时5. 在浏览器中输入:http:/x.x.x.x/ccme.html四、 基本配置(dial-peer配置略) 第一部分:telephony-service的配置R1(config)
6、#telephony-service !进入CCME配置模式R1(config-telephony)#no auto-reg-ephone !关闭自动注册,不然电话机多了,很烦R1(config-telephony)#max-ephones 10 ! 最大可分配的电话(针对物理设备)R1(config-telephony)#max-dn 20 ! 最大可分配电话号码(针对号码)R1(config-telephony)#ip source-address 11.11.11.100 电话注册地址(默认2000端口)load 7914 S0*200 ! 装载电话的系统固件(升级时)create cn
7、f-files!以下为可选配置!R1(config-telephony)#timeouts interdigit 5 ! 拨号按钮等待间隔R1(config-telephony)#secondary-dialtone 1 ! 外拨号音!R1(config-telephony)#time-format 24 ! 24小时制度R1(config-telephony)#date-format yy-mm-dd ! 日期显示格式R1(config-telephony)#network-locale CA 定义location为canada!R1(config-telephony)#system mes
8、sage CISCO ! 公司标识,显示在电话机上!R1(config-telephony)#max-conferences 8 ! 最多可以开几个3方会议,和DSP有关!R1(config-telephony)#voicemail 9999 ! 定义语音邮件号码! R1(config-telephony)#web admin system name cisco password ciscoR1(config-telephony)#dn-webedit ! 允许web编辑dn号码R1(config-telephony)#time-webedit ! 允许通过web设置时! 第二部分:配置分机号
9、码R1(config)#ephone-dn 1 dual-lineR1(config-ephone-dn)#number 1001!以下是可选配置!R1(config-ephone-dn)#label EVAN-1001 ! 显示在分机线上R1(config-ephone-dn)#description 8765-1001 !显示在电话机右上脚R1(config-ephone-dn)#name HuJieSong ! 对方显示的来电!R1(config-ephone-dn)#call-forward busy 1002 ! 秘书或者voicemailR1(config-ephone-dn)#c
10、all-forward noan 1002 timeout 20! 第三部分:配置电话(device)R1(config)#ephone 1R1(config-ephone)#mac-address 0200.4C4F.4F50 ! 电话机MAC地址type CIPC ! 定义电话类型button 1:1 ! 前面一个1代表这个电话第一根线button,后面一个1代表ephone-dn,这样做到电话机和分机的绑定!以下是可选配置!R1(config-ephone)#description EVAN-1001-phone! 第四部分:配置DHCP由于R2连的是cisco 7940,所以需要给他一
11、个IP地址,用DHCP方式ip dhcp pool VOICE network 99.99.99.0 255.255.255.0 default-router 99.99.99.254 !lab下,主机网卡的地址 option 150 ip 99.99.99.100!ip dhcp excluded-address 99.99.99.100ip dhcp excluded-address 99.99.99.254! 第五部分:reset命令在telephony-service or ephone phone ?下. reset all time-interval | cancel | mac-
12、address mac-address | sequence-all 第六部分:show,Debug命令在配置了telephony-service后可以通过一下show命令查看目前的CME版本等信息sh telephony-service CONFIG (Version=4.1(0)=Version 4.1(0)Cisco Unified Communications Manager ExpressFor on-line documentation please see:ip source-address 1.1.1.1 port 2000no auto-reg-ephonemax-ephon
13、es 10max-dn 20max-conferences 8 gain -6dspfarm units 0dspfarm transcode sessions 0conference softwarehunt-group report delay 1 hourshunt-group logout DNDmax-redirect 5voicemail 9999cnf-file location: system:cnf-file option: PER-PHONE-TYPEnetwork-locale0 CA (This is the default network locale for thi
14、s box)network-locale1 USnetwork-locale2 USnetwork-locale3 USnetwork-locale4 USuser-locale0 US (This is the default user locale for this box)user-locale1 US user-locale2 US user-locale3 US user-locale4 US srst mode auto-provision is OFFsrst ephone template is 0srst dn template is 0srst dn line mode i
15、s singletime-format 24date-format yy-mm-ddtimezone 0 Greenwich Standard Timesecondary-dialtone 1no transfer-pattern is configured, transfer is restricted to local SCCP phones only.keepalive 30 auxiliary 30timeout interdigit 10timeout busy 10timeout ringing 180timeout ringin-callerid 8timeout night-s
16、ervice-bell 12caller-id name-only: enablesystem message CISCOweb admin system name cisco password ciscoweb admin customer name Customer edit DN through Web: enabled.edit TIME through web: enabled.Log (table parameters): max-size: 150 retain-timer: 15transfer-system full-consult local directory servi
17、ce: enabled.Extension-assigner tag-type ephone-tag.=sh ephone summary hairpin_block:ephone-1 Mac:0200.4C4F.4F50 TCP socket:1 activeLine:0 REGISTEREDmediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0 primary_dn: 1*IP:11.11.11.254 CIPC keepalive 4 1:1 Max 10, Registered 1, Unregistered 0,
18、Deceased 0, Sockets 1ephone_send_packet process switched 0Max Conferences 8 with 0 active (8 allowed)Skinny Music On Hold StatusActive MOH clients 0 (max 244), Media Clients 0, B-ACD Clients 0No MOH file loaded=sh ephone registered ephone-1 Mac:0200.4C4F.4F50 TCP socket:1 activeLine:0 REGISTERED in
19、SCCP ver 9 and Server in ver 8mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:7IP:11.11.11.254 4095 CIPC keepalive 59 max_line 8button 1: dn 1 number 1001 CH1 IDLE CH2 IDLE debug vpm signal debug cch323 h225debug cch323 h245debug voip dialpeer五、 SIP电话的注册1. 3.4以上支持2. 配置(R
20、1)voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729r8!voice register global mode cme source-address 11.11.11.100 max-dn 10 max-pool 5 authenticate realm create profile!voice register dn 1 number 9001!voice register pool 1 id mac 9999.9999.0001 number 1 dn 1 voice-class codec 1
21、调用上面的class 必须要写,或写固定的code username evan password evan!voice service voip sip bind control source-interface Loopback0 bind media source-interface Loopback0allow-connections sip to h323 registrar server !3. 配置(R1)!注意preference 的值,代表那根线先使用,0好像默认,为最大Deb ccsip mess如果是两台sip之间打(路由表里voip到voip),由于防环的机制,我们要打下
22、面的命令voice service voip allow-connections sip to sip-allow-connections sip to h323allow-connections h323 to h323在R1和R2上在写dial-peer时建议加上:voice-class codec x的命令dial-peer voice 8000 voip destination-pattern 80. voice-class codec 1 session target ipv4:12.1.1.1六、 PLAR(私有号码自主振铃)例如一摘机就触发一个呼叫voice-port 1/0/0
23、 connection plar 2001七、 快捷拨号(单键拨号)!特别注意要号码重叠num-exp 1 2001 拨1,2001就会振铃(先要有路由)num-exp 2 2002特别要注意的是:这里有一个快捷键是“2”拨号2002;,这是如果需要打2001,就不同了,因为按到2就出触发了去拨打2002.。八、 利用FXO口与PSTN互通的配置1. 7940G配置好后,可以IP电话之间互通,如果需要出外线,需要配置拨入2. 前台接电话(假定有4个FXO口连接4条PSTN)以下是拨入的配置voice-port 0/0/0 supervisory disconnect dualtone mid-
24、call cptone CN timeouts call-disconnect 0 timeouts wait-release 1 connection plar 5321 ! (前台)caller-id enable ! 不加则可能无法正确显示外面进来主叫号码!voice-port 0/0/1 supervisory disconnect dualtone mid-call cptone CN timeouts call-disconnect 0 timeouts wait-release 1connection plar 5321 ! (前台)caller-id enable ! 不加则可
25、能无法正确显示外面进来主叫号码!voice-port 0/0/2 supervisory disconnect dualtone mid-call cptone CN timeouts call-disconnect 0 timeouts wait-release 1connection plar 5321 ! (前台)caller-id enable ! 不加则可能无法正确显示外面进来主叫号码!voice-port 0/0/3 supervisory disconnect dualtone mid-call cptone CN timeouts call-disconnect 0 timeo
26、uts wait-release 1connection plar 5321 ! (前台)caller-id enable ! 不加则可能无法正确显示外面进来主叫号码!以下是拨出的配置:!dial-peer voice 1 pots preference 3 destination-pattern 9T port 0/0/0!dial-peer voice 2 pots preference 2 destination-pattern 9T port 0/0/1!dial-peer voice 3 pots preference 1 destination-pattern 9T port 0/
27、0/2!dial-peer voice 4 pots preference 0 destination-pattern 9T port 0/0/3!3. 直线:做转换就可以了九、 目录服务配置完毕会在Directories 按钮下选择Local Directory里看到配置的相当于电话本。R1(config)#telephony-serviceR1(config-telephony)#directory entry 1 1001 name HujiesongR1(config-telephony)#directory entry 2 2001 name Evan!一十、 Pickup&Gpic
28、kup Pickup:从外部一台电话2222呼叫1001。1001不接。1002提机按pickup键。输入1001。这样2222和1001的呼叫由1002接通(不同组也没关系) Gpickup:从2222呼叫1002。1002不接。1001提机。按Gpickup键。输入1002所在的group号2。则2222和1001的呼叫接通。此例配置中,1001和1003为group1。1002为group2。ephone-dn1number 1001pickup-group 1 加入pickup group1。!ephone-dn2number 1002pickup-group 2!ephone-dn3number 1003pickup-group 1!一十一、 Hunt Group从2222去呼叫1888。首先1001会振铃。如果1001按了dnd键(dont disturb,类似于静音了),或Endcal。1002会振铃。1002也按。1003振铃。ephone-hunt 1 sequential ! sequential的定义是说list中顺序从左到右一次响铃,可选的还有longest-idlepilot 1888list 1001,1002,1003preference 1timeout 30 定义如果当第一部分机无人接。此例为1001不接。3
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1