Chapters Download(3 MB)
1.1.1 Introduction to Media Server
1.1.2 Position in the XE IP PBX and Networking Mode
1.2.2 Uploading Media Resource Files
1.2.3 Configuring a Media Resource
1.2.4 Configuring the Media Server
1.2.5 Configuring MS Device Information in LS View
The H3C XE 200/2000 IP PBX (hereafter referred to as XE IP PBX) integrates the functions of a location server (LS), a process server (PS), and a media server (MS), so the XE IP PBX can serve as an LS, a PS, and/or an MS. An LS is used to record information, provide information query, and control services. A PS is used for processing gateway registration and call control, whereas the MS is in charge of media services and media processing.
Specific functions of an MS include:
l Media services, including media resource management and media negotiation.
l Media processing, including multimedia voice playing and implements media relaying.
Before enabling a voice service with voice prompt function, you must enable the MS.
Figure 1-1 Architecture of the XE IP PBX
As shown in the figure above, the MS and the PS are located at the same level. The MS is managed by the LS. The MS communicates with the LS through the CAI signaling and exchanges media information with the gateway over RTP/RTCP for multimedia playing and media relaying.
The MS is connected to the LS in two modes:
l Centralized networking: the MS and the LS are deployed on the same XE IP PBX, where the LS mode of the MS is set to “local”.
l Distributed networking: the MS and the LS are deployed on two different XE IP PBXs, where the LS mode of the MS is set to “remote”.
Table 1-1 Configure the MS
Step |
Operation |
Description |
1 |
Upload media resource files to the XE IP PBX |
For details, see 1.2.2 |
2 |
Configure media resource IDs and related information |
For details, see 1.2.3 |
3 |
Configure the MS basic information |
For details, see 0 |
4 |
Configure the MS device information in LS view |
For details, see 1.2.5 |
Typically, FTP or TFTP is used to upload media resource files to the XE IP PBX. For how to upload files through TFTP, refer to section 5.4 “TFTP Configuration” in the “System Management Operation” module of this manual. The following sections describe how to upload media files in batch mode through FTP.
Table 1-2 Configure the FTP user information
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Configure the username and password |
local-user local-user password { simple | cipher } password |
Required |
Authorize the user to use the FTP service |
local-user local-user service-type ftp |
Required |
Configure the initial FTP directory for the user |
local-user local-user ftp-directory directory |
Required |
Table 1-3 Configure the FTP server information
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enable the FTP server |
ftp server enable |
Required |
Configure the timeout on the FTP server |
ftp timeout minutes |
Optional |
1) Select [Start/Programs/Internet Explorer] to launch the Web browser.
Figure 1-2 Launch the Web browser
2) Input ftp://username:[email protected] in the address bar, and then press Enter to log in to the XE IP PBX. Input your username in the place of “username”, input your password in the place of “password”, and input the IP address of the XE IP PBX in the place of “xxx.xxx.xxx.xxx”. As shown in the following figure, ftp://xeuser:[email protected] indicates that the user “xeuser” is logging in to the XE IP PBX: the password is “loginkey”, and the IP address of the XE IP PBX is 192.168.1.10.
& Note:
l No anonymous users can log into the XE IP PBX via FTP.
l Use correct username and password for login. However, if your input is wrong, you have to shut the current Web browser and enter a new one for relogin.
Figure 1-3 Log in to the XE IP PBX
Figure 1-4 The window after user login
3) On the PC, select and right-click the media resource files to be uploaded, and then select [Copy] from the shortcut menu.
Figure 1-5 Copy media resource files to be uploaded
4) Right-click in the Web window showing the target path and select [Paste] from the shortcut menu, or click in the Web window and press Ctrl+V to copy the files to the corresponding directory on the XE IP PBX.
Figure 1-6 Paste the files to the corresponding directory on the XE IP PBX
Figure 1-7 Files being copied
Figure 1-8 The files have been copied to the corresponding directory
Table 1-4 Configure a media resource
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter media resource management view |
media-ability |
— |
Enter the language view supported by the MS |
language language |
Required |
Configure the media resource format supported by the corresponding language type and enter format view |
format format-string |
Required |
Configure the media resource identifier supported by the specified media resource format |
set-media media-id media-file-path |
Required |
Table 1-5 Configure the basic information of the MS
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter media-server view |
media-server |
— |
Configure MS interface information |
ms-config ms-id interface interface-type interface-number |
Required |
Specify a language type supported by the MS |
language language |
Required |
Configure the heartbeat password for the MS |
heartbeat password password |
Required |
Configure the LS mode of the MS |
ls-mode { local | { remote ip-address ip-address [ port port ]} } |
Required |
Start the MS |
start |
Required |
Table 1-6 Configure MS device information in LS view
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter LS view |
location-server |
— |
Configure the MS on the LS and enter LS-MS view |
media-server ms-id |
Required |
Specify a language type supported by the MS on the LS |
language language |
Required |
Configure the MS heartbeat password on the LS |
heartbeat password password |
Required |