(Page 5 of 7 in this chapter)
dtmSendAlarm
Description
Starts or stops sending an alarm on a digital trunk.
Prototype
DWORD
dtmSendAlarm
(
DTMHD
dtmhd
,
unsigned
alarm
)
dtmhd
Handle returned by
dtmStartTrunkMonitor
.
alarm
Alarm to send; use
DTM_SEND_NO_ALARMS
to disable
.
Return Values
SUCCESS
CTAERR_INVALID_HANDLE
dtmhd
is not a valid monitor handle.
Events
None.
Details
This function starts or stops sending a specified alarm on a digital trunk to the remote end of the trunk. Alarms from the board to the application running on the host are not affected by this operation.
alarm
can be one of the following:
Alarm Setting
Value
Description
DTM_SEND_NO_ALARMS
0
Auto (board generates yellow alarms when appropriate)
DTM_SEND_AIS
1
AIS (all 1's signal)
DTM_SEND_LOF
2
Loss of Frame (yellow)
DTM_SEND_TS16AIS
3
TS16AIS (E1 only)
(Page 5 of 7 in this chapter)
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.