McDewey

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

Page 217

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

• LINEERR_USERUSERINFOTOOBIG • LINEERR_INVALMEDIAMODE • LINEERR_UNINITIALIZED lineRedirect The lineRedirect function redirects the specified offered or accepted call to the specified destination address. If the application tries to redirect a call to an address that requires a FAC, CMC, or both, the lineRedirect function returns an error. If a FAC is required, the TSP returns the message LINEERR_FACREQUIRED. If a CMC is required, the TSP returns the message LINEERR_CMCREQUIRED. If both a FAC and a CMC are required, the TSP returns the message LINEERR_FACANDCMCREQUIRED. An application that wants to redirect a call to an address that requires a FAC, CMC, or both, should use the lineDevSpecific RedirectFACCMC function. Note Function Details LONG lineRedirect( HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode ); Parameters hCall A handle to the call to be redirected. The application must act as an owner of the call. The call state of hCall must be offering, accepted, or connected. The Cisco Unified TSP supports redirecting of calls in the connected call state. Note lpszDestAddress A pointer to the destination address. This follows the standard dialable number format. dwCountryCode The country code of the party to which the call is redirected. If a value of 0 is specified, the implementation uses a default. lineRegisterRequestRecipient The lineRegisterRequestRecipient function registers the invoking application as a recipient of requests for the specified request mode. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 185 Basic TAPI Implementation lineRedirect

Image 1 from page 217

Page 217 content