成人在线你懂的-成人在线免费小视频-成人在线免费网站-成人在线免费视频观看-日韩精品国产一区二区-日韩精品国产一区

掃一掃
關注微信公眾號

AS5300語音網關配置
2006-04-21   www.net130.com

前幾天給朋友幫忙時搞的,貼上來給大家看看

sh run
Building configuration...

Current configuration : 4905 bytes

!
version 12.2
no service pad
no service timestamps debug uptime
no service timesta mps log uptime
service password-encryption
no service dhcp
!
hostname as5300-1
!
no logging rate-limit
enable secret 5 $1$3Br4$N9tSriHsHW4vg/A4O3kdL/
enable password 7 070C2D494F1B0900161E
!
username jtnet password 7 04511F39302F495A
!
!
resource-pool disable
resource-pool call treatment resource channel-not-available
!
call rsvp-sync // RSVP呼叫同步
!
call progress tone country china //系統時間為第八時區北京時間
clock timezone china 8
clock calendar-valid
calltracker enable
ip subnet-zero
no ip source-route
no ip domain-lookup
!
isdn switch-type primary-net5 //ISDN交換機類型
isdn voice-call-failure 0 //ISDN語音呼叫失敗無效
isdn alert-end-to-end
voice call send-alert //語音呼叫發送報警
voice rtp send-recv //語音實時發送與接收
!
voice service voip //VOIP語音服務
!
voice class codec 88 //語音編解碼分類
codec preference 1 g729br8 //1級優先權編解碼方式
codec preference 2 g729r8 bytes 50 //2級優先權編解碼方式
codec preference 3 g711alaw //3級優先權編解碼方式
codec preference 4 g723ar53 //4級優先權編解碼方式
codec preference 5 g723ar63 bytes 144 //5級優先權編解碼方式
codec preference 6 g723r53 //6級優先權編解碼方式
codec preference 7 g723r63 bytes 120 //7級優先權編解碼方式
codec preference 8 g726r16 //8級優先權編解碼方式
codec preference 9 g726r24 //9級優先權編解碼方式
codec preference 10 g726r32 //10級優先權編解碼方式
codec preference 11 g728 //11級優先權編解碼方式
!
!
!
!
!
fax interface-type modem //傳真機調制解調器接口類型
mta receive maximum-recipients 1 //報文傳送代理接收最大收件人為1
dial-control-mib retain-timer 60
dial-control-mib max-size 1200
!
controller E1 0 //配置 E1語音卡0
framing NO-CRC4 //編幀方式:NO-CRC4 編碼方式(linecode):默認的HDB3
clock source line primary
pri-group timeslots 1-31 //把PRI接口劃分為31個信道,其中第十六個信道(邏輯端口s0:15)是管理信道
!
controller E1 1
framing NO-CRC4
clock source line secondary 1
pri-group timeslots 1-31
!
controller E1 2
framing NO-CRC4
clock source line secondary 2
pri-group timeslots 1-31
!
controller E1 3
shutdown
framing NO-CRC4
clock source line secondary 3
pri-group timeslots 1-31
!
translation-rule 101 //轉換規則 101
Rule 0 any 55514400
!
translation-rule 102 //轉換規則 102
Rule 0 any 55514401
!
translation-rule 103
Rule 0 any 55514403
!
translation-rule 104
Rule 0 any 88588858
!
translation-rule 112
!
!
!
interface Loopback0
no ip address
!
interface Ethernet0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
no cdp enable
!
interface Serial0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
no cdp enable
!
interface Serial1
no ip address
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
no cdp enable
!
interface Serial2
no ip address
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
no cdp enable
!
interface Serial3
no ip address
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
no cdp enable
!
interface Serial0:15
no ip address
isdn switch-type primary-net5
no fair-queue
no cdp enable
!
interface Serial1:15
no ip address
isdn switch-type primary-net5
no fair-queue
no cdp enable
!
interface Serial2:15
no ip address
isdn switch-type primary-net5
no fair-queue
no cdp enable
!
interface Serial3:15
no ip address
isdn switch-type primary-net5
no fair-queue
no cdp enable
!
interface FastEthernet0 //快速以太網管理端口接口配置
ip address xxx.xxx.xxx.xxx 255.255.255.248 //配置快速以太網網卡的IP地址和子網掩碼
no ip route-cache
no ip mroute-cache
duplex full
speed 100
no cdp enable
h323-gateway voip interface //h323網關VOIP連接
h323-gateway voip h323-id AS5300 //h323網關VOIP連接h323ID為AS5300
!
ip classless
ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx
ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx
no ip http server
ip pim bidir-enable
!
no logging trap
no cdp run
!
!
voice-port 0:D //配置模擬語音端口
input gain 5
output attenuation 11 //輸出衰減為11
echo-cancel coverage 32 //回音抵消覆蓋率為32
cptone CN
!
voice-port 1:D
input gain -5
output attenuation 11
echo-cancel coverage 32
cptone CN
!
voice-port 2:D
input gain 5
output attenuation 11
echo-cancel coverage 32
cptone CN
!
voice-port 3:D
input gain 5
output attenuation 11
echo-cancel coverage 32
cptone CN
!
dial-peer voice 427 pots //定義撥號對等體到語音物理端口
destination-pattern 88770081T //為撥號對等體分配電話號碼
translate-outgoing calling 101 //轉換出局主叫為1
port 2:D //定義語音端口
prefix 0081
!
dial-peer voice 428 pots
destination-pattern 55600081T
translate-outgoing calling 103
port 2:D
prefix 0081
!
dial-peer voice 432 pots
destination-pattern 55600081T
translate-outgoing calling 102
port 1:D
prefix 0081
!
dial-peer voice 429 pots
destination-pattern 88770T
port 2:D
prefix 0
!
dial-peer voice 500 pots
destination-pattern 67890063T
port 0:D
prefix 0063
!
dial-peer voice 510 pots
destination-pattern 55990063T
translate-outgoing calling 101
port 2:D
prefix 0063
!
dial-peer voice 511 pots
destination-pattern 559900639T
translate-outgoing calling 101
port 1:D
prefix 00639
!
dial-peer voice 513 pots
destination-pattern 5580008869T
translate-outgoing calling 101
prefix 008869
!
dial-peer voice 600 pots
destination-pattern 17811T
port 0:D
prefix 00
!
dial-peer voice 601 pots
destination-pattern 17811T
port 1:D
prefix 00
!
gateway
!
alias exec VA show call act voi br
!
line con 0
exec-timeout 5 0
line aux 0
exec-timeout 5 0
line vty 0 4
exec-timeout 5 0
password 7 030555130F0174111c
login
!
scheduler interval 1000
end

