EasyManuals Logo

Cisco 7800 Series Administration Guide

Cisco 7800 Series
360 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
Page #195 background imageLoading...
Page #195 background image
• 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
// 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 Page, on page 80.
Cisco IP Phone 7800 Series Multiplatform Phones Administration Guide
181
Cisco IP Phone Administration
Configure PRT Upload

Table of Contents

Other manuals for Cisco 7800 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 7800 Series and is the answer not in the manual?

Cisco 7800 Series Specifications

General IconGeneral
WirelessNo
Video SupportNo
PoEYes, 802.3af/at
Audio Codec SupportG.711, G.722, G.729, iLBC
Network ProtocolsSIP, SDP, IPv4, IPv6, UDP, TCP, DNS, TFTP, HTTP, HTTPS, DHCP
Security Features802.1X, TLS, SRTP
Power OptionsPoE
Headset Port3.5mm
ButtonsLine keys, navigation cluster, softkeys, mute, speakerphone, headset, volume control
BluetoothNo
Ethernet SwitchYes, 2-port 10/100/1000
USB PortYes, for headset (7875)

Related product manuals