Voice Gateway
version 16.3 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption no platform punt-keepalive disable-kernel-core ! hostname [[hostname]] ! boot-start-marker boot system bootflash:[[IOS Upgrade Image Name]] boot-end-marker ! ! vrf definition Mgmt-intf ! address-family ipv4 exit-address-family ! address-family ipv6 exit-address-family ! ! no aaa new-model ! ! ! no ip domain lookup ip domain name hoag.org ! ! ! trunk group POTS hunt-scheme sequential ! ! ! ! voice service voip ip address trusted list ipv4 192.168.214.0 255.255.255.0 ipv4 172.24.223.0 255.255.255.0 ipv4 172.24.130.0 255.255.255.0 ipv4 10.169.17.0 255.255.255.0 ipv4 198.190.52.0 255.255.255.0 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 pass-through g711ulaw sip bind control source-interface GigabitEthernet0/0/0 bind media source-interface GigabitEthernet0/0/0 header-passing registrar server expires max 600 min 60 ! ! ! voice class server-group 1 ipv4 [[ 1st CUCM IP ]] preference 1 ipv4 [[ 2nd CUCM IP ]] preference 2 ipv4 [[ 3rd CUCM IP ]] preference 3 ! ! ! voice register global mode esrst no allow-hash-in-dn timeouts interdigit 2 system message SRST service active max-dn 50 max-pool 1 ! !***STOP HERE, YOU NEED TO AGREED TO THE LICENSE**** ! voice register pool 1 id network [[Site Subnet]] mask [[Site Mask]] dtmf-relay rtp-nte no vad ! ! ! ! interface GigabitEthernet0/0/0 ip address [[Gateway IP Address]] [[Gateway SubnetMask]] negotiation auto no shutdown ! ! ! ip forward-protocol nd no ip http server no ip http secure-server ip route 0.0.0.0 0.0.0.0 [[default-gateway IP Address]] ! ip ssh version 2 ! ! logging host 192.168.215.120 logging host 205.250.11.250 ! ! username [[login username]] privilege 15 secret [[login password]] ! ! ! control-plane ! ! voice-port 0/1/0 timeouts ringing infinity ! voice-port 0/1/1 timeouts ringing infinity ! voice-port 0/1/2 timeouts ringing infinity ! voice-port 0/1/3 timeouts ringing infinity ! voice-port 0/2/0 trunk-group POTS connection plar [[Site Main Number]] ! voice-port 0/2/1 trunk-group POTS connection plar [[Site Main Number]] ! voice-port 0/2/2 trunk-group POTS connection plar [[Site Main Number]] ! voice-port 0/2/3 trunk-group POTS connection plar [[Site Main Number]] ! ! ! sccp local GigabitEthernet0/0/0 sccp ccm [[SCCP 1st CUCM]] identifier 1 version 7.0 sccp ccm [[SCCP 2nd CUCM]] identifier 2 version 7.0 sccp ccm [[SCCP 3rd CUCM]] identifier 3 version 7.0 sccp ccm [[SRST IP Address]] identifier 4 version 7.0 sccp ! sccp ccm group 1 associate ccm 1 priority 1 associate ccm 2 priority 2 associate ccm 3 priority 3 associate ccm 4 priority 4 ! ! stcapp ccm-group 1 stcapp ! dial-peer voice 1 pots trunkgroup POTS description EMERGENCY SERVICE destination-pattern 9911 direct-inward-dial forward-digits 3 ! dial-peer voice 2 pots trunkgroup POTS description EMERGENCY SERVICE destination-pattern 911 forward-digits 3 ! dial-peer voice 3 pots trunkgroup POTS description LOCAL destination-pattern 9[2-9]..[2-9]...$ forward-digits 7 ! dial-peer voice 4 pots trunkgroup POTS description NATIONAL destination-pattern 91[2-9]..[2-9]......$ forward-digits 11 ! dial-peer voice 100 voip incoming called-number . dtmf-relay rtp-nte no vad ! dial-peer voice 101 voip preference 1 destination-pattern ^[[Site Main Number]]$ session protocol sipv2 session server-group 1 dtmf-relay rtp-nte no vad ! dial-peer voice 200 pots service stcapp port 0/1/0 ! dial-peer voice 201 pots service stcapp port 0/1/1 ! dial-peer voice 202 pots service stcapp port 0/1/2 ! dial-peer voice 203 pots service stcapp port 0/1/3 ! ! sip-ua retry invite 2 retry bye 2 retry cancel 2 ! ! call-manager-fallback secondary-dialtone 9 max-conferences 8 gain -6 transfer-system full-consult timeouts interdigit 3 ip source-address [[SRST IP Address]] port 2000 max-ephones 40 max-dn 50 octo-line system message primary SRST service active time-zone 5 after-hours block pattern 1 91242....... 7-24 after-hours block pattern 2 91246....... 7-24 after-hours block pattern 3 91264....... 7-24 after-hours block pattern 4 91268....... 7-24 after-hours block pattern 5 91284....... 7-24 after-hours block pattern 6 91340....... 7-24 after-hours block pattern 7 91345....... 7-24 after-hours block pattern 8 91441....... 7-24 after-hours block pattern 9 91456....... 7-24 after-hours block pattern 10 91473....... 7-24 after-hours block pattern 11 91500....... 7-24 after-hours block pattern 12 91533....... 7-24 after-hours block pattern 13 91544....... 7-24 after-hours block pattern 14 91566....... 7-24 after-hours block pattern 15 91600....... 7-24 after-hours block pattern 16 91649....... 7-24 after-hours block pattern 17 91664....... 7-24 after-hours block pattern 18 91671....... 7-24 after-hours block pattern 19 91684....... 7-24 after-hours block pattern 20 91700....... 7-24 after-hours block pattern 21 91721....... 7-24 after-hours block pattern 22 91758....... 7-24 after-hours block pattern 23 91767....... 7-24 after-hours block pattern 24 91784....... 7-24 after-hours block pattern 25 91787....... 7-24 after-hours block pattern 26 91809....... 7-24 after-hours block pattern 27 91829....... 7-24 after-hours block pattern 28 91849....... 7-24 after-hours block pattern 29 91868....... 7-24 after-hours block pattern 30 91869....... 7-24 after-hours block pattern 31 91876....... 7-24 after-hours block pattern 32 91976....... 7-24 after-hours block pattern 33 91900....... 7-24 system message primary SRST service active moh enable-g711 "flash:music-on-hold.au" ! banner motd ^CC ----------------------------------------------------------------------- !Warning! Unauthorized access prohibited. Authorized access only. This system is the property of Hoag Hospital! Disconnect IMMEDIATELY if you are not an authorized user! ----------------------------------------------------------------------- ^C ! line con 0 stopbits 1 login local ! line aux 0 stopbits 1 ! line vty 0 4 login local transport input telnet ssh ! ntp server 192.168.220.81 ! crypto key generate rsa modulus 2048 label ssh !



hostname:
IOS Upgrade Image Name:
1st CUCM IP :
2nd CUCM IP :
3rd CUCM IP :
Site Subnet:
Site Mask:
Gateway IP Address:
Gateway SubnetMask:
default-gateway IP Address:
login username:
login password:
Site Main Number:
SCCP 1st CUCM:
SCCP 2nd CUCM:
SCCP 3rd CUCM:
SRST IP Address:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: