McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 187

↗ View in doc context
page
187
source
cucm/v15/tapi-dev-guide/tapi-dev-guide.md
chunk_id
cucm::v15::tapi-dev-guide::tapi-dev-guide::189

Parameters hLine A handle to a line device. This parameter is required. dwFeature Feature to invoke on the line device. This parameter uses the PHONEBUTTONFUNCTION_TAPI constants. When used with the Cisco TSP, the only value that is considered valid is PHONEBUTTONFUNCTION_DONOTDISTURB (0x0000001A). lpParams A pointer to a memory area used to hold a parameter block. The format of this parameter block is device-specific and TAPI passes its contents to or from the service provider. dwSize The size in bytes of the parameter block area. Return Values Returns a positive request identifier if the function is completed asynchronously or a negative number if an error occurs. The dwParam2 parameter of the corresponding LINE_REPLY message is zero if the function succeeds or it is a negative number if an error occurs. Possible return values follow: • LINEERR_INVALFEATURE • LINEERR_OPERATIONUNAVAIL • LINEERR_INVALLINEHANDLE • LINEERR_OPERATIONFAILED • LINEERR_INVALPOINTER • LINEERR_RESOURCEUNAVAIL • LINEERR_NOMEM • LINEERR_UNINITIALIZED. Error Codes The following new error can be returned by Cisco TSP for Do-Not-Disturb feature: LINERR_ALREADY_IN_REQUESTED_STATE 0xC0000009 lineDial The lineDial function dials the specified number on the specified call. The application can use this function to enter a FAC or CMC. The FAC or CMC can be entered one digit at a time or multiple digits at a time. The application may also enter both the FAC and CMC if required in one lineDial() request as long as the FAC and CMC are separated by a “#” character. If sending both a FAC and Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 155 Basic TAPI Implementation lineDial

Page 187 content