Synopsis:
CCmkxcall(port, channel, DID, CID, sending_complete[,parm1,parm2....])
Arguments:
port – The logical E1/T1 port number.
channel – The channel number.
DID – The destination address
CID – The originating address
[send_comp] – Optional Sending complete flag
[cnf_parm1,cnf_parm2..] – Optional cnf_parms
Description: This function maps to the following Aculab function:
ACU_ERR call_feature_openout (FEATURE_OUT_XPARMS* feature_out);
It attempts to make an outgoing call on the specified port and channel whilst also sending feature information from the FEATURE_OUT_XPARMS structure as set by CCsetxparm().
The DID and CID arguments specify the destination and originating addresses respectively. The option send_comp argument allows the OUT_XPARMS.sending_complete flag to be set and should be set to 0 for overlap sending (more digits to come) or 1 for en-bloc sending. The default is en-bloc sending if this aragument is not given.
The optional cnf_parms allow for the OUT_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 OUT_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_openout() function for a more detailed description of the cnf field values.
Returns: This function returns 0 upon success or a negative error code.