實(shí)戰(zhàn):組建超完美的內(nèi)網(wǎng)專線VOIP通信

2009/02/17

網(wǎng)絡(luò)結(jié)構(gòu):要求14個(gè)分點(diǎn)實(shí)現(xiàn)VOIP通話

  本文將介紹筆者參與建設(shè)的某省級國家統(tǒng)計(jì)局基于邁普方案的VOIP組網(wǎng)方案。該方案要求全省14個(gè)市的統(tǒng)計(jì)局與省機(jī)關(guān)實(shí)現(xiàn)全面VOIP通話,當(dāng)然各單位內(nèi)部也能實(shí)現(xiàn)各自的VOIP通話,

  我們可以看到這個(gè)VOIP語音方案對原有網(wǎng)絡(luò)結(jié)構(gòu)是不做任何改動(dòng)的,網(wǎng)絡(luò)配置也不需要做任何改動(dòng),只需要在語音語關(guān)上做是相關(guān)配置,若原電話布線系統(tǒng)不健全,可能需要進(jìn)行桌面電話集中到網(wǎng)絡(luò)中心的電話布線。在這個(gè)方案中,VOIP電話系統(tǒng)利用現(xiàn)在的統(tǒng)計(jì)局專線網(wǎng)絡(luò)與各市局相連,然后各市局機(jī)關(guān)VOIP電話系統(tǒng)連接到現(xiàn)有辦公局域網(wǎng)就可以了。網(wǎng)絡(luò)結(jié)構(gòu)非常簡單。

  組網(wǎng)設(shè)備:語音網(wǎng)守和語音網(wǎng)關(guān)

  邁普VOIP語音組網(wǎng)方案需要兩種關(guān)鍵的語音設(shè)備,分別是:語音網(wǎng)守和語音網(wǎng)關(guān)。

  (一)語音網(wǎng)守

  IP電話網(wǎng)守是H.323 VoIP系統(tǒng)方案的關(guān)鍵設(shè)備,負(fù)責(zé)實(shí)現(xiàn)地址解析、接入認(rèn)證和帶寬管理等核心控制功能。網(wǎng)守最重要的功能是地址解析,它在它的路由表中查找目的網(wǎng)關(guān)的IP地址,如果目的網(wǎng)關(guān)不在本區(qū)域中,向上級網(wǎng)守或鄰近網(wǎng)守請求在別的區(qū)域(一個(gè)網(wǎng)守就是一個(gè)“區(qū)域”)中查找。找到目的網(wǎng)關(guān)后返回對應(yīng)網(wǎng)關(guān)的IP地址,這樣就可以跨語音網(wǎng)關(guān)通話。邁普MyPower VGK2X系列IP電話網(wǎng)守由VGK2X和VGK2X-B兩個(gè)型號構(gòu)成,基于專用嵌入式結(jié)構(gòu)設(shè)計(jì),采用邁普帶寬控制、聰明路由等專有技術(shù),具有安全可靠、功能強(qiáng)大、組網(wǎng)靈活等特點(diǎn),適用于組建各類規(guī)模的H.323 VoIP網(wǎng)絡(luò),或者多協(xié)議的VoIP協(xié)作通信網(wǎng)絡(luò)。

  本方案采用的是一臺VGK2X(圖2)網(wǎng)守部署在省局,各市局語音網(wǎng)關(guān)在其上注冊,最終實(shí)現(xiàn)各市局跨語音網(wǎng)關(guān)遠(yuǎn)程通話。

