08.01.2013 Views

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Termination Events<br />

None<br />

Cautions<br />

set alarm configuration parameter values — gc_SetAlarmConfiguration( )<br />

Table 12. Possible Scope Settings for the alarm_config_type Parameter<br />

Errors<br />

Object(s) to Configure:<br />

ASO Board Time Slot<br />

alarm_config_type Flag Setting† linedev Setting<br />

yes yes yes ALARM_CONFIGURE_BOARDS_AND_TIMESLOTS NULL<br />

yes yes no ALARM_CONFIGURE_BOARDS NULL<br />

yes no yes configuration not supported‡ N/A<br />

yes no no none NULL<br />

no yes yes ALARM_CONFIGURE_TIMESLOTS Board linedev ID<br />

no yes no none Board linedev ID<br />

no no yes none Time slot linedev ID<br />

no no no configuration not supported‡ N/A<br />

† Possible flag settings are ALARM_CONFIGURE_BOARDS_AND_TIMESLOTS, ALARM_CONFIGURE_BOARDS,<br />

ALARM_CONFIGURE_TIMESLOTS. These values must be ORed in with other values. See the description of the<br />

alarm_config_type parameter above.<br />

‡ Attempts to configure unsupported configurations will return an error.<br />

When linedev is set to NULL, changing an alarm source object’s configuration will change the<br />

default behavior for devices opened subsequent to the gc_SetAlarmConfiguration( ) function<br />

call. That is, devices opened after the gc_SetAlarmConfiguration( ) function call will get<br />

their default behavior from the alarm source object configuration information.<br />

Only “alarm on” attributes may be set in the alarm_list. Setting the “alarm on” attribute for a<br />

specified alarm will set the “alarm off” attribute as well. For example, if DTT1_LOS is in the<br />

list of alarms to be configured, DTT1_LOSOK will also be configured. DTT1_LOSOK cannot<br />

be specified in alarm_list.<br />

If the blocking attribute of an alarm that is on is changed, the requested change will occur after<br />

the alarm clears.<br />

If the gc_SetAlarmConfiguration( ) function fails before it finishes updating multiple<br />

devices, that is, when linedev = NULL or when linedev = a board device, those devices that<br />

were successfully changed will remain changed (that is, the changes will not be undone).<br />

If a line device is specified and the given aso_id is not an alarm source object for the line<br />

device, an EGC_INVPARM error is generated.<br />

Although notification of a given alarm is enabled using gc_SetAlarmConfiguration( ), the<br />

application may not be notified if the flow of alarms to the application has been limited by a<br />

call to gc_SetAlarmFlow( ).<br />

If this function returns

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!