/mcpParameters pTraceCallback Pointer to an application callback function to be called with the trace record data passed to it. portRangeStart First port number in the continuous range of UDP ports (port pool) which can be used to create endpoints. numPorts Number of ports in the UDP port range (port pool) which can be used to create endpoints. IPAddressFamily IP address family to be used by Rtp Library to create endpoints can be set to: • AF_UNSPEC: both AF_INET and AF_INET6 can be used. • AF_INET: AF_INET only can be used. • AF_INET6: AF_INET6 only can be used. This settings can be overwritten by the pDefaultRtpAddr parameter. pDefaultRtpAddr IP address to be used use by Rtp Library to create endpoints. If not NULL, only this address will be used. Return Value If no errors occurs, this function returns true. If an error occurs, false is returned, and a specific error code can be retrieved by calling EpApiGetLastError. Description Error code Unable to create endpoint with specified IP address family EP_ERR_ADDR_NOTAVAIL The following describes a possible cause of the error: Invalid number of UDP ports EP_ERR_PARAM_INVALID Already initialized RTP_ERR_INITALREADY Unable to create high resolution timer RTP_ERR_TIMER_NOTAVAIL Remarks An error code can be set even when EpApiInit returns true. In some cases a default action / value can be assumed even if a parameter or registry settings is invalid. In those cases EpApiInit returns true but also set a proper error code to indicate an issue. EpApiInitByDefault Initializes EpApi and Rtp Library with default settings. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 427 Cisco TSP Media Driver EpApiInitByDefault