Programmable Voice

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

Installation with CTI32

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:

<UseHmpElements>true</UseHmpElements>

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.)

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
   <configSections>
       <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
           <section name="HmpElements.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
           <section name="CTI32NetLib.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
       </sectionGroup>
   </configSections>
   <applicationSettings>
       <HmpElements.Properties.Settings>
           <setting name="HmpElementsUrl" serializeAs="String">
               <value>gtcp://172.18.13.120:55245</value>
           </setting>
       </HmpElements.Properties.Settings>
       <CTI32NetLib.Properties.Settings>
         <setting name="HmpDefaultDestinationHost" serializeAs="String">
           <value>66.227.100.20</value>
         </setting>
         <setting name="HmpDefaultSourceDisplayName" serializeAs="String">
           <value>Inventive Labs</value>
         </setting>
         <setting name="HmpDefaultSourceUser" serializeAs="String">
           <value>18669235290</value>
         </setting>
         <setting name="HmpDefaultSourceHost" serializeAs="String">
           <value>67.41.116.23</value>
         </setting>
         <setting name="HmpDefaultDestinationPort" serializeAs="String">
           <value>5060</value>
         </setting>
         <setting name="HmpDefaultSourcePort" serializeAs="String">
           <value>5060</value>
         </setting>
         <setting name="HmpDestinationHostOverrides" serializeAs="String">
           <value></value>
         </setting>
       </CTI32NetLib.Properties.Settings>
   </applicationSettings>
   <system.runtime.remoting>
       <customErrors mode="off"/>
   </system.runtime.remoting>
</configuration>
  • 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 7 No

How can we help?