准备工作:
- 到Dialogic网站下载最新的hmp 3.1 for linux的gz包,并上传到linux机器的/root/software下。
- 同样下载Demo license for Release 3.1LIN for Linux文件到/root/software下。
安装设定:
- 以root身份在linux本机或者ssh登录运行console行命令。
- hmp软件安装方法如下:
[root@FOOLBUG software]# pwd
/root/software
[root@FOOLBUG software]# mkdir hmp
[root@FOOLBUG software]# cd hmp
[root@FOOLBUG hmp]# tar -zxf ../lnxHMP3.1_190.tgz
[root@FOOLBUG hmp]# ls
buildinfo install.sh license.txt redistributable-runtime sdk
[root@FOOLBUG hmp]# ./install.sh
Installing Dialogic(R) HMP Software Release 3.1LIN
Redistributable Runtime
Please wait, installation is in progress...
Initializing install, please wait .......
==============================
Dialogic(R) HMP Software Release 3.1LIN
Redistributable Runtime
INSTALLATION
You will now have the opportunity to install software packages.
After the menu is displayed, enter the package number(s) of the desired
packages, separated by a space. Enter A for all packages, Q to quit.
Package dependencies will be automatically resolved during installation. For
example, selecting a single package will automatically install all packages
required for that selection.
Press ENTER to display the menu of packages:
Item Package Description
---- ----------------------------------------------------------------------
1 Dialogic(r) Host Media Processing Software (126 MB)
2 Dialogic(r) DNI Boards & HMP Software (179 MB)
A Install All (179 MB)
Q Quit Installation
Enter the packages you want to install, separated by a space, or [A,a,Q,q]: 1
Package installation order (including dependencies):
lsb-dialogic-hmp-com
lsb-dialogic-hmp-ooc
lsb-dialogic-hmp-dmdev
lsb-dialogic-hmp-hmp
lsb-dialogic-hmp-lic
lsb-dialogic-hmp-docs
Checking for previously installed packages:
None found.
Checking for sufficient disk space (need 126 MB): OK
After installation, the filesystem containing the
Dialogic(R) Software will be 24% full.
Installing or upgrading 6 needed packages:
Preparing... ########################################### [100%]
1:lsb-dialogic-hmp-docs ########################################### [ 17%]
2:lsb-dialogic-hmp-com ########################################### [ 33%]
3:lsb-dialogic-hmp-ooc ########################################### [ 50%]
4:lsb-dialogic-hmp-dmdev ########################################### [ 67%]
5:lsb-dialogic-hmp-hmp ########################################### [ 83%]
6:lsb-dialogic-hmp-lic ########################################### [100%]
Installation successful.
Press ENTER to continue:
Item Package Description
---- ----------------------------------------------------------------------
1 Dialogic(r) Host Media Processing Software (126 MB)
2 Dialogic(r) DNI Boards & HMP Software (179 MB)
A Install All (179 MB)
Q Quit Installation
Enter the packages you want to install, separated by a space, or [A,a,Q,q]: q
Installation of Dialogic(R) HMP Software Release 3.1LIN Redistributable Runtime was successful.
Do you wish to install the Software Development Kit [y/n] ? n
Installation of the Software Development Kit was skipped.
Do you wish to configure the SNMP Agent Listening Port (default is 161) [y/n] ? n
Do you wish to configure the CLI Agent Telnet Port (default is 23) [y/n] ? n
Installation of HMP Software Release 3.1LIN successfully completed.
----------------------------------------------------------------------------
-- --
-- NOTE: --
-- (1) The default Verification License has been automatically installed. --
-- (2) The Dialogic(R) system services will automatically start --
-- every time the system is rebooted. To start and stop system --
-- services manually, use the dlstop and dlstart scripts found in --
-- /usr/dialogic/bin. --
-- (3) For administration via SNMP, use any SNMP browser, library or tools--
-- (4) For administration via CLI, use the telnet command --
-- (5) For details, refer to documentation --
-- --
-- NEXT STEPS: --
-- You need to do the following before using the product: --
-- (1) Before using the software, you must also ensure that the --
-- environment variables are set by performing the following action: --
-- - Logout and login --
-- (2) The Dialogic(R) system services must be started. To start system --
-- services manually, use the dlstart script found in --
-- /usr/dialogic/bin. --
-- (3) Configure an appropriate license (higher density) via SNMP or CLI --
-- --
----------------------------------------------------------------------------
[root@FOOLBUG hmp]#
[root@FOOLBUG hmp]# logout
- 重新console login、dlstart、更改web agent的端口并配置license。
Using username "root".
Last login: Tue Jun 10 10:50:17 2008 from 192.168.101.30
[root@FOOLBUG ~]# dlstart
STARTING DIALOGIC SERVICES...
Starting CORBA Event Server: [ OK ]
Starting CORBA Name Server: [ OK ]
Starting RTF Logging Server: [ OK ]
Starting Device Mapper : [ OK ]
Starting Timeslot Doler : [ OK ]
Starting Telephony System Monitor : [ OK ]
Starting ssp_x86Linux_boot: [ OK ]
Starting Board Manager Service : [ OK ]
Starting SNMP Agent Service : [ OK ]
Starting CLI Agent Service : [ OK ]
Starting Web Agent Service : [ OK ]
STARTING DIALOGIC MEDIA
. . . . . . . . . . . . . . . .
Dialogic Media is ACTIVE
STARTING DIALOGIC SERVICES COMPLETE.
[root@FOOLBUG ~]# dlservices web port 8765
Web agent listener port updated to 8765.
[root@FOOLBUG ~]#
[root@FOOLBUG ~]# telnet 127.0.0.1
Trying 127.0.0.1...
Connected to FOOLBUG.localdomain (127.0.0.1).
Escape character is '^]'.
+--------------------------------------------------------------------------+
| |
| .:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::. |
| ::: Dialogic(R) Host Media Processing Software Release 3.1 LIN ::: |
| `:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::' |
| |
| |
| For HELP: |
| Use '?' at command prompt |
| Use '-h' within commands |
| |
+--------------------------------------------------------------------------+
Login :root
Password :******(大笨熊注:public)
CLI> conf system ipmedia stop
updated- This action can take a few minutes to complete. Please wait
CLI>
EVENT-- SYSTEM Run State [Shutdown]
CLI>
EVENT-- SYSTEM Run State [Inactive]
CLI>
EVENT-- SYSTEM [not ready]
CLI>
IpMedia stop complete
CLI> conf license directory /root/software
updated
CLI> conf license activate 4r4v4e4c4s4f4i4m4a4u4n4g_host_eva.lic
CLI> License verification is in progress. Please wait
CLI>
updated - will be effective on the next ipmedia start
CLI> show license
Selected License: /root/software/4r4v4e4c4s4f4i4m4a4u4n4g_host_eva.lic
License Type: Evalutation
License Category: Node locked specific
License Seed: 3000000000000
Expiration Date: 11-jul-2008
License Options: Voice 4, Enhanced_RTP 4, Conferencing 4, Speech_Integration 4, Fax 4, RTP_G_711 4, IP_Call_Control 4, Multimedia 4, AMR_NB 4, Native_Audio 8, Native_RTP 12, 3G-324M 4,
OEM License:
Function:
Library:
License directory: /root/software/
File Name: 4r4v4e4c4s4f4i4m4a4u4n4g_host_eva.lic
License Type: Evalutation
License Category: Node locked specific
Expiration Date: 11-jul-2008
License Options: Voice 4, Enhanced_RTP 4, Conferencing 4, Speech_Integration 4, Fax 4, RTP_G_711 4, IP_Call_Control 4, Multimedia 4, AMR_NB 4, Native_Audio 8, Native_RTP 12, 3G-324M 4,
HMP and HMP Interface Boards
Serial Number: LK333334
Description: HMP
CLI> conf system ipmedia start
updated- This action can take a few minutes to complete. Please wait
CLI>
EVENT-- SYSTEM Run State [Initializing]
CLI>
EVENT-- SYSTEM Run State [Active]
CLI>
EVENT-- SYSTEM [ready]
CLI>
IpMedia start complete
CLI> logoutConnection closed by foreign host.
[root@FOOLBUG ~]#
- run Verification Demo
[root@FOOLBUG ~]# cd /usr/dialogic/demos/Verification/VerificationDemo/Release
[root@FOOLBUG Release]# ./VerificationDemo
Welcome to the HMP Demostration Program
The purpose of this demo is to establish a basic level
of functionality after installing and configuring the
Intel(R) NetStructure(TM) Host Media Processing Software.
This application will perform some sanity checking and
then wait for a Voice Over Internet Protocol (VOIP) call
to be placed into the system using a SIP or H.323 VOIP
phone configured to use the G.711 codec. After connecting
a message prompt will be played out to the calling party.
Press ENTER to continue.....
Checking that the HMP service is running.......
Getting the host IP address.....
sh: LicenseManager: command not found
Opening Prompt File........
Opening Voice Device.......
Opening Global Call IP Device.......
Starting the Global Call subsystem.....
The system is initialized and ready for a call.
Place a SIP or H.323 call to the IP address of this machine.
on this system: | | | \--
The call will be answered automatically and a welcome
message prompt will be played. Event and call
processing messages will be displayed as the call
is answered and the prompt plays. If the call is
immediately disconnected, check the settings on your
phone and make sure that G.711 is the selected codec.
Press Q at any time to quit this demo .........
Normal ResetLine Event on iptB1T1
Waiting for Incoming Call on iptB1T1
卸载软件:
- run dlstop
- run /usr/dialogic/bin/dlguninstall.sh
[root@FOOLBUG bin]# pwd
/usr/dialogic/bin
[root@FOOLBUG bin]# ./dlguninstall.sh
======================================
Dialogic(R) HMP Software Release 3.1LIN
UNINSTALL
Before you uninstall the software, you may wish to save certain configuration
files that you have modified based upon the configuration of your system.
If you wish to save these configuration files, answer Y at the prompt below to
quit the uninstall. You may then manually back up any files located under
/usr/dialogic.
Once this has been done, re-run this script to uninstall the software.
Quit the uninstall and back up your configuration files now [y/n] ? n
The Dialogic(R) Software will now be uninstalled.
Stopping Dialogic(r) software ...Successful
lsb-dialogic-hmp-com... successfully removed lsb-dialogic-hmp-com
lsb-dialogic-hmp-dmdev... successfully removed lsb-dialogic-hmp-dmdev
lsb-dialogic-hmp-docs... successfully removed lsb-dialogic-hmp-docs
lsb-dialogic-hmp-hmp... successfully removed lsb-dialogic-hmp-hmp
lsb-dialogic-hmp-lic... successfully removed lsb-dialogic-hmp-lic
lsb-dialogic-hmp-ooc... successfully removed lsb-dialogic-hmp-ooc
To complete the removal of the Dialogic(r) software,
the following action is required:
- Logout and login
NOTE: A reboot is not required to complete the uninstall process.
FYI:
没有评论 :
发表评论