≡ Menu

Writing your first Dialogic HMP Program Part – I

Dialogic HMP ( Host Media Processing) does not require any introduction to the community of IVR developers. HMP is now part of Dialogic PowerMedia Product Family and is now known as Dialogic PowerMedia Host Media Processing Software (PowerMedia HMP). It has been one of the most used API for developing Dialogic Based large voice applications. One of the biggest advantage HMP is, one does not require any hardware to develop the voice application and to test by using SIP protocol.

We are assuming Dialogic HMP for Windows Operating System. Dialogic provides free license for few ports for development of voice or other Applications which can be used.

What you need to start developing your first IVR application using

Windows XP or Windows Server 2003 are good and stable operating system from Microsoft which works very well with Dialogic HMP. Once can download FREE HMP Software from Dialogic website. The link for downloading HMP software can be found here.

Apart from HMP Software, you will need C++ compiler. One can use Express Edition from Microsoft Website. In order debug and make test call, one should download Wireshark as well as Kapanga Softphone. Kapanga Softphone is easy and requires minimal configuration for using it.

Wireshark can be used to trace and store any data exchanged over Network card on the PC which gives useful information about call setting up, dialing IP, dialed IP, username, port etc.

Installing and Configuring HMP Software

Installing HMP is quite easy. I normally tick everything when it HMP Setup asks for which modules to install and install everything.

Once installation is complete, one should activate the built in single port license. If one has used all default options during installation, one can visit START->ALL PROGRAMS->DIALOGIC HMP->HMP LICENSE MANAGER. It will open a license file by default and one just needs to click on the Activate button and follow instruction!

One needs simply to open START->ALL PROGRAMS->DIALOGIC HMP->CONFIGURATION MANAGER – DCM and right click on the HMP_Software #0 in slot 0/65535 ( or similar ) and click on the Restore Default Option. After that, start the DCM and you are ready to use HMP Driver!

How to Test if HMP is working or not

Easiest way to test HMP is running the IP Media Server demo application that is built in HMP installation and it should be available in C:Program FilesDialogicHMPdemosIPMediaServerRelease with the name of IPMediaServer.exe. Just execute this applicaion by double clicking it and it should display Windows Command prompt, and last line should look something like

CIPDevice::processEvent -> receive GCEV_UNBLOCKED on :N_iptB1T1:P_IP:M_ipmB1C1

Now, you may open Kapanga Softphone in the same machine where you are testing HMP or another machine on the same LAN.

Just type the IP of the HMP Machine and click on Line1 button, You should instantly hear “Main Menu, for voice mail press one blah, blah”

Once you hear it, you are ready to start your own code!

The second part is coming soon!

Next post:

Previous post:

{ 7 comments… add one }
  • Eugene July 22, 2011, 3:34 am

    Dear Sir,
    I have been strugaling with HMP software for few days.
    In principal, whatever you say in the article is correct.
    However after few days, I still cannot make it work on my notebook running Win 7 and SP1 wuth HTM update 303.
    Have you got any idea what to look for?
    I have installed and attempted anything, but still cannot make a call to my local from a SIP phone to the Dialogic demo running on IP 192.168.2.2.
    Could you please give me some directions how to resolve this problem?

  • narendra March 9, 2012, 10:39 am

    hi,
    i have doubt that if don’t connect any hardware,phone,CTI it is possible to develope IVR application…????

  • Uttam Pegu March 9, 2012, 10:41 am

    Hi Narendra,
    Yes, you can, by using HMP.

  • Narendra March 15, 2012, 4:10 pm

    how we can call ivr phone nu,ber develop using dialogic HMP???

  • sherif April 13, 2014, 2:33 pm

    I installed dialogic HMP and tested the IP media server demo, it runs normally. however, I can’t make a call using softphones installed locally on the same machine, could you provide me with further details on how to proceed? in the softphone I just use the local IP address 127.0.0.1 and the call fails

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.