Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| sipx [2008/07/31 17:58] – marco | sipx [2014/07/03 14:57] (versione attuale) – modifica esterna 127.0.0.1 | ||
|---|---|---|---|
| Linea 256: | Linea 256: | ||
| Esempio: upgradecode: | Esempio: upgradecode: | ||
| + | ===== Firmware supportati ===== | ||
| + | |||
| + | Per i 7906/7911 utilizzare il firmware 8.2.2SR4, sembra essere l' | ||
| + | |||
| + | Lo stesso potrebbe valere per 7961/7941 | ||
| ===== Soap ===== | ===== Soap ===== | ||
| Linea 262: | Linea 267: | ||
| Porta per richieste Soap rigurardo coda: 8020 | Porta per richieste Soap rigurardo coda: 8020 | ||
| + | |||
| + | ==== Php Service Sipxproc ==== | ||
| + | |||
| + | Per vedere lo stato dei servizi | ||
| + | http:// | ||
| + | |||
| + | Per riavviare il servizio | ||
| + | http:// | ||
| + | |||
| + | Per Startare il servizio | ||
| + | http:// | ||
| + | |||
| + | Per Stoppare il servizio | ||
| + | http:// | ||
| + | |||
| + | ===== Tips x Debug ===== | ||
| + | ==== Debug Sipx ==== | ||
| + | |||
| + | === Count messages per call to filter the trace === | ||
| + | |||
| + | On your system, run: | ||
| + | |||
| + | '' | ||
| + | '' | ||
| + | |||
| + | it will print a list like this: | ||
| + | |||
| + | Messages | ||
| + | -------------- | ||
| + | | ||
| + | | ||
| + | |||
| + | search that list for the call that starts at the right time (log times | ||
| + | are in UTC), and then use the call-id from that call as the < | ||
| + | argument to sipx-trace - you'll get just the one call you're after. | ||
| + | |||
| + | |||
| + | === Run a packet trace === | ||
| + | |||
| + | 1. Download and install Wireshark. This is an invaluable tool for network analysis. | ||
| + | 2. Before you issue the preflight test, open a root shell to the SipX server and issue this command to create the capture: | ||
| + | # tcpdump -i eth0 -n -s 1500 -w / | ||
| + | I assume the server, as it is a Mac Mini, has only a single network interface which is eth0. Adjust the -i option as needed. This will create a file called capture.pcap in /tmp which will contain a complete network trace of everything going in and out of eth0. | ||
| + | 3. Run your preflight test from another root ssh shell while the package capture is running. Allow the preflight to fail. | ||
| + | 4. Once it has failed, ctrl-c the tcpdump capture and it will gracefully close the capture. | ||
| + | 5. FTP, SFTP, SCP, or otherwise transfer the capture.pcap file to the system you installed Wireshark on (I assume you'll be using Windows). I recommend Filezilla as a great open-source file transfer client. | ||
| + | 6. Open the capture file with Wireshark. | ||
| + | |||
| + | |||
| + | ==== Debug Cisco IP Phones ==== | ||
| + | |||
| + | === 7941 - 7961 === | ||
| + | |||
| + | |||
| + | ssh user: ' | ||
| + | |||
| + | |||
| + | per resettare (o testare il telefono): test open; test key set **#** | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | screenshot: http:// | ||
| + | verificare che il parametro di configurazione 'URL di autenticazione' | ||
| + | |||
| + | e che il file auth.php (source: '<? | ||
| + | |||
| + | Per installare il php: | ||
| + | |||
| + | yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml | ||
| + | |||
| + | cp / | ||
| + | |||
| + | |||
| + | nano etc/ | ||
| + | |||
| + | edit: LoadModule php5_module / | ||
| + | |||
| + | |||
| + | |||
| + | service sipxecs restart | ||
| + | |||
| + | |||
| + | |||