McDewey

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

Page 192

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

Parameters hCall A handle to the call. The application must be an owner of the call. Call state of hCall can be any state. dwDigitMode The format to be used for signaling these digits. The dwDigitMode can have only a single flag set. This parameter uses the following LINEDIGITMODE_constant: • LINEDIGITMODE_DTMF -Uses DTMF tones for digit signaling. Valid digits for DTMF mode include ‘0’ -‘9’, ‘*’, ‘#’. lpszDigits Valid characters for DTMF mode in the Cisco Unified TSP include ‘0’ through ‘9’, ‘*’, and ‘#’. dwDuration Duration in milliseconds during which the tone should be sustained. Cisco Unified TSP does not support dwDuration. Note lineGenerateTone The lineGenerateTone function generates the specified tone over the specified call. The Cisco Unified TSP supports neither invoking this function with a 0 value for dwToneMode to abort a tone generation that is currently in progress nor invoking lineGenerateTone while tone generation is in progress. Cisco Unified IP Phones pass tones out of band. This means that the tone is not injected into the audio stream (in-band) but is sent as a message in the control stream. The phone on the far end then injects the tone into the audio stream to present it to the user. Also, be aware that some gateways will not inject tones into the audio stream on the way out of the LAN. Note Function Details LONG lineGenerateTone( HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE const lpTones ); Parameters hCall A handle to the call on which a tone is to be generated. The application must be an owner of the call. The call state of hCall can be any state. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 160 Basic TAPI Implementation lineGenerateTone

Image 1 from page 192

Page 192 content