Configure A Customer Support Upload Url - Cisco 7800 Series Administration Manual

Hide thumbs Also See for 7800 Series:
Table of Contents

Advertisement

Cisco IP Phone Administration
To issue a problem report, users access the Problem Report Tool and provide the date and time that the problem
occurred, and a description of the problem.
If the PRT upload fails, you can access the PRT file for the phone from the URL
http://<phone-ip-address>/FS/<prt-file-name>. This URL is displayed on the phone in
the following cases:
• If the phone is in the factory default state. The URL is active for 1 hour. After 1 hour, the user should
• If the phone has downloaded a configuration file and the call control system allows web access to the
You must add a server address to the Customer Support Upload URL field on Cisco Unified Communications
Manager.
If you are deploying devices with Mobile and Remote Access through Expressway, you must also add the
PRT server address to the HTTP Server Allow list on the Expressway server.

Configure a Customer Support Upload URL

You must use a server with an upload script to receive PRT files. The PRT uses an HTTP POST mechanism,
with the following parameters included in the upload (utilizing multipart MIME encoding):
• devicename (example: "SEP001122334455")
• serialno (example: "FCH12345ABC")
• username (the username configured in Cisco Unified Communications Manager, the device owner)
• prt_file (example: "probrep-20141021-162840.tar.gz")
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)) {
try to submit the phone logs again.
phone.
upload_max_filesize = 20M
header("HTTP/1.0 500 Internal Server Error");
Cisco IP Phone 7800 Series Administration Guide for Cisco Unified Communications Manager
Configure a Customer Support Upload URL
139

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7821781178617841

Table of Contents