/mcpSyntax CMAPI bool EpApiInitByDefault ( PRTPLIBTRACEpTraceCallback, ); Parameters pTraceCallback Pointer to an application callback function to be called with the trace record data passed to it. 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 Already initialized RTP_ERR_INITALREADY Remarks Rtp Library will be initialized as if registry is set as follows: • UDPPortRangeStart = 50000 • UDPPortRangeEnd = 50999 EpApiClose Closes EpApi. Syntax CMAPI bool EpApiClose (); 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 EpAPI is not initialized. EP_ERR_INIT Remarks As a result of this function execution all active sessions, connections and streams will be terminated, timers closed and all data freed. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 428 Cisco TSP Media Driver EpApiClose