tsapiCti

Last Updated : Aug 28, 2019 |
This API is used to query and edit information for cti link information for tsapi
Prolog information
Syntax
tsapiCti add [switchname] [ctilink] [security] [linkversion]
tsapiCti status [switchname]
tsapiCti remove [switchname]
tsapiCti edit [oldswitchname] -n [newswitchname] -c [ctilink] -v [linkversion] -s [security]
Following are the examples:
  • tsapiCti add switchCM 4 both 9
  • tsapiCti edit switchCM -s unencrypted
where:
Argument
Description
add
Adds ctilink with given switch name.
status
Gets the status of the link.
remove
Removes the ctilink.
edit
Edit the information of link.
linkversion
Values range from 1 to 9 for Release 8.0.1 and 1 to 10 for Release 8.1.x.
ctilink
Values range from 1 to 64.
security
Can have the following values: encrypted, unencrypted, both.
Return codes:
Return code
Description
4
Switch does not exist in switch connections.
5
Invalid CTI link number.
6
Invalid Security mode/Encryption state.
7
TSAPI link already exists.
8
TSAPI link does not exist.