加入收藏 设为首页 联系站长
首页 | 虚拟动态 | Cisco模拟 | Juniper仿真 | 虚拟机 | 网络仿真 | 软件路由 | 技术专题 | 相关软件 | 交流论坛
>首页 -> 技术专题 -> VOIP

TOP

share my configuration of VOIP and E1 +NBAR
[ 录入者:admin | 时间:2007-11-22 23:30:03 | 作者: | 来源: | 浏览:1489次 ]
voicesample#sh run
Building configuration...

Current configuration : 7383 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname voicesample
!
boot-start-marker
boot-end-marker
!
card type e1 0 0
logging buffered 4096 debugging
enable secret 5 $1$S5R1$Zb9Nz5L9F5XY3NzZza7Ud.
!
no aaa new-model
!
resource policy
!
network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
ip subnet-zero
!
!
ip cef
no ip dhcp use vrf connected
!
!
ip domain name per.ffa.wan
no ip ips deny-action ips-interface
ip sla monitor responder
!
isdn switch-type primary-net5
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
!
voice translation-rule 1
rule 1 /0892896399/ /0294662900/
rule 2 /0892896398/ /0294662812/
rule 3 /0892896397/ /1800624878/
rule 4 /0892896396/ /0299384954/
rule 5 /^6241/ /086241/
!
voice translation-rule 2
rule 1 /^2\(...$\)/ /0294662\1/
rule 2 /^3300$/ /0385414200/
rule 3 /^7700$/ /0735526700/
rule 4 /^8800$/ /0872210000/
rule 5 /^2\(........$\)/ /02\1/
rule 6 /^3\(........$\)/ /03\1/
rule 7 /^7\(........$\)/ /07\1/
!
voice translation-rule 3
rule 1 /0298890255/ /0862410654/
rule 2 /0299472797/ /0862410654/
!
!
voice translation-profile Interoffice
translate called 2
!
voice translation-profile ToCallCentre
translate calling 3
translate called 1
!
!
!
!
username sample password 0 ***
!
!
controller E1 0/0/0
framing CRC4
pri-group timeslots 1-10,16
!
controller E1 0/0/1
framing CRC4
clock source internal
pri-group timeslots 1-31
!
class-map match-all GOLD
match  dscp cs5
class-map match-all BRONZE
match  dscp default
class-map match-all SILVER
match  dscp cs3
class-map match-any citrix
match protocol citrix
match protocol telnet
!
!
policy-map PMAP-PER-LAN-IN
class citrix
  set dscp cs3
class class-default
  set dscp default
policy-map PMAP-PER-WAN-OUT
class GOLD
  bandwidth 96
class SILVER
  bandwidth 43
