Building configuration...
Current configuration : 3500 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname VoipC1
!
boot-start-marker
boot system flash c2800nm-spservicesk9-mz.124-3h.bin
boot-end-marker
!
enable secret 5 **********
enable password **********
!
aaa new-model
!
!
aaa group server radius VOIP
server 192.168.1.41 auth-port 1812 acct-port 1813
!
aaa authentication login default local
aaa authentication login h323 group VOIP
aaa authorization exec default local
aaa authorization exec h323 group VOIP
aaa authorization network default local
aaa authorization network h323 group VOIP
aaa accounting update periodic 3
aaa accounting network default start-stop group VOIP
aaa accounting connection h323 start-stop broadcast group VOIP
!
aaa nas port extended
aaa nas port voip
aaa session-id common
!
resource policy
!
network-clock-participate wic 0
no network-clock-participate wic 1
ip subnet-zero
!
!
ip cef
!
!
isdn switch-type primary-net5
carrier-id source
!
voice-card 0
no dspfarm
!
!
voice rtp send-recv
!
voice service voip
allow-connections sip to sip
redirect ip2ip
fax protocol none
sip
rel1xx disable
header-passing
registrar server
transport switch udp tcp
no call service stop
!
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
!
!
!
!
!
!
voice class aaa 2
accounting suppress
!
voice class aaa 1
authentication method h323
authorization method h323
!
!
!
voice translation-rule 1
rule 1 /^......&/ /74832/
!
!
!
application
service voip flash:app_clid_authen4.tcl
!
!
!
!
username admin password 0 ntktajyysq
archive
log config
hidekeys
!
!
controller E1 0/0/0
pri-group timeslots 1-31
!
controller E1 0/0/1
!
controller E1 0/1/0
!
controller E1 0/1/1
!
translation-rule 1
!
gw-accounting aaa
acct-template callhistory-detail
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.1.40 255.255.0.0
ip access-group 101 in
ip access-group 101 out
duplex auto
speed auto
no cdp enable
no mop enabled
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:15
description TDM TS004 M00:P5
no ip address
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn map address . plan isdn type network
isdn send-alerting
no cdp enable
!
ip default-gateway 192.168.1.1
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
!
no ip http server
no ip http secure-server
!
ip radius source-interface GigabitEthernet0/0
access-list 101 permit ip any any
access-list 101 permit icmp any any
access-list 101 permit udp any any
!
!
radius-server host 192.168.1.41 auth-port 1812 acct-port 1813
radius-server timeout 30
radius-server key voipsecrettes
radius-server vsa send accounting
radius-server vsa send authentication
!
control-plane
!
!
!
voice-port 0/0/0:15
no vad
no comfort-noise
cptone RU
!
!
!
!
!
dial-peer voice 100 pots
service session
destination-pattern .T
progress_ind setup enable 3
progress_ind progress enable 8
voice-class aaa 2
direct-inward-dial
port 0/0/0:15
! client
dial-peer voice 598350 voip
huntstop
service voip
destination-pattern 598350
session protocol sipv2
session target ipv4: 192.168.1.205:5060
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
sip-ua
nat symmetric check-media-src
!
!
!
line con 0
line aux 0
line vty 0
session-timeout 3600
password ntktajyysq
line vty 1 4
password ntktajyysq
!
scheduler allocate 20000 1000
!
end |