version 12.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname VoiceGW ! boot-start-marker boot system flash:c2800nm-spservicesk9-mz.124-22.T.bin boot-end-marker ! card type e1 0 0 logging message-counter syslog logging buffered 1000000 logging rate-limit 10000 no logging console enable secret 5 ... ! aaa new-model ! ! aaa authentication login default group tacacs+ line aaa authorization exec default group tacacs+ if-authenticated ! ! aaa session-id common memory-size iomem 15 clock timezone CET -1 clock summer-time CET recurring last Sun Mar 2:00 last Sun Oct 2:00 network-clock-participate wic 0 network-clock-select 1 E1 0/0/0 network-clock-select 2 E1 0/0/1 ! dot11 syslog ip source-route ! ! ip cef ! ! ip domain name test.local ip host p01.neotel.at 193.84.65.80 ip host demo.neotel.at 193.84.65.80 ip name-server 172.16.1.230 ip name-server 172.16.1.231 no ipv6 cef multilink bundle-name authenticated ! ! stcapp ccm-group 1 stcapp ! stcapp feature access-code ! stcapp feature speed-dial ! ! ! stcapp call-control mode feature ! isdn switch-type primary-4ess ! ! voice call disc-pi-off ! voice service voip allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip no supplementary-service h450.2 supplementary-service h450.12 no supplementary-service sip moved-temporarily no supplementary-service sip refer redirect ip2ip cause-code legacy h323 h225 signal overlap call preserve limit-media-detection sip header-passing registrar server expires max 1200 min 300 bearer-capability clear-channel udi ! ! voice class codec 1 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 3 g729r8 ! voice class codec 2 codec preference 1 g729br8 ! voice class codec 3 codec preference 1 g711alaw ! ! ! ! voice class h323 1 call preserve limit-media-detection ! ! ! ! ! ! ! ! ! ! ! voice translation-rule 10 rule 1 /^\(.*\)/ /00\1/ type subscriber subscriber rule 2 /^\(.*\)/ /00\1/ type national national rule 3 /^\(.*\)/ /000\1/ type international international ! voice translation-rule 20 rule 2 /^$/ /195/ rule 3 /^0.*/ /195/ ! voice translation-rule 50 rule 1 /^0*\(.*\)/ /43\1/ ! voice translation-rule 92 rule 3 /^92\(.*\)/ /\1/ ! voice translation-rule 93 rule 1 /437201234/ // rule 2 /06621234/ // ! ! voice translation-profile INCALL translate calling 10 translate called 20 ! voice translation-profile OUTCALL translate calling 50 ! voice translation-profile SIP-IN translate called 93 ! voice translation-profile SIP-OUT translate called 92 ! ! voice-card 0 dsp services dspfarm ! ! crypto pki trustpoint TP-self-signed-553103589 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-553103589 revocation-check none rsakeypair TP-self-signed-553103589 ! ! crypto pki certificate chain TP-self-signed-553103589 certificate self-signed 01 3082024A 308201B3 A0030201 02020101 300D0609 2A864886 F70D0101 04050030 30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274 69666963 6174652D 35353331 30333538 39301E17 0D303930 32313031 35343430 375A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F 532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3535 33313033 35383930 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100 ... quit ! ! username cisco password 7 ... archive log config hidekeys ! ! controller E1 0/0/0 pri-group timeslots 1-31 description **** to PSTN **** ! controller E1 0/0/1 pri-group timeslots 1-31 service mgcp description **** to HiPath **** ! ip ssh version 2 gw-accounting syslog ! ! ! ! interface GigabitEthernet0/0 no ip address duplex full speed 1000 ! interface GigabitEthernet0/0.1 encapsulation dot1Q 1 native ! interface GigabitEthernet0/0.21 encapsulation dot1Q 21 ip address 172.18.1.21 255.255.252.0 h323-gateway voip bind srcaddr 172.18.1.21 ! interface GigabitEthernet0/1 ip address 193.138.113.5 255.255.255.240 ip access-group 100 in duplex full speed 100 ! interface Serial0/0/0:15 description **** to PSTN **** no ip address encapsulation hdlc no logging event link-status isdn switch-type primary-net5 isdn overlap-receiving T302 4000 isdn incoming-voice voice isdn bchan-number-order ascending no clns route-cache ! interface Serial0/0/1:15 no ip address encapsulation hdlc isdn switch-type primary-qsig isdn timer T310 120000 isdn overlap-receiving isdn protocol-emulate network isdn incoming-voice voice isdn bind-l3 ccm-manager no cdp enable ! ip default-gateway 172.18.1.254 ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 172.18.1.254 ip route 193.84.65.0 255.255.255.0 193.138.113.65 ip route 193.84.65.80 255.255.255.255 193.138.113.65 no ip http server ip http authentication aaa ip http secure-server ! ! ! access-list 100 permit ip host 193.138.113.5 193.84.65.0 0.0.0.255 log access-list 100 permit ip 193.84.65.0 0.0.0.255 host 193.138.113.5 log access-list 100 deny ip any any log ! ! control-plane ! ! ! voice-port 0/0/0:15 translation-profile incoming INCALL translation-profile outgoing OUTCALL no comfort-noise cptone AT timeouts interdigit 3 ! voice-port 0/0/1:15 cptone AT ! ccm-manager mgcp ccm-manager fax protocol cisco ccm-manager music-on-hold ccm-manager config server 172.18.1.11 ccm-manager config ! mgcp mgcp call-agent 172.18.1.11 2427 service-type mgcp version 0.1 mgcp dtmf-relay voip codec all mode out-of-band mgcp rtp unreachable timeout 1000 action notify mgcp modem passthrough voip mode nse mgcp package-capability rtp-package mgcp package-capability sst-package mgcp package-capability pre-package no mgcp package-capability res-package no mgcp package-capability fxr-package no mgcp timer receive-rtcp mgcp sdp simple mgcp fax t38 ecm mgcp fax t38 inhibit mgcp rtp payload-type g726r16 static ! mgcp profile default ! sccp local GigabitEthernet0/0.21 sccp ccm 172.18.1.21 identifier 3 version 6.0 sccp ccm 172.18.1.11 identifier 1 version 6.0 sccp ip precedence 4 sccp ! sccp ccm group 1 bind interface GigabitEthernet0/0.21 associate ccm 1 priority 1 associate ccm 3 priority 3 associate profile 1 register MTP100005020001 switchback method graceful signaling dscp af42 ! dspfarm profile 1 mtp description MediaTerminationPoint codec g711ulaw maximum sessions hardware 12 maximum sessions software 40 associate application SCCP shutdown ! ! dial-peer voice 1000 voip preference 1 destination-pattern .T progress_ind setup enable 3 progress_ind connect enable 8 progress_ind disconnect enable 8 no modem passthrough voice-class codec 1 voice-class h323 1 session target ipv4:172.18.1.11 dtmf-relay h245-alphanumeric fax rate disable ip qos dscp cs5 media ip qos dscp cs5 signaling no vad ! dial-peer voice 2000 pots destination-pattern 0T progress_ind alert enable 8 direct-inward-dial port 0/0/0:15 no sip-register ! dial-peer voice 2001 pots service mgcp port 0/0/1:15 ! dial-peer voice 1002 voip description IN- OUT-GOING demo.neotel.at translation-profile incoming SIP-IN translation-profile outgoing SIP-OUT preference 7 destination-pattern 92T voice-class codec 3 voice-class sip early-offer forced session protocol sipv2 session target dns:demo.neotel.at incoming called-number 437201234T dtmf-relay rtp-nte fax rate disable fax protocol pass-through g711alaw no vad ! ! gateway timer receive-rtp 1200 ! sip-ua credentials username 07201234 password 7 0956123530011405F realm demo.neotel.at authentication username 07201234 password 7 01090345670E005D75 realm demo.neotel.at srv version 1 retry invite 3 retry response 3 retry bye 3 retry cancel 3 retry register 10 timers trying 1000 timers register 1000 registrar dns:demo.neotel.at expires 3600 sip-server dns:demo.neotel.at notify telephone-event max-duration 3000 permit hostname dns:demo.neotel.at ! ! call-manager-fallback max-conferences 10 gain -6 transfer-system full-consult ip source-address 172.18.1.21 port 2000 default-destination 28600 call-forward busy 28600 call-forward noan 28600 timeout 40 multicast moh 239.1.1.1 port 16384 route 172.18.1.21 time-format 24 date-format dd-mm-yy ! ! line con 0 line aux 0 line vty 0 4 exec-timeout 90 0 password 7 104D003245234575B5E54 line vty 5 15 password 7 00071A23453245324532D71 ! scheduler allocate 20000 1000 ntp server 172.16.1.1 end