/mcpEpLocalAddressGetAll Returns an array of RTPADDR structures which contain local IP addresses available for use by Rtp Library. Syntax CMAPI int EpLocalAddressPortGetAll( PRTPADDR pBuffer, int * pBufSize ); Parameters pBuffer Pointer to a memory buffer to fill in with array of RTPADDR structures or NULL. pBufSize • IN—Length of the buffer (in bytes), pointed to by pBuffer. • OUT—Space in the buffer used or required. Return Value If no errors occurs, this function returns a number of available local IP addresses and an array of RTPADDR structures in the pBuffer. If pBuffer parameter value is NULL, the function returns the number of available local IP addresses and the pBufSize will contain the buffer size required for the RTPADDR structure array. If an error occurs, 0 is returned and a specific error code can be retrieved by calling EpApiGetLastError. In case of EP_ERR_PARAM_INVALID error, pBufSize will contain the size of the required buffer. Description Error code EpAPI is not initialized. EP_ERR_INIT Buffer is not large enough. EP_ERR_PARAM_INVALID EpLocalAddressPortGet Reserves port from the port pool and returns it together with a local IP address. Syntax CMAPI PRTPADDR EpLocalAddressPortGet(); Return Value If no errors occurs, this function returns pointer to RTPADDR structure with the first (or default) local IP address used by Rtp Library and reserved UDP port number. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 429 Cisco TSP Media Driver EpLocalAddressGetAll