Developer

API Reference

INetwork_GetSipServerAddr()

Brew Release
Brew MP 1.0.2
See Also
Error Codes INetwork INetwork_GetSipServerDomainNames
Description
This function returns the SIP (Session Initiation Protocol) server IP addresses for this network.
Parameters
  • me
    []:
    The interface pointer.
  • aSipServerAddresses
    []:
    [out] Caller-allocated array in which the SIP server addresses are returned.
  • uNumAddresses
    []:
    [in] The size of aSipServerAddresses (the number of IPAddr items it can hold).
  • puNumAddressesRequired
    []:
    [out] The size (number of entries) of aSipServerAddresses required to receive all SIP server addresses. If set to NULL, this value will not be filled.
Interface
Prototype
  int INetwork_GetSipServerAddr(INetwork *me, 
                                IPAddr aSipServerAddresses[], 
                                uint8  uNumAddresses,
                                uint8* puNumAddressesRequired)
        
Return
AEE_NET_SUCCESS: Success, where aSipServerAddresses holds SIP server IP addresses. puNumAddressesRequired holds the total number of existing SIP server addresses. If aSipServerAddresses is too small to contain all existing SIP server addresses, it is filled with the maximum number of addresses possible. AEE_NET_EOPNOTSUPP: The operation is not supported. AEE_NET_ENETNONET: The network subsystem unavailable. Other AEE error code : As appropriate.
Side Effect
None.
Comment
The maximum number of SIP server IP addresses supported is 20.
  • Follow