EasyManua.ls Logo

Cisco IP Phone 6851

Cisco IP Phone 6851
240 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
// 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.");
}
?>
Procedure
Step 1
On the Configuration Utility page, select Admin Login > advanced > Voice > Provisioning.
Step 2
In the Problem Report Tool section, set the fields as described in the Problem Report Tool, on page 171.
You can also configure the parameters in the phone configuration file with XML(cfg.xml) code. Enter the
string in this format:
<PRT_Upload_Rule ua="na">
http://64.101.234.132:8000//Users/abcd/uploads/prt/test-prt.tar.gz
</PRT_Upload_Rule>
<PRT_Upload_Method ua="na">POST</PRT_Upload_Method>
<PRT_Max_Timer ua="na">20</PRT_Max_Timer>
Step 3
Click Submit All Changes.
Cisco IP Phone 6800 Series Multiplatform Phones Administration Guide
122
Configure PRT Upload

Table of Contents

Related product manuals