!
version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname JICTZVG
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
ethernet lmi ce
clock timezone UTC 3 0
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 172.168.21.1 172.168.21.15
ip dhcp excluded-address 172.168.21.254
!
ip dhcp pool VOICE
 network 172.168.21.0 255.255.255.0
 dns-server 192.168.2.123 
 default-router 172.168.21.254 
 option 150 ip 172.168.21.1 
!
!
!
ip name-server 192.168.2.123
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
trunk group OUT1
 hunt-scheme random
!
!
trunk group OUT2
 description JUB-Life-Out
 hunt-scheme longest-idle
!
!
trunk group OUT3
 hunt-scheme sequential
!
password encryption aes
!
!
voice-card 0
!
!
voice call send-alert
voice rtp send-recv
!
voice service voip
 ip address trusted list
  ipv4 41.223.5.0 255.255.255.0
  ipv4 192.168.2.0 255.255.255.0
  ipv4 192.168.0.150
  ipv4 172.168.21.0 255.255.255.0
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
 sip
  registrar server expires max 3600 min 600
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 3 g729br8
!
!
!
!
voice register global
 default mode
 no allow-hash-in-dn
!
!
!
voice translation-rule 1
 rule 1 /$4...\(.......\)/ /\1/
!
voice translation-rule 2
 rule 1 /04112001030411200103/ /1802/
!
voice translation-rule 6
 rule 1 /^49/ //
!
voice translation-rule 666
 rule 1 /^3../ /0411200103/
!
!
voice translation-profile IN
translate called 2
!
voice translation-profile OUT
translate calling 666
translate called 6
!
!
!
license udi pid CISCO2901/K9 sn FGL2113115V
hw-module pvdm 0/0
!
!
!

!
redundancy
!
!
!
!
!
! 
!
!
!
!
!
!
!
!
!
interface Loopback1
 ip address 10.10.10.10 255.255.255.255
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.1
 encapsulation dot1Q 1 native
 ip address 192.168.2.234 255.255.255.0
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 11.11.11.2 255.255.255.252
 ip ospf 100 area 0
!
interface GigabitEthernet0/0.99
 description VOICE-NETWORK
 encapsulation dot1Q 99
 ip address 172.168.21.254 255.255.255.0
!
interface GigabitEthernet0/0.100
 description LAN-LINK
 encapsulation dot1Q 100
 ip address 172.168.20.254 255.255.255.0
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/1.62
 description >> Link To Provider >>
 encapsulation dot1Q 62
 ip address 1.1.1.1 255.255.255.192
!
router ospf 100
 network 172.168.21.0 0.0.0.255 area 0
 network 192.168.9.0 0.0.0.255 area 0
 neighbor 10.10.10.1
!
router bgp 421
 bgp log-neighbor-changes
 neighbor 192.168.2.253 remote-as 421
 neighbor 192.168.2.253 update-source GigabitEthernet0/1
 !
 address-family ipv4
  network 172.168.20.0 mask 255.255.255.0
  network 172.168.21.0 mask 255.255.255.0
  neighbor 192.168.2.253 activate
  neighbor 192.168.2.253 soft-reconfiguration inbound
 exit-address-family
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.2.3
ip route 192.168.1.0 255.255.255.0 172.168.21.253
ip route 192.168.3.0 255.255.255.0 172.168.21.253
ip route 192.168.4.0 255.255.255.0 172.168.21.253
ip route 192.168.5.0 255.255.255.0 172.168.21.253
ip route 192.168.6.0 255.255.255.0 172.168.21.253
ip route 192.168.7.0 255.255.255.0 172.168.21.253
ip route 192.168.8.0 255.255.255.0 172.168.21.253
ip route 192.168.9.0 255.255.255.0 172.168.21.253
ip route 192.168.12.0 255.255.255.0 172.168.21.253
ip route 197.168.205.4 255.255.255.252 172.168.21.253
!
ip access-list extended SIP_CAP_FILTER
 permit ip host 192.168.0.150 host 192.168.2.234
 permit ip host 192.168.0.150 host 172.168.21.254
 permit ip host 172.168.21.254 host 192.168.0.150
 permit ip host 192.168.2.234 host 192.168.0.150
