You can generate PRT automatically at specific intervals and can define the PRT file name.
You can also configure the parameters in the phone configuration file with XML(cfg.xml) code. To configure
each parameter, see the syntax of the string in the
Parameters for Configure Problem Report Tool, on page
table.
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
// inform the user to try again
if(!move_uploaded_file($_FILES['prt_file']['tmp_name'], $fullfilename)) {
header("HTTP/1.0 500 Internal Server Error");
die("Error: You must select a file to upload.");
}
?>
Before you begin
Access the phone administration web page. See
Access the Phone Web Interface, on page 104
.
Procedure
Step 1
Select
Voice
>
Provisioning
.
Step 2
In the
Problem Report Tool
section, set the fields as described in the
Parameters for Configure Problem
table.
Step 3
Click
Submit All Changes
.
Cisco IP Phone 8800 Series Multiplatform Phone Administration Guide for Release 11.3(1) and Later
179
Cisco IP Phone Configuration
Configure Problem Report Tool
Summary of Contents for 8800 Series
Page 2: ... 2019 Cisco Systems Inc All rights reserved ...
Page 42: ......
Page 122: ......
Page 329: ...P A R T III Cisco IP Phone Installation Cisco IP Phone Installation on page 311 ...
Page 330: ......
Page 438: ......