McDewey

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

Page 232

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

LINE_ADDRESSSTATE The LINE_ADDRESSSTATE message gets sent when the status of an address changes on a line that is currently open by the application. The application can invoke lineGetAddressStatus to determine the current status of the address. Function Details LINE_ADDRESSSTATE dwDevice = (DWORD) hLine; dwCallbackInstance = (DWORD) hCallback; dwParam1 = (DWORD) idAddress; dwParam2 = (DWORD) AddressState; dwParam3 = (DWORD) 0; Parameters dwDevice A handle to the line device. dwCallbackInstance The callback instance supplied when the line is opened. dwParam1 The address identifier of the address that changed status. dwParam2 The address state that changed. Can be a combination of these values: LINEADDRESSSTATE_OTHER Address-status items other than those that are in the following list changed. The application should check the current address status to determine which items changed. LINEADDRESSSTATE_DEVSPECIFIC The device-specific item of the address status changed. LINEADDRESSSTATE_INUSEZERO The address changed to idle (it is now in use by zero stations). LINEADDRESSSTATE_INUSEONE The address changed from idle or from being used by many bridged stations to being used by just one station. LINEADDRESSSTATE_INUSEMANY The monitored or bridged address changed from being used by one station to being used by more than one station. LINEADDRESSSTATE_NUMCALLS The number of calls on the address has changed. This change results from events such as a new inbound call, an outbound call on the address, or a call changing its hold status. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 200 Basic TAPI Implementation LINE_ADDRESSSTATE

Page 232 content