McDewey

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

Page 330

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

If dwParam1 is PHONESTATE_OWNER, dwParam2 contains the new number of owners. If dwParam1 is PHONESTATE_MONITORS, dwParam2 contains the new number of monitors. If dwParam1 is PHONESTATE_LAMP, dwParam2 contains the button/lamp identifier of the lamp that changed. If dwParam1 is PHONESTATE_RINGMODE, dwParam2 contains the new ring mode. If dwParam1 is PHONESTATE_HANDSET, SPEAKER, or HEADSET, dwParam2 contains the new hookswitch mode of that hookswitch device. This parameter uses the following PHONEHOOKSWITCHMODE_constants: • PHONEHOOKSWITCHMODE_ONHOOK -The microphone and speaker both remain on hook for this device. • PHONEHOOKSWITCHMODE_MICSPEAKER -The microphone and speaker both remain active for this device. The Cisco Unified TSP cannot distinguish among handsets, headsets, or speakers, so this value gets sent when the device is off hook. If dw Param1 is PHONESTATE_SUSPEND, dwParam2 contains the reason EnergyWisePowerSavePlus when the phone unregisters as it enters EnergywiseDeepSleep. dwParam3 The TAPI specification specifies that dwparam3 is zero; however, the Cisco Unified TSP will send the new lamp state to the application in dwparam3 to avoid the call to phoneGetLamp to obtain the state when dwparam2 is PHONESTATE_LAMP. TAPI Phone Structures This section describes the TAPI phone structures that Cisco Unified TSP supports: . Table 21: TAPI Phone Structures TAPI Phone Structure PHONECAPS Structure, on page 298 PHONEINITIALIZEEXPARAMS, on page 300 PHONEMESSAGE, on page 301 PHONESTATUS, on page 302 VARSTRING, on page 304 PHONECAPS Structure This section lists the Cisco-set attributes for each member of the PHONECAPS structure. If the value of a structure member is device, line, or call specific, the list gives the value for each condition. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 298 Basic TAPI Implementation TAPI Phone Structures

Page 330 diagram