CCclrparms
Previous Topic  Next Topic 

Synopsis:

CCclrparms(port,channel,ParmType)


Arguments:

       port The logical E1/T1 port number.

channel The channel number.

ParmType The parameter type to clear


Description:   This function clears all the fields from the Aculab extended structure specified by the ParmType argument so that the non-extended version of the relevant Aculab call with be used next time a call is made.


The ParmType can be one of the following as defined in the ACULAB.INC:


const  PARM_TYPE_OUT         =0;   # For CCmkcall()

const  PARM_TYPE_IN          =1;   # For CCenablein()

const  PARM_TYPE_ALERTING    =2;   # For CCalerting()

const  PARM_TYPE_ACCEPT      =3;   # For CCaccept()

const  PARM_TYPE_DISCON      =4;   # For CCdisconnect()/CCrelease()

const  PARM_TYPE_HOLD        =5;   # COMING SOON

const  PARM_TYPE_GETADDR     =6;   # COMING SOON



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