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 [2009/12/14 09:04] – alex | sipx [2014/07/03 14:57] (versione attuale) – modifica esterna 127.0.0.1 | ||
---|---|---|---|
Linea 284: | Linea 284: | ||
===== Tips x Debug ===== | ===== Tips x Debug ===== | ||
==== Debug Sipx ==== | ==== Debug Sipx ==== | ||
+ | |||
+ | === Count messages per call to filter the trace === | ||
On your system, run: | On your system, run: | ||
Linea 300: | Linea 302: | ||
are in UTC), and then use the call-id from that call as the < | 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. | 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 ==== | ==== Debug Cisco IP Phones ==== | ||
=== 7941 - 7961 === | === 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 | ||