McDewey

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

Page 473

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

Return Value Current trace level. EpApiGetLastError Retrieves last-error code value. The last-error code is maintained on a per-thread basis. Syntax CMAPI int EpApiGetLastError(); Parameters This function has no parameters. Return Value The return value is the calling thread's last error code. EpApi Error Codes Most of the EpApi functions do not return a specific cause of an error when the function returns but rather set global error code value which can be retrieved by calling EpApiGetLastError function. The following list describes possible error codes returned by EpApiGetLastError function. Errors are listed in numerical order. Table 26: Error Codes for EpApi Description Return code/Value No error occurred. EP_ERR_OK 0 EpAPI is not initialized. EP_ERR_INIT 17002 Invalid parameter. EP_ERR_PARAM_INVALID 17003 Unable to create endpoint with specified IP address family EP_ERR_ADDR_NOTAVAIL 17100 Address (Protocol -IP address -port) is already in use. EP_ERR_ADDR_INUSE 17101 Invalid endpoint or stream handle. EP_ERR_HANDLE_INVALID 17102 Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 441 Cisco TSP Media Driver EpApiGetLastError

Page 473 diagram