McDewey

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

Page 201

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

lpCallList A pointer to a variably sized data structure of type LINECALLLIST. Upon successful completion of the request, call handles to all selected calls get returned in this structure. Prior to calling lineGetNewCalls, the application should set the dwTotalSize member of this structure to indicate the amount of memory that is available to TAPI for returning information. Return Values Returns zero if the request succeeds or a negative number if an error occurs. Possible return values follow: • LINEERR_INVALADDRESSID • LINEERR_OPERATIONFAILED • LINEERR_INVALCALLSELECT • LINEERR_RESOURCEUNAVAIL • LINEERR_INVALLINEHANDLE • LINEERR_STRUCTURETOOSMALL • LINEERR_INVALPOINTER • LINEERR_UNINITIALIZED • LINEERR_NOMEM lineGetNumRings The lineGetNumRings function determines the number of rings that an incoming call on the given address should ring before the call is answered. Function Details LONG WINAPI lineGetNumRings( HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings ); Parameters hLine A handle to the open line device. dwAddressID An address on the line device. An address identifier permanently associates with an address; the identifier remains constant across operating system upgrades. lpdwNumRings The number of rings that is the minimum of all current lineSetNumRings requests. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 169 Basic TAPI Implementation lineGetNumRings

Page 201 content