CCalarm
Previous Topic  Next Topic 

Synopsis:

CCalarm(port,alarm)


Arguments:

       port The logical E1/T1 port number.

alarm The ID of the alarm to present.


Description:   This function maps to the following Aculab function:


ACU_ERR call_send_alarm(ALARM_XPARMS *alarmp);


It causes a layer 1 alarms to be sent to the network on the specified port.     The alarm ID can be one of the following defined in ACULAB.INC:


const ALARM_NONE  =0;

const ALARM_AIS   =8192;

const ALARM_RRA   =2048;

const ALARM_CML   =64;


Returns: Returns upon success or a negative error code.