CCgetaddr
Previous Topic  Next Topic 

Synopsis:

CCgetaddr(port, channel)


Arguments:

       port The logical E1/T1 port number.

channel The channel number.


Description:   This function maps to the following Aculab function:


ACU_ERR call_get_originating_addr(int handle);


This function may be used to obtain the originating address of an incoming call in some Channel Associated Signalling (CAS) systems and ISUP variants where the application must explicitly request the originating address from the network.      After calling this function the call state will change to CS_DETAILS once the originating address is available after which a call to CCgetparm() can be used to obtain the originating address.


Returns: This function returns 0 upon success or a negative error code.