TSP User Guide
TSP User Guide
(ip-LDK, iPECS)
User Guide
Issue 4.1Ac
LG-Ericsson TSP User Guide
REVISION HISTORY
CONTENTS
Audience .........................................................................................................................................3
Associated Documentation............................................................................................................3
1. Introduction.................................................................................................... 4
4.2 ipLDK-50/100/300/600.....................................................................................................15
1
LG-Ericsson TSP User Guide
9. Troubleshooting ........................................................................................... 63
2
LG-Ericsson TSP User Guide
This manual describes the use of LG-Ericsson’ s TSP, and the TSP (Telephony Service
Provider) supporting Microsoft TAPI 2.1 for telephony applications. Those applications are
referenced to as the TAPI application in the reminder of this manual.
Audience
This manual is for anyone using LG-Ericsson TSP to develop TAPI applications.
Associated Documentation
ipLDK, iPECS Series Documentation
Programming Manual for Digital Key Telephone System
User's Guide for Digital Key Telephone
3
LG-Ericsson TSP User Guide
1. Introduction
4
LG-Ericsson TSP User Guide
st
Note: iPECS-CM system does not support 1 party connection.
rd
Figure 1.1 CTI Architecture of 3 party mode
st
Figure 1.2 CTI Architecture of 1 party mode
5
LG-Ericsson TSP User Guide
2. Hardware/Software Requirements
st
Desk top (for 1 party connection)
- CPU: Pentium II 200 MHz or later
- RAM: 32MB or later
- Available Hard disk: 200 MB or later
st
To use ipLDK-20/60/Nexer/ARIA SOHO 1 party connection
- Terminal Type
DKT, SLT, WKT (GDC-345H or later, Middleware: 1.0I or later)
st
- You need 1 party lock key or ez Phone lock key.
rd
To use 3 party connection (ipLDK, iPECS-LIK, iPECS-MG, iPECS-CM)
- Terminal Type
DKT, SLT, WKT, LIP (GDC-345H or later, Middleware: 1.0I or later)
rd
- You need 3 party lock key
6
LG-Ericsson TSP User Guide
7
LG-Ericsson TSP User Guide
st
3. You need to insert Station Number and its password for 1 party connection of iPECS-
LIK, ipLDK-60 and Aria Soho IP systems.
4. Select each item. When you select LAN connection, you should insert IP address of LG-
Ericsson system as above.
5. Restart your computer to connect between LG-Ericsson TSP and LG-Ericsson system.
6. You can change the LG-Ericsson TSP configurations as following
8
LG-Ericsson TSP User Guide
8. On the [Advanced] tab under Providers, click [Telephony Service Provider for LG-
Ericsson System].
9
LG-Ericsson TSP User Guide
9. Click [Configure…].
10
LG-Ericsson TSP User Guide
11. If the configurations were changed, you should restart your computer to take effect.
11
LG-Ericsson TSP User Guide
A computer is communicating with ipLDK system directly. You should install LG-Ericsson
TSP on your local computer.
12
LG-Ericsson TSP User Guide
13
LG-Ericsson TSP User Guide
14
LG-Ericsson TSP User Guide
4.2 ipLDK-50/100/300/600
4.2.1. System configurations
- In case of using CTI module, CTI module (Model: V70) is connected to LKD with
Scout chip.
- CTIU enabled LDP keyset is available.
15
LG-Ericsson TSP User Guide
16
LG-Ericsson TSP User Guide
4.3 iPECS-LIK, MG
4.3.1. System configurations
17
LG-Ericsson TSP User Guide
18
LG-Ericsson TSP User Guide
19
LG-Ericsson TSP User Guide
20
LG-Ericsson TSP User Guide
- To open Telephony on Windows 2000/2003/2008 Server, click Start, click Run, and
then type tapimgmt.msc.
2) In the console tree, click the server you want to manage.
3) In the Action menu, click Properties.
4) On the Setup tab, select the Enable telephony server check box to enable the server
or clear the check box to disable the server.
5) When you enable the server, specify a logon account under Account Information. It
must be a member of the Administrators group on the server, and also be in the
21
LG-Ericsson TSP User Guide
same domain as the server or in a domain that has a two-way trust relationship with
the domain containing the server.
This procedure changes whether clients can use the telephony devices on the server.
Changes take effect the next time the system attempts to start the TAPI service.
If the Enable telephony server check box is unavailable, you need to start the Telephony
service first. To manage the Telephony service, you must be a telephony administrator
on the server or logged on as an administrator of the server.
22
LG-Ericsson TSP User Guide
3) In the details pane, under Line Name or Phone Name, click the line or phone.
4) In the Action menu, click Edit Users, and then click Add.
5) In Look in, click the domain containing the user.
6) In the list, select the user, and then click Add.
This procedure permits TAPI client programs run by the user to use the line or phone on
the server. A user added for a phone or line must be in the same domain as the TAPI server
or in a domain that has a two-way trust relationship with the domain containing the server.
Before a user can use the telephony line or phone, the TAPI server must be specified on the
client computer.
23
LG-Ericsson TSP User Guide
After you perform this procedure, TAPI client programs run by the user will be unable to
use the line or phone on the TAPI server.
24
LG-Ericsson TSP User Guide
To open a Command Prompt window, click Start, point to Programs, point to Accessories,
and then click Command Prompt.
The TAPI client is installed with the Microsoft Windows 2000 operating system, but you
need to perform this procedure to specify servers for the client. The client must be in the
same domain as the server or in a fully trusted domain.
You must log on to the client as an administrator to perform this command. If you are
logged on to a computer in the Users or Power Users group, you can use the runas
command to run tcmsetup as an administrator, for example:
- runas /user:mydomain\myname “ tcmsetup /c servername”
You may have to restart the Telephony service for this change to take effect.
When you use Windows Server 2003, the following service pack should be installed on a
client computer.
- Windows 2000 Professional: Service Pack 5 or later.
- Windows XP Home: Service Pack 2 or later.
- Windows XP Professional: Service Pack 2 or later.
After you complete this procedure, you need to specify a TAPI server on the client. To
make the telephony resources on the server available to the client users, the server
administrator needs to assign the users to telephones or lines on the server. Users must log
onto a valid domain account.
A Windows 95 TAPI client must be upgraded to TAPI2.1 to use the TAPI services provided by
a Windows 2000 TAPI server.
25
LG-Ericsson TSP User Guide
- tcmsetup /c /d
26
LG-Ericsson TSP User Guide
27
LG-Ericsson TSP User Guide
lineSetCallData Supported.
lineSetCallPrivilege Supported.
lineSetStatusMessages Supported.
lineSetupConference Supported.
lineSetupTransfer Supported.
lineShutdown Supported.
lineSwapHold Supported.
lineTranslateAddress Supported (TAPI itself).
lineTranslateDialog Supported (TAPI itself).
lineUncompleteCall Supported.
lineUnhold Supported.
lineUnpark Supported.
The followings are more detail descriptions of LG-Ericsson supporting TAPI functions.
It was referred to MSDN Library.
lineAnswer
The lineAnswer function answers the specified offering call. The function is completed
asynchronously.
LONG lineAnswer(
HCALL hCall,
LPCSTR lpsUserUserInfo,
DWORD dwSize
);
- LG-Ericsson TSP supports the user-user information in the lpsUserUserInfo.
- SLT cannot use this function.
lineCompleteCall
The lineCompleteCall function specifies how a call that could not be connected normally
should be completed instead. The network or switch may not be able to complete a call
because network resources are busy or the remote station is busy or doesn't answer. The
application can request that the call be completed in one of a number of ways. The
function is completed asynchronously.
28
LG-Ericsson TSP User Guide
LONG lineCompleteCall(
HCALL hCall,
LPDWORD lpdwCompletionID,
DWORD dwCompletionMode,
DWORD dwMessageID
);
- LINECALLCOMPLMODE_CALLBACK: A user can use this completion mode when the called user
does not answer or the station status of the called user is DND(Do Not Disturb)
- LINECALLCOMPLMODE_CAMPON: A user can use this completion mode when the station status of
t he called user is busy.
- LINECALLCOMPLMODE_INTRUDE: When the called user does not answer the call, the Attendant
user can use this completion mode.
- LINECALLCOMPLMODE_MESSAGE: When the called user does not answer the call, the caller user
leaves a voice message.
lineDevSpecific
The lineDevSpecific function enables service providers to provide access to features not
offered by other TAPI functions. The meanings of the extensions are device specific, and
taking advantage of these extensions requires the application to be fully aware of them.
The function is completed asynchronously.
LONG lineDevSpecific(
HLINE hLine,
DWORD dwAddressID,
HCALL hCall,
LPVOID lpParams,
DWORD dwSize
);
- dwAddressID must be zero.
LG-Ericsson TSP supports the following device-specific functions. Some features are
rd
supported only in the 3 party mode:
Paging
“ PAGE/xx…x” in the lpParams field where xx…x is:
1. INT_PAGE_Z + 2bytes: Announce your voice to the internal zone.
- ipLDK, iPECS-LIK : INT_PAGE_Z01 ~ INT_PAGE_Z35
- iPECS-MG : INT_PAGE_Z01 ~ INT_PAGE_Z30
- iPECS-CM : INT_PAGE_Z00 ~ INT_PAGE_Z99
2. INT_ALL_CALL: Announce your voice to all internal zones.
- ipLDK, iPECS (LIK, MG)
3. EXT_PAGE_Z01 + 2bytes: Announce your voice to the external zone .
- ipLDK, iPECS-LIK : EXT_PAGE_Z01 ~ EXT_PAGE_Z03
- iPECS-MG : EXT_PAGE_Z0
4. EXT_ALL_CALL: Announce your voice to all external zones.
29
LG-Ericsson TSP User Guide
30
LG-Ericsson TSP User Guide
This function with lpParams not related to Message-waiting can be used in an idle
status or in the status of hearing a dial tone. This function with lpParams of
MSGWAIT_PLAY can be used in an idle status or the status of hearing a dial tone. If
the application uses this when hearing a DVU message, the message will be replayed.
If a wrong lpParams is transferred, or the line device does not have a DVU access right,
or DVU board is not installed, or there is not available channel, or memory is
insufficient, the lResult actual parameter of the corresponding ASYNC_COMPLETION is
LINEERR_OPERATIONFAILED.
31
LG-Ericsson TSP User Guide
32
LG-Ericsson TSP User Guide
33
LG-Ericsson TSP User Guide
34
LG-Ericsson TSP User Guide
lineGetAddressStatus function.
Note: ipLDK-50/100/300/600 1st party does not support this feature.
Note: iPECS-CM does not support
35
LG-Ericsson TSP User Guide
36
LG-Ericsson TSP User Guide
lineDial
The lineDial function dials the specified dialable number on the specified call. The function
is completed asynchronously.
LONG lineDial(
HCALL hCall,
LPCSTR lpszDestAddress,
DWORD dwCountryCode
);
Account Code
“ AC/xx…x” in the lpszDestAddress field where xx…x are account code digits which
are within 12 digits.
These digits will be included in the SMDR data record. These can be used to allocate
cost or time for the call.
This function can be used when the call (hCall) is in the connected status.
Note: ipLDK 3rd party only
CO Call (iPECS-MG, CM )
“ xx…x” in the lpszDestAddress field where xs are 0 through 9,*, and #. (CO Access
Code + CO Number + real dialing numbers)
CO Group Call
“ Gxx…x” or “ $xx…x” in the lpszDestAddress field where xs are 0 through 9, *, and
#. The front three xs represent CO line group number and the following digits are real
dialing numbers.
37
LG-Ericsson TSP User Guide
Networking Call
“ xxx” in the lpszDestAddress field where xxx is extension number or station group
number.
LG-Ericsson TSP ignores the value in the dwCountryCode field. Also, the following four
special functions are supported:
Station Speed Dial (ipLDK, iPECS-LIK)
“ SPD/xx…x” in the lpszDestAddress field where xx…x is:
1. “ Cyyyzzz” or “ @yyyzzz” where yyy is CO number and zzz is speed dial
number.
2. “ Gyyyzzz” or “ $yyyzzz” where yyy is CO group number and zzz is speed dial
number.
3. “ zzz” where zzz is speed dial number.(000 ~ 099)
38
LG-Ericsson TSP User Guide
lineForward
The lineForward function forwards calls destined for the specified address on the specified
line, according to the specified forwarding instructions. When an originating address
(dwAddressID) is forwarded, the specified incoming calls for that address are deflected to
the other number by the switch. This function provides a combination of forward and do-
not-disturb features. This function can also cancel forwarding currently in effect. The
function is completed asynchronously.
39
LG-Ericsson TSP User Guide
LONG lineForward(
HLINE hLine,
DWORD bAllAddresses,
DWORD dwAddressID,
LPLINEFORWARDLIST const lpForwardList,
DWORD dwNumRingsNoAnswer,
LPHCALL lphConsultCall,
LPLINECALLPARAMS const lpCallParams
);
- dwAddressID must be zero.
- LG-Ericsson TSP supports the following functions:
DND (Do Not Disturb)
lpForwardListForwardList[0].dwDestAddressSize to NULL.
Forward all calls unconditionally.
lpForwardListForwardLIst[0].dwForwardMode to LINEFORWARDMODE_UNCOND.
Forward any calls on busy.
lpForwardListForwardLIst[0].dwForwardMode to LINEFORWARDMODE_BUSY.
Forward any calls on no answer.
lpForwardListForwardLIst[0].dwForwardMode to LINEFORWARDMODE_NOANSW.
Forward any calls on busy/no answer.
lpForwardListForwardLIst[0].dwForwardMode to LINEFORWARDMODE_BUSYNA.
lineGetAddressStatus
The lineGetAddressStatus function allows an application to query the specified address for
its current status.
LONG lineGetAddressStatus(
HLINE hLine,
DWORD dwAddressID,
LPLINEADDRESSSTATUS lpAddressStatus
);
In the structure of lpAddressStatus, LG-Ericsson TSP fills dwDevSpecificSize,
dwDevSpecificOffset and the corresponding data field. Especially, LG-Ericsson TSP can
return SMDR, All Station Status, All CO Line Status, Station Information, CO Line
Information, and All Station’ s Numbers. If a TAPI application want to get those data,
those data receiving process must be started with lineDevSpecific function related to those
data. Whenever those data occurs, the LINE_DEVSPECIFIC message is sent to the callback
function. Then, the application can get those data using this function. Refer to
lineDevSpecific function (SMDR, All Station Status, All CO Line Status, Station Information,
CO Line Information, and All Station’ s Number),
lineGetCallInfo
The lineGetCallInfo function enables an application to obtain fixed information about the
specified call.
40
LG-Ericsson TSP User Guide
LONG lineGetCallInfo(
HCALL hCall,
LPLINECALLINFO lpCallInfo
);
LG-Ericsson TSP fills dwCallerID, dwCallerIDName, dwCalledID, dwCalledIDName,
dwConnectedID, dwConnectedIDName when proper ID and Name is received. The
dwRedirectingID and dwRedirectingIDName are provided to the ringing station when the DID
incoming call is forwarded from a station to another station. The dwRedirectionID and
dwRedirectionIDName are unavailable.
lineMakeCall
The lineMakeCall function places a call on the specified line to the specified destination
address. Optionally, call parameters can be specified if anything but default call setup
parameters are requested. The function is completed asynchronously.
LONG lineMakeCall(
HLINE hLine,
LPHCALL lphCall,
LPCSTR lpszDestAddress,
DWORD dwCountryCode,
LPLINECALLPARAMS const lpCallParams
);
LG-Ericsson TSP supports the following functions:
Networking Call
“ xxx” in the lpszDestAddress field where xxx is extension number or station group
number.
41
LG-Ericsson TSP User Guide
LG-Ericsson TSP ignores the value in the dwCountryCode field. Also, the following four
special functions are supported:
Station Speed Dial (ipLDK, iPECS-LIK)
“ SPD/xx…x” in the lpszDestAddress field where xx…x is:
1. “ Cyyyzzz” or “ @yyyzzz” where yyy is CO number and zzz is speed dial number.
2. “ Gyyyzzz” or “ $yyyzzz” where yyy is CO group number and zzz is speed dial
number.
3. “ zzz” where zzz is speed dial number.(000 ~ 099)
42
LG-Ericsson TSP User Guide
lineNegotiateAPIVersion
The lineNegotiateAPIVersion function allows an application to negotiate an API version to
use.
LONG lineNegotiateAPIVersion(
HLINEAPP hLineApp,
DWORD dwDeviceID,
DWORD dwAPILowVersion,
DWORD dwAPIHighVersion,
LPDWORD lpdwAPIVersion,
LPLINEEXTENSIONID lpExtensionID
);
The negotiated API version number of LG-Ericsson TSP with the pointer lpdwAPIVersion is
Low Version: 0x00010004
High Version: 0x00020001
The extension identifiers of LG-Ericsson TSP in the structure pointed by lpExtensionID are
lpExtensionID->dwExtensionID0: 0x0ccb18c0
lpExtensionID->dwExtensionID1: 0x10202109
lpExtensionID->dwExtensionID2: 0x80002f8d
lpExtensionID->dwExtensionID3: 0xf354241e
43
LG-Ericsson TSP User Guide
lineNegotiateExtVersion
The lineNegotiateExtVersion function allows an application to negotiate an extension
version to use with the specified line device. This operation need not be called if the
application does not support extensions.
LONG lineNegotiateExtVersion(
HLINEAPP hLineApp,
DWORD dwDeviceID,
DWORD dwAPIVersion,
DWORD dwExtLowVersion,
DWORD dwExtHighVersion,
LPDWORD lpdwExtVersion
);
The negotiated extension version of LG-Ericsson TSP with the pointer lpdwExtVersion is
Low Version: 0x00020001
High Version: 0x00020001
linePark
The linePark function parks the specified call according to the specified park mode. The
function is completed asynchronously.
LONG linePark(
HCALL hCall,
DWORD dwParkMode,
LPCSTR lpszDirAddress,
LPVARSTRING lpNonDirAddress
);
rd
LINEPARKMODE_NONDIRECTED in the field dwParkMode is applied only in 3 party mode.
- Parking Area
ipLDK, iPECS-LIK: Admin dependent
iPECS-MG: 00 ~ 49
iPECS-CM: 000 ~ 999
lineRedirect
The lineRedirect function redirects the specified offering call to the specified destination
address.
LONG lineRedirect(
HCALL hCall,
LPCSTR lpszDestAddress
DWORD dwCountryCode
);
If the offering call is external call, LG-Ericsson TSP can support only the redirection of
DID call.
lineSetStatusMessages
The lineSetStatusMessages function enables an application to specify which notification
44
LG-Ericsson TSP User Guide
messages to receive for events related to status changes for the specified line or any of its
addresses.
LONG lineSetStatusMessages(
HLINE hLine,
DWORD dwLineStates,
DWORD dwAddressStates
);
If this function is executed, you will receive the following messages:
- The number of Message Wait.
- The number of voice message
- Forward information
- The range of conference room (IP LDK or later version)
45
LG-Ericsson TSP User Guide
phoneDevSpecific
The phoneDevSpecific function is used as a general extension mechanism to enable a
Telephony API implementation to provide features not described in the other TAPI functions.
The meanings of these extensions are device specific.
LONG phoneDevSpecific(
HPHONE hPhone,
LPVOID lpParams,
DWORD dwSize
);
LG-Ericsson TSP supports the following device-specific functions:
Wake-Up
“ WU/xx…x” in the lpParams field where xx…x is:
1. HHMM (HH:hour, MM:minute)
2. HHMM/S (S:once)
3. HHMM/C (C:continuous)
4. HHMM/T (T: Tomorrow, iPECS-MG Only)
5. CURR (current): to get current wake up time. You will get the “ none” string if
current wake up time does not be set.
6. DELE (delete): to delete current wake up time.
Authorization Code/Password
“ ACP/xx…x” in the lpParams field where xx…x is:
1. yyyyy/zzzzz (yyyyy : old password, zzzzz : new password) where each y and z is 0
through 9,*, and #. (ipLDK, iPECS-LIK)
2. NEWPW/yyyyy (yyyyy : new password) where y is 0 through 9,*, and #.
3. CURPW: to get current password. If there is no current password, system returns
46
LG-Ericsson TSP User Guide
“ NOPAS.”
4. DELPW: to delete current password. (iPECS-MG, CM)
Temporal Station COS Change
“ TSCC/xx…x” in the lpParams field where xx…x is:
1. C (current)
2. D (down, ipLDK, iPECS-LIK)
3. D/yyyyy, (down, iPECS-MG, iPECS-CM, yyyyy is a password)
4. R/yyyyy (restore, yyyyy is a password)
Preselected Message Program
“ PMP/xx…x” in the lpParams field where xx…x is:
1. A message string that can contain alphabet, :, (, ), 0 through 9, or space
character within 24 letters.
2. /CUR (current message), PMP//CUR
3. /DEL (delete message), PMP//DEL
ICM Answer Mode
“ IAM/x” in the lpParams field where x is:
1. H (hands free mode)
2. T (tone ring mode)
3. P (privacy mode)
4. C (current)
BGM Assignment (ipLDK, iPECS-LIK, MG)
“ BGM/xx” in the lpParams field where x is:
1. 00 (No use)
2. 01 (BGM Channel 1)
3. 02 (BGM Channel 2)
4. 03 (BGM Channel 3)
5. 04 (BGM Channel 4)
6. 05 (BGM Channel 5)
7. 06 (BGM Channel 6)
8. 07 (BGM Channel 7)
9. 08 (BGM Channel 8)
10. 09 (BGM Channel 9)
11. 10 (BGM Channel 10)
12. 11 (BGM Channel 11)
13. 12 (BGM Channel 12)
14. Cu(Current BGM Channel)
Preselected Message Selection
“ PMS/mm/xx…x” in the lpParams field where mm is:
1. 00: Display preselected message programmed in each station. “ /xx…x” must
not be set.
2. 01: Display “ LUNCH / RETURN AT hh:mm” where xx…x is hhmm.
47
LG-Ericsson TSP User Guide
48
LG-Ericsson TSP User Guide
15. 14 (Russian)
16. 15 (Turkish) (iPECS-CM only)
17. 16 (Polish) (iPECS-CM only)
18. 17 (Greek) (iPECS-CM only)
19. 99 (Current)
Headset Mode Program (ipLDK, iPECS-LIK)
“ HMP/x” in the lpParams field where x is:
1. 0 (Headset mode off)
2. 1 (Headset mode on)
3. 2 (Current)
Headset Mode Program (iPECS-MG, CM)
“ HMP/x” in the lpParams field where x is:
1. 0 (Speaker)
2. 1 (Headset)
3. 2 (Ear Mic)
4. 3 (Bluetooth)
5. 4 (Current)
phoneGetData
The phoneGetData function uploads the information from the specified location in the open
phone device to the specified buffer.
LONG phoneGetData(
HPHONE hPhone,
DWORD dwDataID,
LPVOID lpData,
DWORD dwSize
);
LG-Ericsson TSP supports the following functions:
Wake-Up
“ 0x01” in the dwDataID field
The lpData field and its meaning are:
1. DELET: No setting
2. HHMMF where HH:hour, MM:minute, F: C(continuous)/S(single)
Authorization Code/Password
“ 0x02” in the dwDataID field
The lpData field and its meaning are:
1. NOPAS: No password
2. xxxxx: Current password
Temporal Station COS Change
“ 0x03” in the dwDataID field
The lpData field and its meaning are:
1. D: COS Down
2. R: COS Restored
49
LG-Ericsson TSP User Guide
50
LG-Ericsson TSP User Guide
phoneNegotiateAPIVersion
The phoneNegotiateAPIVersion allows an application to negotiate an API version to use for
the specified phone device.
LONG phoneNegotiateAPIVersion(
HPHONEAPP hPhoneApp,
DWORD dwDeviceID,
DWORD dwAPILowVersion,
DWORD dwAPIHighVersion,
LPDWORD lpdwAPIVersion,
LPPHONEEXTENSIONID lpExtensionID
);
The negotiated API version number of LG-Ericsson TSP with the pointer lpdwAPIVersion is
Low Version: 0x00010004
High Version: 0x00020001
The extension identifiers of LG-Ericsson TSP in the structure pointed by lpExtensionID are
lpExtensionID->dwExtensionID0: 0x7bdc3120
lpExtensionID->dwExtensionID1: 0x10204a78
lpExtensionID->dwExtensionID2: 0x8000318d
lpExtensionID->dwExtensionID3: 0xf354241e
phoneNegotiateExtVersion
The phoneNegotiateExtVersion function allows an application to negotiate an extension
version to use with the specified phone device. This operation need not be called if the
application does not support extensions.
51
LG-Ericsson TSP User Guide
LONG phoneNegotiateExtVersion(
HPHONEAPP hPhoneApp,
DWORD dwDeviceID,
DWORD dwAPIVersion,
DWORD dwExtLowVersion,
DWORD dwExtHighVersion,
LPDWORD lpdwExtVersion
);
The negotiated extension version of LG-Ericsson TSP with the pointer lpdwExtVersion is
Low Version: 0x00020001
High Version: 0x00020001
52
LG-Ericsson TSP User Guide
LINE_DEVSPECIFIC
The LINE_DEVSPECIFIC message is sent to notify the application about device-specific
events occurring on a line, address, or call. The meaning of the message and the
interpretation of the parameters are described below.
LINE_DEVSPECIFIC
dwDevice = (DWORD) hLineOrCall;
dwCallbackInstance = (DWORD) hCallback;
dwParam1 = (DWORD) DeviceSpecific1;
dwParam2 = (DWORD) DeviceSpecific2;
dwParam3 = (DWORD) DeviceSpecific3;
LG-Ericsson TSP sends this message to application to notify the following events:
SMDR, All Station Status, All CO Line Status have received. (Refer to lineDevSpecific
function)
hLine in the dwDevice field,
“ 0x01” in the dwParam1 field.
1. SMDR data is received.
“ 0x01” in the dwParam2 field.
2. All Station Status data is received.
“ 0x04” in the dwParam2 field.
3. All CO Line Status data is received.
“ 0x05” in the dwParam2 field.
4. All Station Numbers are received..
“ 0x08” in the dwParam2 field.
5. Station Information is received.
“ 0x09” in the dwParam2 field.
6. CO line Information is received.
“ 0x0A” in the dwParam2 field.
7. All Park Numbers are received.
“ 0x0B” in the dwParam2 field.
8. CO Call IDs are received.
“ 0x10” in the dwParam2 field.
After receiving this message, the application can get the data using lineGetAddressStatus
function.
Note: 3rd party mode only
53
LG-Ericsson TSP User Guide
data.
54
LG-Ericsson TSP User Guide
“ y” in the dwParam3 field where y is the changed status of the station. (Status is
described in 0 Device Specific Data Format)
Note: 3rd party mode only
Wake up ring
hLine in the dwDevice field,
“ 0x10” in the dwParam1 field,
“ x” in the dwParam2 field where x is 0x01(Ring) or 0x00(Stop),
Linked Pair
hLine in the dwDevice field,
“ 0x11” in the dwParam1 field,
“ x” in the dwParam2 field where x is 0x01(Slave is in use) or 0x00(Stop),
Note: 1. The master receives CTI Message, but the slave doesn’ t.
2. When the slave is in use, the master can’ t use CTI Functions
Park Number
hLine in the dwDevice field,
“ 0x12” in the dwParam1 field,
“ x” in the dwParam2 field where x is the Park number.
“ y” in the dwParam3 field where y is the CO line.
55
LG-Ericsson TSP User Guide
Dummy Station
hLine in the dwDevice field,
“ 0x38” in the dwParam1 field,
“ x” in the dwParam2 field where x is 0x00(Normal Keyset) or 0x01(Dummy Keyset).
“ y” in the dwParam3 field where y is 0x00(Logon State) or 0x01(Dummy State).
Get CO Call ID & DID Number (When you call lineDevSpecific(“ COL_INFO/xxx” ))
hLine in the dwDevice field,
“ 0x40” in the dwParam1 field,
“ x” in the dwParam2 field where x is a call ID.
“ y” in the dwParam3 field where x is a DID number.
56
LG-Ericsson TSP User Guide
57
LG-Ericsson TSP User Guide
t : Incoming CO transfer
I : incoming CO (answered)
O : outgoing CO
Record type 1 T : outgoing CO transfer
H : hold lost
R : ring lost
G : Group call lost
58
LG-Ericsson TSP User Guide
59
LG-Ericsson TSP User Guide
Total size : total size of All Station’ s Logical Number Data Format in bytes (4 bytes)
Nu0 : logical(assigned internal) number of the first station in integer(2 byte)
Nu1 : logical(assigned internal) number of the second station in integer(2 byte)
Nun : logical(assigned internal) number of the n th station in integer(2 byte)
All Station’ s Logical Number Data Format (iPECS-MG, CM, iPECS-LIK 8 digit)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
S T A _ N U M B E R Nu Nu Total Size
Nu0 Nu1 Nu2 …
… Nun
STA_NUMBER : ascii string, “ STA_NUMBER” (10 bytes)
Nu : NULL character
Total size : total size of All Station’ s Logical Number Data Format in bytes (4 bytes)
Nu0 : logical(assigned internal) number of the first station in integer(4 byte)
Nu1 : logical(assigned internal) number of the second station in integer(4 byte)
Nun : logical(assigned internal) number of the n th station in integer(4 byte)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
S T A _ I N F O Nu Nu Nu Nu Total Size
Pn Sta Number Sl St At Ap Ns Sta Name ~
STA_INFO : ascii string, “ STA_INFO” (8 bytes)
Nu : NULL character
Total size : total size of Station Information Data Format in byte (4 bytes)
Pn : physical number of the station (2 byte)
Sta Number : the number of the station in DWORD (4-byte integer)
(ex> 0x00000064 : station 100)
Sl : slot number of the station in system (1 byte)
St : status of the station. Refer to the Station Status value (1 byte)
At : type of the associated device (1 byte)
0x01 : the station is connected to a station
0x02 : the station is connected to a CO line
0x00/0xFF : the station is not connected
Ap : physical number of the associated device (2 byte)
(ex> At = 0x02, Ap = 0x0001 : the station is now using CO line 01)
Ns : size of the station’ s name (1 byte)
Sta Name : name of the station (size of Ns)
60
LG-Ericsson TSP User Guide
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
C O L _ I N F O Nu Nu Nu Nu Total Size
Pn St At Ap Ns Cs CO Name
CallerID
COL_INFO : ascii string, “ COL_INFO” (8 bytes)
Nu : NULL character
Total size : total size of CO Line Information Data Format in byte (4 bytes)
Pn : physical number of the CO line (2 byte)
St : status of the CO line. Refer to the CO Line Status value (1 byte)
At : type of the associated device (1 byte)
0x01 : the CO line is connected to a station
0x02 : the CO line is connected to a CO line
0x00/0xFF : the station is not connected
Ap : physical number of the associated device (2 byte)
(ex> At = 0x01, Ap = 0x0001 : the CO line is used by first station)
Ns : size of the CO line name (1 byte)
Cs : size of the CallerID of the CO line (1 byte)
CO Name : name of the CO line (size of Ns)
CallerID : CallerID of the CO line (size of Cs)
61
LG-Ericsson TSP User Guide
62
LG-Ericsson TSP User Guide
9. Troubleshooting
Lines and phones can not be seen on the server with the tapimgmt.msc command
Cause: The connection between LG-Ericsson system and LG-Ericsson TSP does not work
correctly.
Solution: Ensure the following:
rd
- 3 party lock key is set up correctly.
- After installing LG-Ericsson TSP, you should restart your computer.
- Ensure the LG-Ericsson TSP configurations.
A client user cannot see lines or phones on the telephony server ever though the server
is set up correctly and the lines or phones have been assigned to the user.
Cause: The client computer has not been enabled to use the telephony server.
Solution: Use tcmsetup on the client computer to specify the telephony server.
A client user cannot see a new line on the telephony server, even though the server
administrator has assigned the user to the line.
Cause: When you assign a currently running client user to a line on the telephony server, the
new settings will not be available until the user restarts the telephony service on the client
computer.
Solution: Stop all client TAPI applications on the client so that the telephony service will shut
down. When the client applications restart, they will be able to see the newly allocated lines.
If you cannot get TAPI to shut down, restart the client computer.
63
LG-Ericsson TSP User Guide
Edit the lmhosts.sam – No response or Long delay time between the TAPI server and a
client.
If a subnet of client computer IP address and a subnet of TAPI server IP address are
different, it takes long time to get the TAPI information between the TAPI server and a client.
The lmhosts.sam file is a static file that assists with remote NetBIOS name resolution on
computers that cannot respond to NetBIOS name-query broadcasts. It contains NetBIOS
name-to-IP addresses mappings.
To edit the lmhosts.sam
1. Open lmhosts.sam
Tipically, the lmhosts file is stored in the systemroot\System32\Drivers\Etc folder.
2. Add NetBIOS name-to-IP Address
3. Save the file.
64
LG-Ericsson TSP User Guide
2. Right-click the network connection you want to configure, and then click
Properties.
3. On the General tab (for a local area connection) or the Networking tab (all other
connections), click Internet Protocol (TCP/IP), and then click Properties.
65
LG-Ericsson TSP User Guide
To enable the use of the lmhosts file to resolve remote NetBIOS names, select the
Enable LMHOSTS lookup check box. This option is enabled by default.
66
LG-Ericsson TSP User Guide
To specify the location of the file that you want to import into the lmhosts file, click
Import LMHOSTS, and select the file in the Open dialog box.
67