CME上配置IP phone
成都創(chuàng)新互聯(lián)堅持“要么做到,要么別承諾”的工作理念,服務(wù)領(lǐng)域包括:成都網(wǎng)站建設(shè)、成都做網(wǎng)站、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣等服務(wù),滿足客戶于互聯(lián)網(wǎng)時代的峰峰礦網(wǎng)站設(shè)計、移動媒體設(shè)計的需求,幫助企業(yè)找到有效的互聯(lián)網(wǎng)解決方案。努力成為您成熟可靠的網(wǎng)絡(luò)建設(shè)合作伙伴!
CME上配置IP phone
隨著網(wǎng)絡(luò)的快速發(fā)展,我們無法向想象不久的將來是什么樣的科技。但是Cisco的voice 給我們現(xiàn)在的交流帶來方便,尤其是音質(zhì)方面,由于國家不想再原有的基礎(chǔ)實施進(jìn)行花費巨資進(jìn)行改造,所以目前這種設(shè)備只能在局域網(wǎng)中使用,他的使用不僅給我們帶來了,交流的方便而且也創(chuàng)造了經(jīng)濟(jì)效益,節(jié)約了大量的成本開銷!尤其是大型的局域更可以顯示出他的效益哦!~
對于目前Cisco的使用有通過軟件和硬件使用,我們就以采用軟件的方式進(jìn)行配置,硬件的基本配置與軟件的配置基本一致,只不過在真機(jī)(硬件)配置中:還需要添加DHCP地址池,默認(rèn)網(wǎng)關(guān)、DNS域名解析、擴(kuò)張選項等。
當(dāng)然我們在安裝軟電話的時,需要安裝java虛擬機(jī)。
拓?fù)鋱D:
基本配置
--------------------------------------------------------------------------------------------------------------------
Router>
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface f1/0
Router(config-if)#ip address 192.168.1.254 255.255.255.0 對CME的路由接口f1/0配置ip地址
Router(config-if)#no shutdown
Router(config-if)#ex
*Mar 1 00:00:56.647: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up
*Mar 1 00:00:57.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to upit
Router(config)#
Router(config)#line console 0
Router(config-line)#no exec-timeout
Router(config-line)#logging synchronous
Router(config-line)#no ip domain-lookup
Router(config)#do ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 24/47/92 ms
Router(config)# 我們與本機(jī)的MAC綁定后,測試是否與我們本機(jī)鏈接暢通,因為我們采用的軟件是將微軟的環(huán)回口鏈接在一起。
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
進(jìn)入CME的配置階段
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Router(config)#telephony-service 開啟電話注冊服務(wù)
Router(config-telephony)#max-ephones 3 設(shè)置可允許注冊的最大電話數(shù)為3個
Router(config-telephony)#max-dn 10 設(shè)置可以允許的最多線路條數(shù)(目錄)為10
Router(config-telephony)#keepalive 10 設(shè)置keepaliv的時間為10秒
Router(config-telephony)#ip source-address 192.168.1.254 port 2000 設(shè)置CME的源地址為192.168.1.254 端口號為2000
Router(config-telephony)#system message Cisco Voice 電話機(jī)器顯示的信息為Cisco Voice \\可選
Router(config-telephony)#exit
Router(config)#ephone-dn 1 進(jìn)入第一個電話,進(jìn)行設(shè)置電話
Router(config-ephone-dn)#
*Mar 1 00:03:49.079: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up 顯示第一個電話的狀態(tài)up
Router(config-ephone-dn)# number 2010 我們對此電話號設(shè)置為2010 \\ 可以隨便設(shè)置
Router(config-ephone-dn)#name 2010 對此號碼命名,方便我們對此辨認(rèn)是來自那個部門的電話 \\可選
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 2
Router(config-ephone-dn)#
*Mar 1 00:04:19.699: %LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
Router(config-ephone-dn)#number 2012
Router(config-ephone-dn)#name 2012
Router(config-ephone-dn)#exit
Router(config)#ephone 1 配置ephone,每個ephone 對應(yīng)一個mac地址
Router(config-ephone)#mac-address
Router(config-ephone)#mac-address 0200.4C4F.4F50 對相應(yīng)的ephone 1的mac地址進(jìn)行匹配
Router(config-ephone)#button 1:1 將line按鈕與ephone-dn對應(yīng)起來,其中第一個“1”是指ip phone 上的line button 第二個“1”是ephone-dn的號碼。意思是將7940 ip phone上的line 1 按鈕與ephone-dn 1的號碼 2010對應(yīng)聯(lián)系起來!
Router(config-ephone)#exit
Router(config)#ephone 2
Router(config-ephone)#mac-address
*Mar 1 00:06:57.915: %IPPHONE-6-REGISTER_NEW: ephone-2:SEP005056C00001 IP:192.168.1.1 Socket:1 DeviceType:Phone has registered.
Router(config-ephone)#mac-address 0050.56C0.0001
Router(config-ephone)#button 1:2
Router(config-ephone)#exit
--------------------------------------------------------------------------------------------------------------------
更新配置文件
Router(config)#telephony-service
Router(config-telephony)#create cnf-files
Creating CNF files
CNF-FILES: Clock is not set or synchronized, retaining old versionStamps 由于時間不一致致使不能進(jìn)行同步,所以就需要我們進(jìn)行set時間
Router(config-telephony)#exit
Router(config)#^Z
Router#
*Mar 1 00:08:20.879: %SYS-5-CONFIG_I: Configured from console by console
Router#cloc
Router#clock set 17:57:00 7 june 2010
Router#
*Jun 7 17:57:00.003: %SYS-6-CLOCKUPDATE: System clock has been updated from 00:08:45 UTC Fri Mar 1 2002 to 17:57:00 UTC Mon Jun 7 2010, configured from console by console.
Router#show ephone summary 查看ephone的匯總信息
hairpin_block:
ephone-1 Mac:0200.4C4F.4F50 TCP socket:[-1] activeLine:0 UNREGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0 primary_dn: 1*
IP:0.0.0.0 Unknown 0 keepalive 0
ephone-2 Mac:0050.56C0.0001 TCP socket:[1] activeLine:0 REGISTERED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0 primary_dn: 2*
IP:192.168.1.1 Telecaster 7960 keepalive 12 1:2 由于我們剛開始開啟此個軟電話,所以顯示ephone-2為keepalive
Max 3, Registered 1, Unregistered 1, Deceased 0, Sockets 1
ephone_send_packet process switched 0
Max Conferences 8 with 0 active (8 allowed)
Skinny Music On Hold Status
Active MOH clients 0 (max 580), Media Clients 0, B-ACD Clients 0
No MOH file loaded
--------------------------------------------------------------------------------------------------------------------
關(guān)閉和開啟顯示的信息,不需要我們開啟dubug
Router#
Jun 7 17:57:29.255: %IPPHONE-6-UNREGISTER_NORMAL: ephone-2:SEP005056C00001 IP:192.168.1.1 Socket:1 DeviceType:Phone has unregistered normally.
Jun 7 17:57:29.263: %IPPHONE-6-UNREGISTER_NORMAL: ephone-3: IP:192.168.1.1 Socket:1 DeviceType:Phone has unregistered normally. 關(guān)閉softphone顯示的信息
Router#
Jun 7 17:57:38.091: %IPPHONE-6-REGISTER: ephone-2:SEP005056C00001 IP:192.168.1.1 Socket:1 DeviceType:Phone has registered. ephone-2注冊成功
Router#
Jun 7 17:57:52.251: %IPPHONE-6-REG_ALARM: 25: Name=SEP02004C4F4F50 Load= 2.1.2.0 Last=Initialized
Jun 7 17:57:52.255: %IPPHONE-6-REGISTER: ephone-1:SEP02004C4F4F50 IP:192.168.1.1 Socket:2 DeviceType:Phone has registered. ephone-1注冊成功
Router#
Router#
Jun 7 17:58:53.843: %IPPHONE-6-UNREGISTER_NORMAL: ephone-2:SEP005056C00001 IP:192.168.1.1 Socket:1 DeviceType:Phone has unregistered normally.
Router#
Jun 7 17:58:57.051: %IPPHONE-6-UNREGISTER_NORMAL: ephone-1:SEP02004C4F4F50 IP:192.168.1.1 Socket:2 DeviceType:Phone has unregistered normally.
Router#
Router#
最后,兩個軟電話通過設(shè)置可進(jìn)行通信,在同一個機(jī)器上由于有串音干擾,會是刺耳的聲音,所以我們可以在本機(jī)上(服務(wù)器上跑一個CME)然后在其他機(jī)器上安裝softphone后,就可進(jìn)行再不同機(jī)器上進(jìn)行通信了!!不妨大家試一試?。。嵺`是可行的!