資源描述:
《思科voip語音網(wǎng)關(guān)配置詳解》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、cisco2811語音網(wǎng)關(guān)+callmanager撥打外線,外線撥入詳解配置????????????????????——————包括AA和連接PBX的配置A.首先要在callmanager上進(jìn)行h.323和routerpattern的簡單配置B.下面是在CISCO2811路由器上的配置----此路由上安裝了一個(gè)4FXO口的語音模塊1.下面是AA的配置:application??serviceaaflash:its-CISCO.2.0.1.0.tcl//調(diào)用TCL腳本,定義服務(wù)名字為aa(AutoAttendant)??pa
2、ramspaceenglishlanguageen/定義語言為英文,這個(gè)無所謂,反正你播放的是中文的welcome.au就可以了??paramspaceenglishindex1//定義索引位置??paramoperator888??????????????????//設(shè)置人工總機(jī)為888??paramspaceenglishlocationflash:??paramaa-pilot678??????????????//設(shè)置自動(dòng)話務(wù)員的號碼,這個(gè)隨便設(shè)??paramwelcome-prompten_welcome.au??
3、??//設(shè)置提示音,自己錄制時(shí)注意格式.au,8-bit,8kHZ,u-law??各音頻文件名與系統(tǒng)自帶的文件名一致,重啟路由器2.在接口上的配置:interfaceLoopback0????//為了使本地可以撥打AA自動(dòng)話務(wù)員,需要配置這個(gè)地址ipaddress1.1.1.1255.255.255.0??//此地址隨意!interfaceFastEthernet0/0ipaddress121.29.221.138255.255.255.0ipnatoutsideipvirtual-reassemblyduplexauto
4、speedautocryptomapmymap??//將保密映射應(yīng)用到接口上,指定要使用的加密圖!interfaceFastEthernet0/1ipaddress192.168.100.3255.255.255.0ipnbarprotocol-discoveryipnatinsideipvirtual-reassemblyduplexautospeedautoh323-gatewayvoipinterface3.voice-port的配置:voice-port0/0/0??//進(jìn)入語音端口FXO配置模式cptoneCN?
5、?????//配置鈴音使用中國制式timeoutscall-disconnect1timeoutswait-release1????//定義呼叫、等待時(shí)間!voice-port0/0/1????????//此端口連接PSTNsupervisorydisconnectdualtonemid-callcptoneCNtimeoutscall-disconnect1timeoutswait-release1caller-idenable!voice-port0/0/2????????//此端口連接PSTNsupervisoryd
6、isconnectdualtonemid-call//配置Tone管理斷開——主要是外線撥打IP電話時(shí),不能及時(shí)掛斷的方法cptoneCNtimeoutscall-disconnect1//呼叫中斷的超時(shí)設(shè)定timeoutswait-release1//等待釋放的超時(shí)設(shè)定!voice-port0/0/3????????//此端口連接PBX的FXS口supervisorydisconnectdualtonemid-callcptoneCNtimeoutscall-disconnect1timeoutswait-release
7、14.撥打外線的配置:dial-peervoice2pots??//配置一個(gè)POTS撥號對等體(和配置靜態(tài)路由時(shí)的iproute命令類似)serviceaadestination-pattern9T//表示9+電話號碼,即撥出的電話號碼,表示號碼前加入9才能通過這個(gè)端口出局incomingcalled-number.port0/0/1??////指定端口(FXO口0/0/1)!dial-peervoice4potsserviceaadestination-pattern9Tincomingcalled-number.por
8、t0/0/2!dial-peervoice200potsserviceaadestination-pattern.T//.表示一個(gè)任意數(shù)字,T表示多個(gè)任意數(shù)字port0/0/35.外線撥入和PBX上模擬電話撥打IP電話的配置:dial-peervoice344voip//配置一個(gè)VOIP撥號對等體des