McDewey

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

Page 214

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

• LINECALLPRIVILEGE_NONE -The application can make only outgoing calls. • LINECALLPRIVILEGE_MONITOR -The application can monitor only incoming and outgoing calls. • LINECALLPRIVILEGE_OWNER -The application can own only incoming calls of the types that are specified in dwMediaModes. • LINECALLPRIVILEGE_MONITOR + LINECALLPRIVILEGE_OWNER -The application can own only incoming calls of the types that are specified in dwMediaModes, but if the application does not represent an owner of a call, it acts as a monitor. • Other flag combinations return the LINEERR_INVALPRIVSELECT error. dwMediaModes The media mode or modes of interest to the application. Use this parameter to register the application as a potential target for incoming call and call handoff for the specified media mode. This parameter proves meaningful only if the bit LINECALLPRIVILEGE_OWNER in dwPrivileges is set (and ignored if it is not). This parameter uses the following LINEMEDIAMODE_constant: • LINEMEDIAMODE_INTERACTIVEVOICE -The application can handle calls of the interactive voice media type; that is, it manages voice calls with the user on this end of the call. Use this parameter for third-party call control of physical phones and CTI port and CTI route point devices that other applications opened. • LINEMEDIAMODE_AUTOMATEDVOICE -Voice energy exists on the call. An automated application locally handles the voice. This represents first-party call control and is used with CTI port and CTI route point devices. lpCallParams The dwNoAnswerTimeout attribute of the lpCallParams field is checked and if it is non-zero, automatically disconnects a call if it is not answered after the specified time. linePark The linePark function parks the specified call according to the specified park mode. Function Details LONG WINAPI linePark(HCALL hCall, DWORD dwParkMode, LPCSTR lpszDirAddress, LPVARSTRING lpNonDirAddress ); Parameters hCall Handle to the call to be parked. The application must act as an owner of the call. The call state of hcall must be connected. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 182 Basic TAPI Implementation linePark