Cisco 8800 Series Manual page 199

Hide thumbs Also See for 8800 Series:
Table of Contents

Advertisement

Cisco IP Phone Configuration
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
180
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:
// 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)) {
}
?>
Before you begin
Access the phone administration web page. See
Procedure
Step 1
Select Voice > Provisioning.
Step 2
In the Problem Report Tool section, set the fields as described in the
Report Tool, on page 180
Step 3
Click Submit All Changes.
upload_max_filesize = 20M
header("HTTP/1.0 500 Internal Server Error");
die("Error: You must select a file to upload.");
table.
Cisco IP Phone 8800 Series Multiplatform Phone Administration Guide for Release 11.3(1) and Later
Parameters for Configure Problem Report Tool, on page
Access the Phone Web Interface, on page
Parameters for Configure Problem
Configure Problem Report Tool
104.
179

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

885188618865

Table of Contents