Patton 4524 Tested
This configuration is for a Patton 4524 gateway running release code 5.4. The configuration features emergency number dialing. If a call comes in to the gateway and both lines are busy, one of the lines will get hung up so that 911 can be dialed.
...
Panel |
---|
cli version 3.20 administrator administrator password xxxxx administrator cmc1 password xxxxx clock local offset -05:00 dns-client server 172.16.129.2 dns-relay webserver port 80 language en sntp-client sntp-client server primary FQDN.OF.SIPX.PBX port 123 version 4 sntp-client server secondary IP.OF.SECONDARY.NTP port 123 version 4 sntp-client poll-interval 36000 sntp-client local-clock-offset system hostname FQDN.OF.PATTON.GATEWAY |
Panel |
---|
system |
Panel |
---|
ic voice 0 low-bitrate-codec g729 |
panelprofile napt NAPT |
Panel |
---|
profile ppp default |
panelprofile call-progress-tone US_Dialtone profile call-progress-tone US_Alertingtone play 1 2000 440 -19 480 -19 pause 2 4000 |
panelprofile call-progress-tone US_Busytone play 1 500 480 -24 620 -24 pause 2 500 |
Panel |
---|
profile tone-set default profile tone-set US map call-progress-tone dial-tone US_Dialtone map call-progress-tone ringback-tone US_Alertingtone map call-progress-tone busy-tone US_Busytone map call-progress-tone release-tone US_Busytone map call-progress-tone congestion-tone US_Busytone |
panelprofile voip default codec 1 g711ulaw64k rx-length 20 tx-length 20 codec 2 g729 rx-length 20 tx-length 20 |
Panel |
---|
profile pstn default |
Panel |
---|
profile ringing-cadence default play 1 1000 pause 2 4000 |
Panel |
---|
profile sip default |
Panel |
---|
profile aaa default method 1 local method 2 none |
panelcontext ip router |
Panel |
---|
interface eth0 ipaddress dhcp use profile napt NAPT tcp adjust-mss rx mtu tcp adjust-mss tx mtu |
Panel |
---|
interface eth1 ipaddress IP.ADDRESS.OF.GATEWAY SUBNET.MASK.OF.GATEWAY tcp adjust-mss rx mtu tcp adjust-mss tx mtu |
Panel |
---|
context ip router route 0.0.0.0 0.0.0.0 DEF.GATEWAY.OF.PATTON 0 |
Panel |
---|
context cs switch digit-collection timeout 4 |
Panel |
---|
routing-table called-e164 TAB_OUT route .%T dest-interface IF_SIPX |
panelrouting-table called-e164 TAB_IN route default dest-service SVC-PRIO.OUTBOUND route 911 dest-service SVC-PRIO.EMERGENCY |
panelmapping-table called-e164 to called-e164 STIP-ALL map default to "" |
Panel |
---|
interface sip IF_SIPX bind context sip-gateway GW-SIP route call dest-table TAB_IN remote monmouth.kidsrsu.org address-translation outgoing-call from-header user-part call host-part fix IP.ADDRESS.OF.GATEWAY address-translation outgoing-call to-header user-part fix 100 host-part fix SIP.DOMAIN.NAME |
panelinterface fxo IF_FXO0 route call dest-table SVC-PRIO.INBOUND loop-break-duration min 60 max 100 no disconnect-signal loop-break disconnect-signal busy-tone dial-after timeout 2 use profile tone-set US |
panelinterface fxo IF_FXO1 route call dest-table SVC-PRIO.INBOUND loop-break-duration min 60 max 100 no disconnect-signal loop-break disconnect-signal busy-tone dial-after timeout 2 use profile tone-set US |
Panel |
---|
service hunt-group FXOHUNT drop-cause normal-unspecified drop-cause no-circuit-channel-available drop-cause network-out-of-order drop-cause temporary-failure drop-cause switching-equipment-congestion drop-cause access-info-discarded drop-cause circuit-channel-not-available drop-cause resources-unavailable drop-cause user-busy drop-cause destination-out-of-order route call 1 dest-interface IF_FXO1 route call 2 dest-interface IF_FXO0 |
panelservice priority SVC-PRIO quiesce-time 3 max-calls-to-drop 1 |
Panel |
---|
port EMERGENCY route call dest-service FXOHUNT priority 10 |
panelport INBOUND route call dest-interface TAB_OUT |
panelport OUTBOUND route call dest-service FXOHUNT |
Panel |
---|
context cs switch no shutdown |
Panel |
---|
location-service SIPX_VOIP domain 1 SIP.DOMAIN.NAME |
Panel |
---|
context sip-gateway GW-SIP |
panelinterface IF_SIPX bind interface eth1 context router port 5060 |
panelcontext sip-gateway GW-SIP bind location-service SIPX_VOIP no shutdown |
Panel |
---|
port ethernet 0 0 medium auto encapsulation ip bind interface eth0 router shutdown |
Panel |
---|
port ethernet 0 1 medium auto encapsulation ip bind interface eth1 router no shutdown |
Panel |
---|
port fxs 0 0 shutdown |
Panel |
---|
port fxs 0 1 shutdown |
Panel |
---|
port fxo 0 0 flash-hook-duration 50 use profile fxo us caller-id format bell encapsulation cc-fxo bind interface IF_FXO0 switch no shutdown |
panelport fxo 0 1 flash-hook-duration 50 use profile fxo us caller-id format bell encapsulation cc-fxo bind interface IF_FXO1 switch no shutdown |