!
!
!
!
control-plane
!
!
voice-port 0/0/0
 trunk-group OUT2
 connection plar opx 3111
 caller-id enable
!
voice-port 0/0/1
 trunk-group OUT2
 connection plar opx 3111
 caller-id enable
!
voice-port 0/0/2
 connection plar opx 3112
 caller-id enable
!
voice-port 0/0/3
 connection plar opx 3016
 caller-id enable
!
voice-port 0/1/0
 trunk-group OUT1
 connection plar opx 3000
 caller-id enable
!
voice-port 0/1/1
 trunk-group OUT1
 connection plar opx 3000
 caller-id enable
!
voice-port 0/1/2
 trunk-group OUT1
 connection plar opx 3000
 caller-id enable
!
voice-port 0/1/3
!
voice-port 0/2/0
 connection plar opx 3003
 caller-id enable
!
voice-port 0/2/1
!
voice-port 0/2/2
 trunk-group OUT2
 connection plar opx 3111
 caller-id enable
!
voice-port 0/2/3
 trunk-group OUT1
 connection plar opx 3000
 caller-id enable
!
voice-port 0/3/0
!
voice-port 0/3/1
 trunk-group OUT2
 connection plar opx 3111
 caller-id enable
!
voice-port 0/3/2
 connection plar opx 3000
 caller-id enable
!
voice-port 0/3/3
 !
 !
 !
 !
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 10 voip
 destination-pattern 3...
 session target ipv4:172.168.21.1
 dtmf-relay h245-alphanumeric h245-signal
!
dial-peer voice 11 voip
 destination-pattern 3021
 no modem passthrough
 session target ipv4:172.168.21.1
 voice-class sip bind control source-interface GigabitEthernet0/0.99
 voice-class sip bind media source-interface GigabitEthernet0/0.99
 dtmf-relay h245-alphanumeric h245-signal
 codec g711ulaw
!
dial-peer voice 94 pots
 trunkgroup OUT1
 description employeenational1
 destination-pattern 8902T
 forward-digits 10
!
dial-peer voice 95 pots
 trunkgroup OUT1
 description employeenational2
 destination-pattern 8906T
 forward-digits 10
!
dial-peer voice 96 pots
 trunkgroup OUT1
 description employeenational1
 destination-pattern 8907T
 forward-digits 10
!
dial-peer voice 93 pots
 description CEOInternational
 destination-pattern 8T
 port 0/2/0
!
dial-peer voice 97 pots
 trunkgroup OUT1
 description employeeInternational
 destination-pattern 89T
!
dial-peer voice 69 pots
 description JUB-Life-Boss-International
 destination-pattern 69T
 port 0/0/2
!
dial-peer voice 80 pots
 trunkgroup OUT1
 description SD-national02
 destination-pattern 9902T
 forward-digits 10
!
dial-peer voice 81 pots
 trunkgroup OUT1
 description SD-national06
 destination-pattern 9906T
 forward-digits 10
!
dial-peer voice 82 pots
 trunkgroup OUT1
 description SD-national107
 destination-pattern 9907T
 forward-digits 10
!
dial-peer voice 59 pots
 description CFO-International
 destination-pattern 59T
 port 0/0/3
!
dial-peer voice 71 pots
 trunkgroup OUT1
 description Reception-national1
 destination-pattern 902T
 forward-digits 10
!
dial-peer voice 72 pots
 trunkgroup OUT1
 description Reception-national2
 destination-pattern 906T
 forward-digits 10
!
dial-peer voice 73 pots
 trunkgroup OUT1
 description Reception-national3
 destination-pattern 907T
 forward-digits 10
!
dial-peer voice 70 pots
 description reception-international-line
 destination-pattern 9T
 port 0/3/2
!
dial-peer voice 60 pots
 trunkgroup OUT2
 description JUB-Life-Reception-National1
 destination-pattern 7902T
 forward-digits 10
!
dial-peer voice 61 pots
 trunkgroup OUT2
 description JUB-Life-Reception-National2
 destination-pattern 7906T
 forward-digits 10
!
dial-peer voice 62 pots
 trunkgroup OUT2
 description JUB-Life-Reception-National2
 destination-pattern 7907T
 forward-digits 10
!
dial-peer voice 63 pots
 trunkgroup OUT3
 description JUB-Life-Reception-National4
 preference 2
 destination-pattern 7902T
 forward-digits 10
!
dial-peer voice 64 pots
 trunkgroup OUT3
 description JUB-Life-Reception-National5
 preference 2
 destination-pattern 7906T
 forward-digits 10
!
dial-peer voice 65 pots
 trunkgroup OUT3
 description JUB-Life-Reception-National6
 preference 2
 destination-pattern 7907T
 forward-digits 10
!
dial-peer voice 66 pots
 description JUB-Life-Reception-International
 preference 3
 destination-pattern 79T
 port 0/0/0
!
dial-peer voice 7 voip
 destination-pattern 7...
 session target ipv4:172.168.21.1
!
dial-peer voice 67 pots
 description JUB-Life-Reception-International-2nd
 preference 1
 destination-pattern 79T
 port 0/3/1
!
dial-peer voice 68 pots
 description JUB-Life-Reception-International-3rd
 preference 2
 destination-pattern 79T
 port 0/0/1
!
dial-peer voice 14 voip
 destination-pattern 1802
 session protocol sipv2
 session target ipv4:192.168.0.150
 voice-class codec 1  
 voice-class sip bind control source-interface GigabitEthernet0/0.99
 voice-class sip bind media source-interface GigabitEthernet0/0.99
 dtmf-relay h245-alphanumeric h245-signal
!
dial-peer voice 12 voip
 translation-profile outgoing OUT
 destination-pattern 49T
 session protocol sipv2
 session target ipv4:2.2.2.2
 dtmf-relay sip-notify rtp-nte
 ip qos dscp cs5 media
 ip qos dscp cs4 signaling
 no vad
!
dial-peer voice 13 voip
 translation-profile incoming IN
 session protocol sipv2
 session target ipv4:192.168.0.150
 incoming called-number 3200
 voice-class codec 1  
!
dial-peer voice 746811310 voip
 description SIP TO VODA
 destination-pattern 2255.........
 no modem passthrough
 session protocol sipv2
 session target ipv4:1.1.1.1
 voice-class codec 1  
 voice-class sip bind control source-interface GigabitEthernet0/1.62
 voice-class sip bind media source-interface GigabitEthernet0/1.62
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 7771111 voip
 description *** Outoing call to CUCM for Testing***
 destination-pattern 3083
 modem passthrough nse codec g711ulaw
 session protocol sipv2
 session target ipv4:172.168.21.1
 session transport udp
 voice-class codec 1  
 dtmf-relay sip-notify
 no vad
!
!
gateway 
 timer receive-rtp 1200
!
!
!
gatekeeper
 shutdown
!
!
telephony-service
 max-ephones 40
 max-dn 20
 ip source-address 172.168.21.254 port 2000
 auto assign 1 to 5
 max-conferences 8 gain -6
 transfer-system full-consult
!
!
ephone-dn  1
 number 456
 label TEST
!
!
ephone-dn  2
 number 457
!
!
ephone  1
 device-security-mode none
 mac-address 30F7.721D.8C15
 type CIPC
 button  1:1
!
!
!
ephone  2
 device-security-mode none
 mac-address EC8E.B54C.23CC
 button  1:2
!
!
!
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 login local
 transport input all
!
scheduler allocate 20000 1000
ntp logging
ntp source GigabitEthernet0/1
ntp master
ntp update-calendar
ntp server 1.gr.pool.ntp.org
ntp server 192.168.2.123
!
end