Synopsis:
CCenablein(port,channel[,cnf_parm1[,cnf_parm2...])
Arguments:
port – The logical E1/T1 port number.
channel – The channel number.
[cnf_parm1,cnf_parm2].. – optional additional CNF parameters..
Description: This function maps to the following Aculab function:
ACU_ERR call_openin(IN_XPARMS *indetailsp);
It opens the specified port/channel to allow incoming calls to be received on that channel.
The optional cnf_parms allow for the IN_XPARMS.cnf field to be set. If one or more of these optional cnf_parms are specified then they are each ORed in turn with IN_XPARMS.cnf field. If no cnf_parms are specifed then by default the IN_XPARMS.cnf field is set to CNF_REM_DISC which stops the channel automatically returning to the idle state when a remote end disconnect occurs (instead the CCrelease() call must be used to return the channel to CS_IDLE state).
See the Aculab documentation for the call_openin() function for a more detailed description of the cnf field values.
Returns: This function returns 0 upon success or a negative error code.