Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisioneRevisione precedente
Prossima revisione
Revisione precedente
sipx [2009/12/14 11:54] – === Run a packet trace === added alexsipx [2014/07/03 14:57] (versione attuale) – modifica esterna 127.0.0.1
Linea 309: Linea 309:
 2. Before you issue the preflight test, open a root shell to the SipX server and issue this command to create the capture: 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 /tmp/capture.pcap     # tcpdump -i eth0 -n -s 1500 -w /tmp/capture.pcap
-    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.+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. 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. 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. 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. 6. Open the capture file with Wireshark.
 +
  
 ==== Debug Cisco IP Phones ==== ==== Debug Cisco IP Phones ====
  
 === 7941 - 7961 === === 7941 - 7961 ===
 +
 +
 +ssh user: 'user' password: 'pass'; poi al login: 'debug', password: 'debug'
 +
 +
 +per resettare (o testare il telefono): test open; test key set **#**
 +
 +
 +
 +
 +screenshot: http://X.Y.Z.K/CGI/Screenshot    user: 'user'  password: 'pass'
 +verificare che il parametro di configurazione 'URL di autenticazione' in 'Config di rete' sia settato su 'http://SipXAddress/phone/profile/docroot/auth.php'
 +
 +e che il file auth.php (source: '<?php echo 'AUTHORIZED' ?>') esista (in: /var/sipxdata/configserver/phone/profile/docroot/auth.php) e che la url sia effettivamente raggiungibile (deve restiture: 'AUTHORIZED') (verifica che sia installato il PHP).
 +
 +Per installare il php:
 +
 +yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml
 +
 +cp /etc/httpd/conf.d/php.conf /etc/sipxpbx/httpd.conf.d/php.conf
 +
 +
 +nano etc/sipxpbx/httpd.conf.d/php.conf
 +
 + edit: LoadModule php5_module /etc/httpd/modules/libphp5.so
 +
 +
 +
 +service sipxecs restart