Synopsis:
CCalerting(port, channel)
Arguments:
port – The logical E1/T1 port number.
channel – The channel number.
Description: This function maps to the following Aculab functions:
ACU_ERR call_incoming_ringing(int handle);
ACU_ERR xcall_incoming_ringing(INCOMING_RINGING_XPARMS *ringingp);
Used to send and alerting (or ringing) message to the network causing the caller to hear the ring tone. This function is used after an incoming call has been detected but before the call has been accepted. Use of the function will stop further call details, such as DDI digits, from being received. If any parameters have been set using the CCsetparm() function with a ParmType of PARM_TYPE_ALERTING then the extended version of the function will be called.
Returns: This function returns 0 upon success or a negative error code.