McDewey

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

Page 312

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

The system supports four ring modes. The following table lists the valid ring modes. Table 18: Ring Modes Definition Ring Modes Off 0 Inside Ring 1 Outside Ring 2 Feature Ring 3 lpdwVolume The volume level with which the phone is ringing. This parameter has no meaning; the value 0x8000 always gets returned. phoneGetStatus The phoneGetStatus function enables an application to query the specified open phone device for its overall status. Function Details LONG WINAPI phoneGetStatusMessages( HPHONE hPhone, LPPHONESTATUS lpPhoneStatus ) ; Parameters hPhone A handle to the open phone device to be queried. lpPhoneStatus A pointer to a variably sized data structure of type PHONESTATUS, which is loaded with the returned information about the phone status. Return Values Returns zero if the request succeeds or a negative number if an error occurs. Return values include the following: PHONEERR_INVALPHONEHANDLE, PHONEERR_NOMEM PHONEERR_INVALPOINTER, PHONEERR_RESOURCEUNAVAIL PHONEERR_OPERATIONFAILED, PHONEERR_STRUCTURETOOSMALL PHONEERR_OPERATIONUNAVAIL, PHONEERR_UNINITIALIZED Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 280 Basic TAPI Implementation phoneGetStatus

Page 312 diagram