Procedure
Step 1
On the Configuration Utility page, select
Admin Login
>
Info
>
Debug Info
>
Device Logs
.
Step 2
In the
Problem Reports
area, click the problem report file to download.
Step 3
Save the file to your local system and open the file to access the problem reporting logs.
Configure PRT Upload
You must use a server with an upload script to receive the problem reports that the user sends from the phone.
•
If the URL specified in the
PRT Upload Rule
field is valid, users get a notification alert on the phone
UI saying that they have successfully submitted the problem report.
•
If the
PRT Upload Rule
field is empty or has an invalid URL, users get a notification alert on the phone
UI saying that the data upload failed.
The phone uses an HTTP/HTTPS POST mechanism, with parameters similar to an HTTP form-based upload.
The following parameters are included in the upload (utilizing multipart MIME encoding):
•
devicename (example: "SEP001122334455")
•
serialno (example: "FCH12345ABC")
•
username (The user name is either the
Station Display Name
or the
User ID
of the extension. The
Station Display Name
is first considered. If this field is empty, then the
User ID
is chosen.)
•
prt_file (example: "probrep-20141021-162840.tar.gz")
You can generate PRT automatically at specific intervals and can define the PRT file name.
A sample script is shown below. This script is provided for reference only. Cisco does not provide support
for the upload script installed on a customer's server.
<?php
// NOTE: you may need to edit your php.ini file to allow larger
// size file uploads to work.
// Modify the setting for upload_max_filesize
// I used:
upload_max_filesize = 20M
// Retrieve the name of the uploaded file
$filename = basename($_FILES['prt_file']['name']);
// Get rid of quotes around the device name, serial number and username if they exist
$devicename = $_POST['devicename'];
$devicename = trim($devicename, "'\"");
$serialno = $_POST['serialno'];
$serialno = trim($serialno, "'\"");
$username = $_POST['username'];
$username = trim($username, "'\"");
// where to put the file
$fullfilename = "/var/prtuploads/".$filename;
// If the file upload is unsuccessful, return a 500 error and
Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide
183
Configure PRT Upload
Содержание 8851
Страница 23: ...P A R T I About the Cisco IP Phone Technical Details page 9 Cisco IP Phone Hardware page 21 ...
Страница 24: ......
Страница 36: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 20 USB Port Information ...
Страница 48: ......
Страница 96: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 80 Administrator and User Accounts ...
Страница 98: ......
Страница 118: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 102 Troubleshoot the Key Expansion Module ...
Страница 134: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 118 Adjust the Handset Rest ...
Страница 136: ......
Страница 142: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 126 Documentation Support and Security Guidelines ...
Страница 168: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 152 XML Services ...
Страница 204: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 188 Capture Packets ...
Страница 208: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 192 Configure the XML Directory Service ...
Страница 210: ......
Страница 292: ...Cisco IP Phone 8800 Series Multiplatform Phones Administration Guide 276 Cisco IP Phone Web Page ...