![Cisco IP Phone 6841 Скачать руководство пользователя страница 136](http://html.mh-extra.com/html/cisco/ip-phone-6841/ip-phone-6841_administration-manual_65713136.webp)
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
Содержание IP Phone 6841
Страница 15: ...P A R T I About the Cisco IP Phone Cisco IP Phone Hardware page 3 Technical Details page 11 ...
Страница 16: ......
Страница 34: ...Cisco IP Phone 6800 Series Multiplatform Phones Administration Guide 20 External Devices ...
Страница 35: ...P A R T II Phone Installation Cisco IP Phone Installation page 23 Third Party Call Control Setup page 61 ...
Страница 36: ......
Страница 79: ...P A R T III Phone Accessories Cisco IP Phone Accessories page 67 Wall Mount Kit page 71 ...
Страница 80: ......
Страница 84: ...Cisco IP Phone 6800 Series Multiplatform Phones Administration Guide 70 Headsets ...
Страница 92: ......
Страница 146: ...Cisco IP Phone 6800 Series Multiplatform Phones Administration Guide 132 Configure the XML Directory Service ...
Страница 147: ...P A R T V Phone Troubleshooting Monitoring Phone Systems page 135 Troubleshooting page 209 Maintenance page 221 ...
Страница 148: ......
Страница 222: ...Cisco IP Phone 6800 Series Multiplatform Phones Administration Guide 208 Cisco IP Phone Web Page ...