CCaccept
Previous Topic  Next Topic 

Synopsis:

CCaccept(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_accept(int handle);

or        ACU_ERR xcall_accept(ACCEPT_XPARMS *acceptp);


It is used to accept (answer) an incoming call after a CS_INCOMING_CALL_DET event has been indicated.     If any of the extended parameters have been set using the CCsetparm() function with a ParmType  of PARM_TYPE_ACCEPT then the extended version of the function will be called.


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