Cisco Cisco IP Phone 8841 Betriebsanweisung

Seite von 338
PRT 업로드에 실패하는 경우, 다음 URL(http://<phone-ip-address>/FS/<prt-file-name>)에서 전화기용
PRT 파일에 액세스할 수 있습니다. 다음과 같은 경우 이 URL이 전화기에 표시됩니다.
• 전화기가 공장 기본 설정 상태에 있는 경우. URL은 1시간 동안 활성화 상태입니다. 1시간이 경
과하면 사용자는 전화기 로그 제출을 다시 시도해야 합니다.
• 전화기가 구성 파일을 다운로드했다면, 통화 제어 시스템에서 전화기에 대한 웹 액세스를 허용
합니다.
Cisco Unified Communications Manager의 고객 지원 업로드 URL 필드에 서버 주소를 추가해야 합니
다.
Expressway를 통해 [모바일 및 원격 액세스]로 장치를 배포하고 있다면, Expressway 서버의 [HTTP 서
버 허용] 목록에 PRT 서버 주소도 추가해야 합니다.
고객 지원 업로드 URL 구성
PRT 파일을 수신하려면 업로드 스크립트가 있는 서버를 사용해야 합니다. PRT는 업로드에 포함된
다음과 같은 매개 변수와 함께 HTTP POST 메커니즘을 사용합니다(다중 MIME 인코딩 활용).
• devicename(예: “SEP001122334455”)
• serialno(예: “FCH12345ABC”)
• 사용자 이름(CUCM에 구성되어 있는 사용자 이름, 장치 소유자)
• prt_file(예: “probrep-20141021-162840.tar.gz”)
샘플 스크립트는 아래와 같습니다. 이 스크립트는 참조용으로만 제공됩니다. Cisco는 고객 서버에 설
치된 업로드 스크립트에 대한 지원은 제공하지 않습니다.
<?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.");
}
Cisco IP Phone 8800 시리즈 관리 설명서
247
문제 보고서 도구