as5300-1#

熱詞搜索:

上一篇:解決橋接中路由器配置IP參數問題
下一篇:Cisco 3550端口限速設置

分享到: 收藏
主站蜘蛛池模板: 好看电影视频| 奶粉过敏的症状和表现| 铁拳男人 电影| 混的人头像| 民国电影| 花非花电视剧演员表| 欧美变态挠痒痒视频∨k| 土壤动植物的乐园教学反思| 成年人看的免费视频| 小猫叫声吸引猫mp3| 碧海晴天| 北京卫视今晚节目表| 美国伦理女兵1| 真濑树里| 故宫博物院思维导图| 西楚霸王| 追捕电视剧免费观看完整版| 电影《地狱天堂》鬼片| 潘雨辰主演的电视剧大全| 何时是读书天| 乱世危情电视剧演员表| 意大利 艾伦 温暖的夜晚| 美女网站免费观看视频| 五年级字谜| 来自深渊第三季| 追捕演员表名单| 你让我感动| 赵大勇| 北京卫视今晚的电视剧是什么| 红楼梦别传| 第一次美国电影| 甲铁城的卡巴内瑞海门决战| 九重紫免费播出电视剧最新 | 春天的芭蕾歌词| 丘淑贞| xlw| kaori主演电影在线观看| 欧美乱淫av片免费黑鬼| 少年包青天3演员表| 色在线视频| 红海行动2免费看完整版|