class class-default
  fair-queue
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 172.16.0.97 255.255.255.248
duplex auto
speed auto
service-policy input PMAP-PER-LAN-IN
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:15
no ip address
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
interface Serial0/0/1:15
no ip address
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable
!
interface Serial0/3/0
no ip address
encapsulation frame-relay IETF
service-policy output PMAP-PER-WAN-OUT
!
interface Serial0/3/0.16 point-to-point
ip address 172.16.0.162 255.255.255.252
frame-relay interface-dlci 16
!
router rip
version 2
passive-interface default
network 172.16.0.0
neighbor 172.16.0.98
neighbor 172.16.0.161
no auto-summary
!
ip default-gateway 172.16.0.161
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.0.161
!
!
ip http server
no ip http secure-server
!
!
control-plane
!
!
!
voice-port 0/0/0:15
translation-profile incoming ToCallCentre
!
voice-port 0/0/1:15
translation-profile incoming Interoffice
!
voice-port 0/2/0
ring frequency 50
ring cadence pattern01
compand-type a-law
!
voice-port 0/2/1
!
voice-port 0/2/2
!
voice-port 0/2/3
!
!
!
!
!
dial-peer voice 618624106 pots
preference 1
answer-address 08624106..
direct-inward-dial
forward-digits all
!
dial-peer voice 618928963 pots
preference 1
answer-address 08928963..
direct-inward-dial
forward-digits all
!
dial-peer voice 862410600 pots
preference 2
incoming called-number 08624106..
direct-inward-dial
forward-digits all
!
dial-peer voice 892896300 pots
preference 2
incoming called-number 08928963..
direct-inward-dial
forward-digits all
!
dial-peer voice 862410699 pots
preference 4
destination-pattern 08624106..
port 0/0/1:15
forward-digits all
!
dial-peer voice 892896399 pots
tone ringback alert-no-PI
preference 4
destination-pattern 08928963..
port 0/0/1:15
forward-digits all
!
dial-peer voice 28 voip
tone ringback alert-no-PI
preference 8
destination-pattern 028.......
session target ipv4:172.16.0.129
signal-type ext-signal
fax rate 9600
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 29 voip
tone ringback alert-no-PI
preference 8
destination-pattern 029.......
modem passthrough nse codec g711alaw redundancy
session target ipv4:172.16.0.129
signal-type ext-signal
fax rate 9600
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 38 voip
tone ringback alert-no-PI
preference 8
destination-pattern 038.......
session target ipv4:172.16.0.138
signal-type ext-signal
fax rate 14400
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 39 voip
tone ringback alert-no-PI
preference 8
destination-pattern 039.......
session target ipv4:172.16.0.138
signal-type ext-signal
fax rate 14400
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 73 voip
tone ringback alert-no-PI
preference 8
destination-pattern 073.......
session target ipv4:172.16.0.146
signal-type ext-signal
fax rate 14400
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 881 voip
tone ringback alert-no-PI
preference 8
destination-pattern 0881......
session target ipv4:172.16.0.154
signal-type ext-signal
fax rate 14400
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 882 voip
tone ringback alert-no-PI
preference 8
destination-pattern 0882......
session target ipv4:172.16.0.154
signal-type ext-signal
fax rate 14400
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 883 voip
tone ringback alert-no-PI
preference 8
destination-pattern 0883......
session target ipv4:172.16.0.154
signal-type ext-signal
fax rate 14400
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 884 voip
tone ringback alert-no-PI
preference 8
destination-pattern 0884......
session target ipv4:172.16.0.154
signal-type ext-signal
fax rate 14400
fax protocol cisco
ip qos dscp cs5 media
ip qos dscp cs3 signaling
!
dial-peer voice 1 pots
tone ringback alert-no-PI
preference 10
destination-pattern .T
port 0/0/0:15
forward-digits all
!
dial-peer voice 294662900 pots
tone ringback alert-no-PI
incoming called-number 0294662900
direct-inward-dial
forward-digits all
!
dial-peer voice 294662812 pots
tone ringback alert-no-PI
incoming called-number 0294662812
direct-inward-dial
forward-digits all
!
dial-peer voice 1800624878 pots
tone ringback alert-no-PI
incoming called-number 1800624878
direct-inward-dial
forward-digits all
!
dial-peer voice 299384954 pots
preference 9
destination-pattern 0299384954
port 0/0/0:15
forward-digits all
!
dial-peer voice 862410654 pots
preference 1
answer-address 0862410654
direct-inward-dial
forward-digits all
!
dial-peer voice 2 pots
tone ringback alert-no-PI
preference 2
answer-address 0862410654
destination-pattern .T
direct-inward-dial
port 0/0/0:15
forward-digits all
!
!
!
!
line con 0
line aux 0
login local
modem InOut
modem autoconfigure discovery
speed 115200
line vty 0 4
exec-timeout 60 0
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end
[上一篇]一个简单的4FXO语音网关配置 [下一篇]没有了
※相关文章
 

评论

称  呼:
内  容:

相关栏目

最新文章

热门文章

推荐文章

赞助商链接