(二)語音網(wǎng)關(guān)

  邁普語音網(wǎng)關(guān)MyPower VG系列包括:VG M6000、VG2000、VG800和VG A600四個(gè)型號,與邁普VGK2X系列網(wǎng)守配合使用,可為用戶構(gòu)建以VoIP為基礎(chǔ)的網(wǎng)絡(luò)語音通信平臺。

  MyPower VG系列語音網(wǎng)關(guān)同時(shí)支持成熟的H.323協(xié)議和先進(jìn)的SIP協(xié)議,采用邁普專有通話質(zhì)量提升技術(shù),包括靜音壓縮及舒適噪聲、回波抵消功能、動(dòng)態(tài)JitterBuff調(diào)整和丟包補(bǔ)償?shù)葯C(jī)制,提供可與傳統(tǒng)PSTN相媲美的高品質(zhì)通話。并采用邁普特有的“聰明路由”,能夠動(dòng)態(tài)地為當(dāng)前呼叫選擇最佳路徑,即使在IP網(wǎng)絡(luò)阻塞和單點(diǎn)設(shè)備故障等異常情況下,也能夠?yàn)橛脩籼峁└咂焚|(zhì)的通話。“1:1綁定”技術(shù),可以實(shí)現(xiàn)VOIP電話與原有PSTN電話一對一綁定,能夠完全不改變用戶的原有電話號碼和撥打習(xí)慣,并且在單點(diǎn)設(shè)備掉電等異常情況下,也能夠?yàn)橛脩籼峁㏄STN通話,保證電話永遠(yuǎn)不會出現(xiàn)斷路。這樣,使用電話的用戶完全不會感覺得到他或她在打的電話是經(jīng)過VOIP還是普通市話。但本方案中,采用的是“純”的IP電話,語音網(wǎng)關(guān)沒有接入PSTN線路,因此沒有做“1:1綁定”。 MyPower VG系列語音網(wǎng)關(guān)還支持PSTN附加業(yè)務(wù)和特色增值業(yè)務(wù),極大提升VoIP系統(tǒng)價(jià)值,包括:電話會議,群組振鈴,呼叫代答,來電顯示,呼叫轉(zhuǎn)接,呼叫等待,熱線撥號,IVR錄音等增值功能。

  在本方案中,在省局機(jī)關(guān)采用兩臺MyPower VG M6000來實(shí)現(xiàn)大容量的電話接入,分別是64門和94門;在各市局采用MyPower VG 2000來實(shí)現(xiàn)16~32門的電話接入。

  MyPower VG M6000是核心級語音網(wǎng)關(guān),采用全模塊化設(shè)計(jì),支持接入端口類型、端口數(shù)量和處理能力的按需配置,支持板卡熱插拔、雙電源冗余、“1:1綁定組網(wǎng)”和“掉電逃生”,也就是語音網(wǎng)關(guān)掉電時(shí),一樣可以打電話。最大可以提供4路E1中繼(用來接入外線電話)和96線模擬接入(用來接到桌面普通電話機(jī))。

  MyPower VG2000是地市級語音網(wǎng)關(guān),采用全模塊化設(shè)計(jì),支持業(yè)務(wù)端口類別、端口數(shù)量和處理能力的按需配置,最大提供1路E1中繼和32線模擬接入或提供48線模擬接入。

  如何進(jìn)行號碼規(guī)劃方案

  有兩種號碼規(guī)劃方法:一種是純的VOIP電話方案,自定義本單位內(nèi)部的VOIP電話號碼;另一種是使用原有的電信市話號碼做為VOIP電話的電話號碼,并做“1:1綁定”。

  方案1:自定義VOIP電話號碼方案

  這種方案一般使用三位或四位數(shù)字來規(guī)劃,號碼隨意制訂。上面已經(jīng)提到過本方案是“純”的VOIP電話組網(wǎng),也就是沒有接入市話線路,因此不需跟市話號碼做“1:1綁定”。若做“1:1綁定”,我們一般采用市話的號碼來規(guī)劃VOIP號碼,這樣方便記憶和操作。在這里不需綁定市話號碼,所以采用自定義三位(數(shù)字)小號,在前面加各市區(qū)號來組合成VOIP電話號碼,本地(指語音網(wǎng)關(guān)內(nèi)部)通話直撥小號,跨市局通話,前面加撥區(qū)號,由網(wǎng)守來路由。

  這種方案只使用模擬接入板卡模塊(FXS卡),用來接入普通桌面電話機(jī)。

  方案2:使用原有電信市話號碼來作為對應(yīng)的VOIP電話號碼

  這種方案使用桌面電話的原有電信市話號碼作為內(nèi)部VOIP電話的號碼,這樣最終使用電話的用戶還是按照原來撥號方式打電話,他(她)并不知在打的電話是經(jīng)過IP網(wǎng)絡(luò)還是經(jīng)過電信公司的市話線路。在VOIP網(wǎng)絡(luò)通暢時(shí),電話是優(yōu)先經(jīng)過VOIP鏈路通話的,只有在VOIP出現(xiàn)故障或打外線電話時(shí),才會通過電信公司市話線路通話。

  這種方案除了使用模擬接入板卡模塊(FXS卡),用來接入普通桌面電話機(jī),還要使用VOS卡或E1中繼模塊來接入電信市話,這樣在打外線、VOIP線路不通或者語音網(wǎng)關(guān)掉電的情況下,均可以用市話正常通話。

  設(shè)備鏈接配置

  邁普的這套VOIP語音方案只適合在已經(jīng)部署了完善的內(nèi)網(wǎng)專線上運(yùn)行,語音網(wǎng)關(guān)和語音網(wǎng)守的安裝都非常簡單。只要保證專線內(nèi)網(wǎng)的路由是通的,沒有做限制VOIP所使用的IP地址和端口的訪問控制列表,中間經(jīng)過的防火墻沒有對VOIP所使用的IP地址、端口、協(xié)議等參數(shù)做了限制就可以了。在本工程中,筆者遇到的攔路虎很多都是各種不同品牌的防火墻對VOIP系統(tǒng)的限制,有時(shí)是無法理解的,明明似乎是對VOIP全放開了,網(wǎng)絡(luò)能PING得通,但VOIP電話就是不通。這需要網(wǎng)絡(luò)工程師和網(wǎng)管人員用心來研究防火墻的設(shè)置問題。實(shí)際工程中,經(jīng)常是繞過防火墻就沒有問題,一經(jīng)過防火墻就可能出現(xiàn)注冊不上網(wǎng)守或通話不正常的情況。

  物理連接:

  (1) 網(wǎng)絡(luò)部分,只需將語音網(wǎng)關(guān)和網(wǎng)守的以太網(wǎng)口接入局域網(wǎng)交換機(jī)的交換口就行了。

  (2) 桌面電話過來的電話線應(yīng)打在標(biāo)準(zhǔn)的RJ45配線架或者110配線架上,然后使用相應(yīng)接口的電話跳線接到語音網(wǎng)關(guān)的模擬卡上對應(yīng)號碼的RJ11接口上。語音網(wǎng)關(guān)若需接入市話線路的,就將來自電信公司的電話線接在VOS卡的RJ11接口上即可。

  配置模板

  (1)VGK 2X 網(wǎng)守配置模板

  vgk2X#sh run

  Building Configuration...done

  Current configuration: 430 bytes

  version 3.0.24(gatekeeper)

  hostname vgk2X

  enable password OWRW[WWW\W encrypt

  no service password-encrypt

  no service enhanced-secure

  interface loopback0

  exit

  interface fastethernet0

  ip address 10.45.99.231 255.255.255.0 // 配置以太網(wǎng)口IP

  exit

  ip route 0.0.0.0 0.0.0.0 10.45.99.1 // 配置默認(rèn)路由

  gatekeeper

  time-to-live min 120

  zone local maipu maipu.com 10.45.99.231 // 配置網(wǎng)守ID為maipu,區(qū)域名為maipu.com,IP為10.45.99.231

  time-stamp difference 30

  no shutdown

  exit

  License AA2E1FCD-E14DF946-F91E276E-65704E11

  gatekeeper exit

  (2)VG M6000語音網(wǎng)關(guān)(VG2000相同)配置模板

  vg6000 #sh run

  Building Configuration...done

  software version 8.0.42

  software image file VPM6000-VG-8.0.42.bin

  compiled on Jan 14 2008, 09:49:07

  hostname vg6000

  no service password-encrypt

  no service new-encrypt

  no service enhanced-secure

  service login-secure

  enable password OWRW[WWW\W encrypt

  ip name-order local-first

  interface loopback0

  exit

  interface fastethernet1

  ip address 10.45.103.232 255.255.255.0 // 配置以太網(wǎng)口的IP地址

  exit

  ip route 0.0.0.0 0.0.0.0 10.45.103.1 // 配置默認(rèn)路由

  callrouting-conf

  dial-peer 10 pots slot 1 // 配置1槽的大號“撥號端”,下同

  channel 0 2 destination-pattern 0771601 increase

  channel 3 11 destination-pattern 0771605 increase

  channel 12 20 destination-pattern 0771615 increase

  channel 21 29 destination-pattern 0771625 increase

  channel 30 31 destination-pattern 0771635 increase

  exit

  dial-peer 20 pots slot 2

  channel 0 2 destination-pattern 0771637 increase

  channel 3 6 destination-pattern 0771650 increase

  channel 7 15 destination-pattern 0771655 increase

  channel 16 24 destination-pattern 0771665 increase

  channel 25 31 destination-pattern 0771675 increase

  exit

  dial-peer 30 pots slot 3

  channel 0 1 destination-pattern 0771682 increase

  channel 2 10 destination-pattern 0771685 increase

  channel 11 19 destination-pattern 0771695 increase

  channel 20 28 destination-pattern 0771705 increase

  channel 29 31 destination-pattern 0771715 increase

  exit

  dial-peer 11 pots slot 1 // 配置1槽的小號“撥號端”,下類似

  channel 0 2 destination-pattern 601 increase

  channel 3 11 destination-pattern 605 increase

  channel 12 20 destination-pattern 615 increase

  channel 21 29 destination-pattern 625 increase

  channel 30 31 destination-pattern 635 increase

  channel 0 31 register disable

  exit

  dial-peer 21 pots slot 2

  channel 0 2 destination-pattern 637 increase

  channel 3 6 destination-pattern 650 increase

  channel 7 15 destination-pattern 655 increase

  channel 16 24 destination-pattern 665 increase

  channel 25 31 destination-pattern 675 increase

  channel 0 31 register disable

  exit

  dial-peer 31 pots slot 3

  channel 0 1 destination-pattern 682 increase

  channel 2 10 destination-pattern 685 increase

  channel 11 19 destination-pattern 695 increase

  channel 20 28 destination-pattern 705 increase

  channel 29 31 destination-pattern 715 increase

  channel 0 31 register disable

  exit

  dial-peer 1 voip // 配置跨區(qū)號撥打的,向網(wǎng)守查找

  destination-pattern xx.

  session-target ras

  exit

  dial-peer 2 voip // 配置同區(qū)號的撥打9開頭的小號的,向IP是10.45.91.232的語音網(wǎng)關(guān)查找(下類似)

  destination-pattern 9xx

  session-target 10.45.91.232

  exit

  dial-peer 3 voip

  destination-pattern 8xx

  session-target 10.45.99.232

  exit

  dial-peer 4 voip

  destination-pattern 2xx

  session-target 10.45.1.232

  exit

  dial-peer 5 voip

  destination-pattern 3xx

  session-target 10.45.14.232

  exit

  exit

  card 0

  exit

  card 1

  channel 0 31 callid enable // 來電功能打開

  channel 0 31 enable // 開啟“通道”,下類似

  exit

  card 2

  channel 0 31 callid enable

  channel 0 31 enable

  exit

  card 3

  channel 0 3 callid enable

  channel 0 31 enable

  exit

  sys-clock-source specify local

  voicesrv-conf

  black-white-list

  exit

  fax-protocol t38

  h323 start slow

  h323 send-dtmf h245-string

  h323 call-diversion default

  h323 h245Tunnel off

  h323 bearer-cap 3100hz

  h323 fill-send-complete enable

  h323 grq_interval 40

  h323 call-thrust-ttl 10call-transfer enable // 打開呼叫轉(zhuǎn)移功能 call-transfer consultation

  user-config enable

  exit

  gateway // 向網(wǎng)守注冊

  interface fastethernet1 h323-gateway voip h323-id vg6000 // 配置本語音網(wǎng)關(guān)ID為vg6000 h323-gateway voip id maipu ipaddr 10.45.99.231 1718 // 網(wǎng)守ID為maipu,及網(wǎng)守IP10.45.99.231及網(wǎng)守端口號1718 h323-gateway voip interfaceexit

  line vty 0 4 password 0 admin login exit

  總結(jié):邁普VOIP方案的安裝部署非常簡單,幾乎不用做原有專線內(nèi)網(wǎng)的任何改造。配置命令也不復(fù)雜,關(guān)鍵位置也只有少數(shù)幾句而已。邁普語音方案具有極高的性價(jià)比優(yōu)勢,組網(wǎng)以后,本系統(tǒng)單位內(nèi)部的電話將全面實(shí)現(xiàn)免費(fèi)通話。本語音方案非常適合具有專線內(nèi)網(wǎng)的單位實(shí)施。

51cto



相關(guān)鏈接:
搭建“4A級”通信網(wǎng)絡(luò):邁普統(tǒng)一通信方案 2009-08-24
邁普通信金融IP語音電話解決方案 2009-08-21
MyPower VG系列VoIP整體解決方案 2009-07-31
MyPower VG2000用作小型PBX接入平臺 2009-07-31
邁普通信 MyPower VG系列媒體網(wǎng)關(guān) 2009-07-31

分類信息:     行業(yè)_政府_案例