设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1045|回复: 2
收起左侧

一个典型的PRI 信令落地网关的配置(基于AS5300)

[复制链接]
发表于 2013-12-9 09:04:44 | 显示全部楼层 |阅读模式
一个典型的PRI 信令落地网关的配置(基于AS5300)
sunspirit0(sunspirit)
gw#sh run
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug datetime msec
service timestamps log datetime msec
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
no service password-encryption
!
hostname gw
!
logging buffered 512000 debugging
aaa new-model
aaa authentication login h323 group radius
aaa authorization exec h323 group radius
aaa accounting connection h323 start-stop group radius
enable secret 5 $1$aMLK$zXdTpKewvyZ/H4pNGMTEr.
!
username cisco password 0 cisco
!
!
resource-pool disable
resource-pool call treatment resource channel-not-available
!
!
!
!
!
clock timezone beijing 8
clock calendar-valid
ip subnet-zero
no ip domain-lookup
ip domain-name x.net.cn
ip name-server x.x.x.x
!
isdn switch-type primary-net5
isdn voice-call-failure 0
mta receive maximum-recipients 1
!
dial-control-mib retain-timer 60
dial-control-mib max-size 1200
!
controller E1 0
framing NO-CRC4
clock source line primary
pri-group timeslots 1-31
!
controller E1 1
framing NO-CRC4
clock source line secondary 1
pri-group timeslots 1-31
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
!
controller E1 2
framing NO-CRC4
clock source line secondary 2
pri-group timeslots 1-31
!
controller E1 3
framing NO-CRC4
clock source line secondary 3
pri-group timeslots 1-31
!
!
voice-port 0
cptone GB
timeouts call-disconnect 0
!
voice-port 1
cptone GB
timeouts call-disconnect 0
!
voice-port 2
cptone GB
timeouts call-disconnect 0
!
voice-port 3
cptone GB
timeouts call-disconnect 0
gw-accounting h323 vsa
!
voice class codec 88
codec preference 1 g729br8 bytes 50
codec preference 3 g729r8 bytes 50
codec preference 5 g723ar53
codec preference 6 g723ar63 bytes 144
codec preference 7 g723r53
codec preference 8 g723r63 bytes 120
!
!
dial-peer voice 500021 pots
destination-pattern 021T
port 0
!
dial-peer voice 502110 pots
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
destination-pattern 021T
port 1
!
dial-peer voice 502021 pots
destination-pattern 021T
port 2
!
dial-peer voice 503021 pots
destination-pattern 021T
port 3
!
dial-peer voice 510021 pots
destination-pattern 8621T
port 0
!
dial-peer voice 511021 pots
destination-pattern 8621T
port 1
!
dial-peer voice 512021 pots
destination-pattern 8621T
port 2
!
dial-peer voice 513021 pots
destination-pattern 8621T
port 3
!
gateway
!
interface Loopback0
ip address x.x.x.x 255.255.255.255
no ip directed-broadcast
h323-gateway voip interface
h323-gateway voip id xxxx ipaddr x.x.x.x 1719
h323-gateway voip h323-id xxxx
h323-gateway voip tech-prefix x#
!
interface Ethernet0
no ip address
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
shutdown
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
!
interface Serial0
no ip address
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
!
interface Serial1
no ip address
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
!
interface Serial2
no ip address
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
!
interface Serial3
no ip address
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
shutdown
no fair-queue
clockrate 2015232
!
interface Serial0:15
no ip address
no ip directed-broadcast
isdn switch-type primary-net5
isdn incoming-voice modem
isdn T203 30000
isdn send-alerting
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
isdn sending-complete
fair-queue 64 256 0
no cdp enable
!
interface Serial1:15
no ip address
no ip directed-broadcast
isdn switch-type primary-net5
isdn incoming-voice modem
isdn T203 30000
isdn send-alerting
isdn sending-complete
fair-queue 64 256 0
no cdp enable
!
interface Serial2:15
no ip address
no ip directed-broadcast
isdn switch-type primary-net5
isdn incoming-voice modem
isdn T203 30000
isdn send-alerting
isdn sending-complete
fair-queue 64 256 0
no cdp enable
!
interface Serial3:15
no ip address
no ip directed-broadcast
isdn switch-type primary-net5
isdn incoming-voice modem
isdn T203 30000
isdn send-alerting
isdn sending-complete
fair-queue 64 256 0
no cdp enable
!
interface FastEthernet0
no ip address
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
duplex auto
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 x.x.x.x
ip http server
!
ip radius source-interface Loopback0
logging trap errors
logging x.x.x.x
snmp-server engineID local 00000009020000024B00107A
snmp-server community public view v1default RO
snmp-server community snmp view v1default RO
snmp-server packetsize 4096
snmp-server enable traps syslog
snmp-server enable traps voice poor-qov
snmp-server host x.x.x.x public
snmp-server host x.x.x.x public
snmp-server host x.x.x.x snmp
snmp-server host x.x.x.x snmp
!
radius-server host x.x.x.x auth-port 1645 acct-port 1646
radius-server host x.x.x.x auth-port 1675 acct-port 1676
radius-server timeout 3
radius-server deadtime 5
radius-server key xxxx
radius-server vsa send accounting
radius-server vsa send authentication
!
line con 0




                               
登录/注册后可看大图
该贴已经同步到 huangjun6920的微博
发表于 2018-11-27 13:51:19 | 显示全部楼层
感谢楼主分享!
沙发 2018-11-27 13:51:19 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-11-27 13:52:57 | 显示全部楼层
感谢楼主分享!
板凳 2018-11-27 13:52:57 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-22 18:57 , Processed in 0.054051 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表