Cisco Systems 7912G IP Phone User Manual


 
Chapter 9 Troubleshooting the Cisco IP Phone Models 7905G and 7912G
Debugging
9-6
Cisco IP Phone Models 7905G and 7912G Administrator Guide (SIP)
OL-4277-01
To collect debugging information in a log file, perform the following steps. For
information about editing the Cisco IP Phone profile, see Chapter 6, “Configuring
the Cisco IP Phone Models 7905G and 7912G Using a TFTP Server.”
Step 1 Add the following line to the Cisco IP Phone profile:
Nprintf:IPaddress.listen_port
where:
IPaddress is the IP address of the server to which information will be sent.
listen_port is the port to which information is sent on the server specified.
For example, if you want to send information to port 9001 on a server with an IP
address of 192.168.2.170, set the Nprintf parameter to 192.168.2.170.9001.
Note If you set this parameter to 0 or to 0.0.0.0.0, no information will be sent
from the phone.
Step 2 On the server that will receive information, open a command window and type the
following command:
prserv [listen_port]
where listen_port is the same port that you specified with the Nprintf parameter.
If you do not specify a port, 9001 is used by default.
While prserv is running, information from the Cisco IP Phone is sent to a file
named listen_port.log, where listen_port is the port you specified with the Nprintf
parameter and the prserv command. This file is stored on the server you specified
with the Nprintf parameter in the folder from which you ran the prserv command.
If the file exists, new information is appended to it.
You can open a listen_port.log file using a text editor.
Step 3 To exit prserv.exe and stop collecting information, press Ctrl-C in the command
window.