Programmable Voice

  1. Home
  2. Docs
  3. Programmable Voice
  4. HMP Elements
  5. Installation with CTI32

Installation with CTI32

 

Author’s Note:  With the launch of the Voice Elements Platform in 2008, the Inventive Labs CTI32 Toolkit became a legacy product.  We continue to support all of our existing CTI32 customers who have built incredible and successful applications with this legacy toolkit.  Voice Elements Platform combines Microsoft’s .NET environment with the power of the HMP Elements SIP Stack and increase the ease and productivity of development.  Legacy users of the CTI32 Toolkit can still interface with HMP Elements.  This article address how to configure the installation of CTI32 with HMP Elements.

 

Below are the steps necessary to have CTI32 configured to work with HMP Elements. If you have any difficulty, please email support@inventivelabs.com

Begin with installing Hmp Elements

Contact Support for links to the download pages at support@inventivelabs.com.

After installation you will need to configure HMPElements. Use this page for more information on configuration:

HMP_Elements – Configuration_Settings

Install CTI32 Overlay Modules

Next you will need to update some of your CTI32 modules. Be sure to back up your existing modules. The new modules should be placed in your CTI32 folder.

A new tag must be added to the CTI32Engine.config file. Manually edit your file and within the <default> section of the XML add:

&lt;UseHmpElements&gt;true&lt;/UseHmpElements&gt;

Modify your CTI32 Service Configuration File

Edit your Cti32.exe.config file. (Note: Some of these settings may already exist, so you will need to merge this into your existing .config file. Also ensure that the <configSections> has all three setting sections.)

&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;configuration&gt;
   &lt;configSections&gt;
       &lt;sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" &gt;
           
&lt;section name="HmpElements.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
           
&lt;section name="CTI32NetLib.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
       &lt;/sectionGroup&gt;
   &lt;/configSections&gt;
   &lt;applicationSettings&gt;
       &lt;HmpElements.Properties.Settings&gt;
           &lt;setting name="HmpElementsUrl" serializeAs="String"&gt;
               &lt;value&gt;gtcp://172.18.13.120:55245&lt;/value&gt;
           &lt;/setting&gt;
       &lt;/HmpElements.Properties.Settings&gt;
       &lt;CTI32NetLib.Properties.Settings&gt;
         &lt;setting name="HmpDefaultDestinationHost" serializeAs="String"&gt;
           &lt;value&gt;66.227.100.20&lt;/value&gt;
         &lt;/setting&gt;
         &lt;setting name="HmpDefaultSourceDisplayName" serializeAs="String"&gt;
           &lt;value&gt;Inventive Labs&lt;/value&gt;
         &lt;/setting&gt;
         &lt;setting name="HmpDefaultSourceUser" serializeAs="String"&gt;
           &lt;value&gt;18669235290&lt;/value&gt;
         &lt;/setting&gt;
         &lt;setting name="HmpDefaultSourceHost" serializeAs="String"&gt;
           &lt;value&gt;67.41.116.23&lt;/value&gt;
         &lt;/setting&gt;
         &lt;setting name="HmpDefaultDestinationPort" serializeAs="String"&gt;
           &lt;value&gt;5060&lt;/value&gt;
         &lt;/setting&gt;
         &lt;setting name="HmpDefaultSourcePort" serializeAs="String"&gt;
           &lt;value&gt;5060&lt;/value&gt;
         &lt;/setting&gt;
         &lt;setting name="HmpDestinationHostOverrides" serializeAs="String"&gt;
           &lt;value&gt;&lt;/value&gt;
         &lt;/setting&gt;
       &lt;/CTI32NetLib.Properties.Settings&gt;
   &lt;/applicationSettings&gt;
   &lt;system.runtime.remoting&gt;
       &lt;customErrors mode="off"/&gt;
   &lt;/system.runtime.remoting&gt;
&lt;/configuration&gt;
  • The HMPElementsURL tells the CTI32NetLib where to connect to HMPElements.
  • The HmpDefaultDestinationHost tells where your sip carrier is (their IP address).
  • The HmpDefaultSourceDisplayName is the display name that is used in the FROM header.
  • The HmpDefaultSourceUser is the default oubound caller ID also in the From header.
  • The HmpDefaultSourceHost is the ip of your machine or the external ip if you are traversing a NAT.
  • The HmpDefaultDestinationPort normally is 5060
  • The HmpDefaultSourcePort also 5060
  • The HmpDestinationHostOverrides allows you to redirect traffic from the default carrier.

HmpDestinationHostOverrides is defined as:

500|10.10.10.1~501|10.10.10.2

In this way, if you dial 500, it wont go out over the default DestinationHost (IE Your SIP Carrier), instead it will go to the ip specified. This is used as a shortcut for sending traffic to a local sip phone.

Separate the number/ip pairs with a ~. You can have as many as you like.

Starting HMP Elements

HMPElements is installed as a service. You will need to issue:

NET START HmpElements

from the command line, or use the services panel.

Ensure Vap XML file exists

Was this article helpful to you? Yes 13 No

How can we help?