CCrelease
Previous Topic  Next Topic 

Synopsis:

CCrelease(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_release(CAUSE_XPARMS *causep);

or        ACU_ERR xcall_release(DISCONNECT_XPARMS *causep);



This function is used to release the call handle associated with an inbound or outbound call in response to the channel returning to the CS_IDLE state.    

If any of the extended parameters have been set using the CCsetparm() function with a ParmType  of PARM_TYPE_DISCONNECT then the extended version of the function will be called.


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