/mcpIf an error occurs, NULL is returned and a specific error code can be retrieved by calling EpApiGetLastError. Description Error code EpAPI is not initialized. EP_ERR_INIT No UDP port available. RTP_ERR_PORT_NOTAVAIL EpLocalAddressPortGetByFamily Reserves port from the port pool and returns it alone with a local IP address for the specified family. Syntax CMAPI PRTPADDR EpLocalAddressPortGetByFamily( int IPAddressFamily ); Parameters IPAddressFamily IP address family: AF_INET or AF_INET6 Returns: Pointer to RTPADDR structure or NULL. Return Value If no errors occurs, this function returns pointer to RTPADDR structure with the first local IP address for the specified family used by Rtp Library and reserved UDP port number. If an error occurs, NULL is returned and a specific error code can be retrieved by calling EpApiGetLastError. Description Error code EpAPI is not initialized. EP_ERR_INIT No IP address available for specified family RTP_ERR_ADDR_NOTAVAIL No UDP port available. RTP_ERR_PORT_NOTAVAIL EpLocalAddressPortGetByIdx Reserves UDP port from the Rtp Library port pool and returns it in the RTPADDR data structure alone with the IP address of the network interface card specified by the index parameter. Syntax CMAPI PRTPADDR EpLocalAddrPortGetByIdx ( int index ); Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 430 Cisco TSP Media Driver EpLocalAddressPortGetByFamily