This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:voip:patton:start [2012/01/31 08:25] 127.0.0.1 upraveno mimo DokuWiki |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 02: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 " | ||
- | timer CONFIG_UPDATE 04:08 every day " | ||
- | |||
- | profile provisioning CONFIG | ||
- | destination configuration | ||
- | location 1 tftp:// | ||
- | activation reload graceful | ||
- | |||
- | profile provisioning FIRMWARE | ||
- | destination script | ||
- | location 1 tftp:// | ||
- | activation reload graceful | ||
- | </ | ||
- | |||
- | **Č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 | ||
- | </ |