一、項目需求分析
- 15-30個用戶作用需要實現VOIP
- 語音人工座席
- 一臺思科3945路由器+FXO+FXS實現語音網關
- 思科IP×××CP-9971若干臺
- 內部實現IP×××互打,包括遠端站點,所有流量全部走IP網絡
- 外部PSTN呼入,經過語音網關實現模擬信號到數字信號的轉換,並且需要自動語音按鍵提醒,根據呼入用戶的輸入在進行內部轉接
- 接入層使用華爲POE交換機,並且實現二層安全接入
- DHCP服務器和文件服務使用Linux服務器部署
二、配置步驟總結
-
思科官網下載相關軟件,導入CSICO 3945路由器中(略)
CME相關軟件如下:
cme-152-4Mv1.rar
cme-full-9-1-locale.rar
cme-b-acd-3.0.0.7.zip
注意:解壓把你自己需要的文件導入,路由不能解壓rar格式的文件 -
tftp-server加載導入的文件(略)
tftp-server flash1:7905-dictionary.xml
tftp-server flash1:7905-font.xml
tftp-server flash1:7905-kate.xml
tftp-server flash1:7921-dictionary.xml
tftp-server flash1:7921-font.dat
tftp-server flash1:7921-kate.utf-8.xml
tftp-server flash1:7921-kate.xml -
配置voip服務
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service h450.2
no supplementary-service h450.3
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
sip
registrar server expires max 3600 min 120 -
配置基本的FXO
voice-port 0/3/0
trunk-group 1
supervisory disconnect dualtone mid-call
no comfort-noise
cptone CN
timeouts call-disconnect 5
timeouts wait-release 5
connection plar opx 1113
caller-id enable -
可以使用默認的QOS策略(略)
-
配置語音轉接規則
dial-peer voice 100 voip
destination-pattern 80[1-9]$
session target ipv4:192.168.2.253
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 2 pots
trunkgroup 1
translation-profile incoming in < 調用下面的voice translation-profile in 規則
service aa
destination-pattern .T
forward-digits all
!
dial-peer voice 3 voip
destination-pattern 1386113....$
session target ipv4:192.168.2.253
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad 符合1386113……的××× 交到192.168.2.253 去轉發
!
dial-peer voice 4 voip
destination-pattern 1370612....$
session target ipv4:192.168.2.253
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad - 自動話務員配置
voice translation-rule 2
rule 1 /^0$/ /1113/ 定義一個規則 按0 轉接到1113 上去
!
!
voice translation-profile in 定義一個 in 的規則 ,然後用到 每個pots口上
translate called 2
application
service aa flash:its-CISCO.2.0.2.0.tcl 調用flash裏的一個腳本文件
param operator 1113 人工接轉到1113上
paramspace english index 0
paramspace english language en
paramspace english location flash:
param max-extension-length 4
param aa-pilot 1113 自動話務員到1113
param welcome-prompt en_welcome.au
-
×××服務器基本配置
telephony-service
load ATA ATA030100SCCP040211A
load 7905 P0030702T023
load 7941 P00308000400
max-ephones 24
max-dn 48
ip source-address 192.168.90.253 port 2000
auto assign 1 to 10
calling-number initiator
service phone videoCapability 1
system message Welcome to GLAB Network
network-locale CH
time-zone 42
time-format 24
max-conferences 8 gain -6
call-forward pattern .T
moh music-on-hold.au
web admin system name admin password
dn-webedit
time-webedit
transfer-system full-consult dss
transfer-pattern 9.T
transfer-pattern 8..
secondary-dialtone 9 - SIP×××註冊配置
ephone-dn 8 dual-line
number 8008
description G-LAB
name 8008
!
ephone 8
device-security-mode none
mac-address E8BA.7006.FF6F
button 1:8
voice register dn 18
number 8008
allow watch
label 8008
mwi
voice register pool 18
id mac E8BA.7006.FF6F
type 9971
number 1 dn 18
presence call-list
dtmf-relay sip-kpml
voice-class codec 1
username 18 password 18
no vad
camera
video
- 檢查命令
show voice register pool unregistered
show voice register pool phone-load
how voice register pool type 9971
debug ccsip messages
-
IPSec-虛擬私有網絡部署(略)
- Linux服務器部署和搭建(略)
寫在最後:
現在很多中小公司都會採用這樣的方式來部署IP×××,優點也很明顯,可以使用現有的網絡來傳語音的數據,尤其是有分支機構的公司,部署的IP×××,可以結合虛擬私有網絡技術,從而節省企業的溝通成本。
本項目中涉及的知識點:
- 思科基本的語音技術
- 思科和華爲基本的網絡技術
- QOS技術
- 虛擬私有網絡技術
- Linux服務器技術
除了基本的語音技術之外,
G-LAB IT實驗室自主開發的課程,新版CCIE Enterprise Infrastructure(企業架構方向)的技術涵蓋了:
路由交換、QOS、MPLS、組播、IPv6、SDN、虛擬化、Python編程、無線、安全等衆多領域,只有系統地學習才能一次通過CCIE考試,G-LAB IT實驗室提供全套系統化的課程體系,幫助大家學習並且順利通過CCIE考試。
G-LAB IT實驗室提供一站式的CCIE培訓服務包括:
- 自主開發全套系統化的課程體系,涵蓋以上CCIE Enterprise Infrastructure(企業架構方向)所有內容
- 自主研發的作業練習系統,幫助大家在理論學習之後做到很好的實驗練習
- 提供線上和線下學習,做到隨時隨地,ping通您的夢想
- 新版本全新課程由G-LAB思科首席講師郭主任帶隊開發課程並授課,保證課程質量
- G-LAB的CCIE通過率一直在90%以上,累計通過500+人,通過率是大家選擇的保證
G-LAB IT實驗室官網:www.51glab.com
0512 - 8188 8288