{{ :wiki:site:patton:patton_electronics.jpg?direct&200|}} ====== PATTON ====== Default login: * administrator * bez hesla >call 326722679 dial 326706162 dest-interface IF_SIP >call 326722679 drop >show call-control call >debug call-router detail 5 >debug context sip-gateway transport >no debug all **Čas** clock local default-offset +01:00 clock local dst-rule LETO +02:00 from 03:00 mar last saturday until 02:00 oct last saturday sntp-client sntp-client server primary x.x.x.x port 123 version 4 sntp-client server secondary x.x.x.x port 123 version 4 **SNMP** snmp community public ro snmp host x.x.x.x security-name public **Syslog** syslog-client remote x.x.x.x 514 facility kernel severity error facility sip severity error facility isdn severity error facility daemon severity error ** Provisioning** timer FIRMWARE_UPDATE 01:08 every day "provisioning execute FIRMWARE" timer CONFIG_UPDATE 04:08 every day "provisioning execute CONFIG" timer CONFIG_BACKUP now + 2 minutes every month "provisioning execute CONFIG_BACKUP" profile provisioning CONFIG destination configuration location 1 tftp://x.x.x.x/patton/config/$(system.serial).cfg activation reload graceful profile provisioning FIRMWARE destination script location 1 tftp://x.x.x.x/patton/SN4600/bw activation reload graceful profile provisioning CONFIG_BACKUP destination upload location tftp://x.x.x.x/patton/config/$(system.serial).cfg **České tóny** profile call-progress-tone CZ_Dialtone play 1 330 425 -12 pause 2 330 play 3 660 425 -12 pause 4 660 profile call-progress-tone CZ_Alertingtone play 1 1000 425 -12 pause 2 4000 profile call-progress-tone CZ_Busytone play 1 330 425 0 pause 2 330 profile tone-set default profile tone-set CZECH map call-progress-tone dial-tone CZ_Dialtone map call-progress-tone ringback-tone CZ_Alertingtone map call-progress-tone busy-tone CZ_Busytone map call-progress-tone release-tone CZ_Busytone map call-progress-tone congestion-tone CZ_Busytone **RT_SD** routing-table called-e164 RT_SD route 112 dest-table RT_SIP route 15. dest-table RT_SIP route 199 dest-table RT_SIP route 118. dest-table RT_SIP route 131.. dest-table RT_SIP route 141.. dest-table RT_SIP route 133... dest-table RT_SIP route [2-9]........ dest-table RT_SIP route 00T dest-table RT_SIP **DHCP server** profile dhcp-server DHCPS_LAN network 192.168.1.0 255.255.255.0 include 1 192.168.1.10 192.168.1.99 lease 2 hours default-router 1 192.168.1.1 domain-name-server 1 192.168.1.1 **Trunk bez registrace** authentication-service SER_AUTH username JMENO password HESLO location-service SER_LOC domain 1 x.x.x.x identity-group default authentication outbound authenticate 1 authentication-service SER_AUTH username JMENO **Trunk s registraci** authentication-service SER_AUTH username JMENO password HESLO location-service SER_LOC domain 1 x.x.x.x identity-group default authentication outbound authenticate 1 authentication-service SER_AUTH username JMENO identity JMENO authentication outbound authenticate 1 authentication-service SER_AUTH username JMENO registration outbound registrar x.x.x.x lifetime 180 register auto **Registrace samostatnych cisel - var.1** authentication-service SER_AUTH username 111111111 password HESLO1 username 222222222 password HESLO2 location-service SER_LOC domain 1 x.x.x.x identity 111111111 authentication outbound authenticate 1 authentication-service SER_AUTH username 111111111 registration outbound registrar x.x.x.x lifetime 180 register auto identity 222222222 authentication outbound authenticate 1 authentication-service SER_AUTH username 222222222 registration outbound registrar x.x.x.x lifetime 180 register auto **Registrace samostatnych cisel - var.2** authentication-service SER_AUTH username 111111111 password HESLO1 username 222222222 password HESLO2 username 333333333 password HESLO3 location-service SER_LOC domain 1 x.x.x.x identity-group REGISTER authentication outbound registration outbound registrar x.x.x.x 5060 lifetime 180 register auto call outbound identity 111111111 inherits REGISTER authentication outbound authenticate 1 authentication-service SER_AUTH username 111111111 identity 222222222 inherits REGISTER authentication outbound authenticate 1 authentication-service SER_AUTH username 222222222 identity 333333333 inherits REGISTER authentication outbound authenticate 1 authentication-service SER_AUTH username 333333333 **Přístup bez hesla** - Podržet reset - připojit napájení + reset držet ještě chvíli potom RedBoot> fis load Loaded 2302100 bytes from 0x60040008 to 0x01800100 (entry 0x01800100) RedBoot> go -s factory-config **Limitování počtu hovorů** routing-table called-e164 RT_PBX route 326214036 dest-service SER_LI_36.isdn REMOVE route 326781181 dest-service SER_LI_36.isdn REMOVE routing-table calling-e164 RT_SIP route 326214036 dest-service SER_LI_36.sip service limiter SER_LI_36 max-calls 1 port isdn route call dest-service SER_HG exceed max-calls drop user-busy port sip route call dest-interface IF_SIP exceed max-calls drop user-busy ** Radius server ** terminal console use authentication RADIUS terminal telnet use authentication RADIUS terminal http use authentication RADIUS administrator administrator password profile authentication RADIUS method radius RADIUS_SERVER method local method none server-timeout 5 terminal Telnet use authentication RADIUS terminal console use authentication RADIUS radius-client RADIUS_SERVER radius-server x.x.x.x shared-secret authentication show profile authentication show radius-client