McDewey

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

Page 237

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

LINECALLSTATE_UNKNOWN and the following call states will be ORed with the unknown call state. #define CLDSMT_CALL_PROGRESSING_STATE 0x0100000 The Progressing state indicates that the call is in progress over the network. The application must negotiate extension version 0x00050001 to receive this call state. #define CLDSMT_CALL_WAITING_STATE 0x02000000 The waiting state indicates that the REFER request is in progress on Referrer's line and the application should not request any other function on this call. All the requests will result in LINEERR_INVALCALLSTATE. Application has to negotiate extension version 0x00070000 to receive this call state. #define CLDSMT_CALL_WHISPER_STATE 0x03000000 The whisper state indicates that the Intercom call is connected in one-way audio mode. The Intercom originator cannot issue other function other that to drop the Intercom call. While at destination side, the system allows only Talkback and dropping call. All other requests result in LINEERR_OPERATIONUNAVAIL. dwParam2 Call-state-dependent information. • If dwParam1 is LINECALLSTATE_CONNECTED, dwParam2 contains details about the connected mode. This parameter uses the following LINECONNECTEDMODE_constants: LINECONNECTEDMODE_ACTIVE Call connects at the current station (the current station acts as a participant in the call). LINECONNECTEDMODE_INACTIVE Call stays active at one or more other stations, but the current station does not participate in the call. When a call is disconnected with cause code = DISCONNECTMODE_TEMPFAILURE and the lineState = LINEDEVSTATE_INSERVICE, applications must take care of dropping the call. If the application terminates media for a device, then it is also takes the responsibility to stop the RTP streams for the same call. Cisco Unified TSP will not provide Stop Transmission/Reception events to applications in this scenario. The behavior is exactly the same with IP phones. The user must hang up the disconnected -temp fail call on IP phone to stop the media. The application is also responsible for stopping the RTP streams in case the line goes out of service (LINEDEVSTATE_OUTOFSERVICE) and the call on a line is reported as IDLE. If an application with negotiated extension version 0x00050001 or greater receives device-specific CLDSMT_CALL_PROGRESSING_STATE = 0x01000000 with LINECALLSTATE_UNKNOWN, the cause code is reported as the standard Q931 cause codes in dwParam2. Note • If dwParam1 specifies LINECALLSTATE_DIALTONE, dwParam2 contains the details about the dial tone mode. This parameter uses the following LINEDIALTONEMODE_constant: LINEDIALTONEMODE_UNAVAIL The dial tone mode is unavailable and cannot become known. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 205 Basic TAPI Implementation LINE_CALLSTATE