Click or drag to resize
DiaGlobWrapperSetServiceState Method
diaGlobWrapper Help
Places a channel in a state of In Service, Maintenance, Out of Service.

Namespace: Inkostar
Assembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntax
public void SetServiceState(
	Channel CurrentChannel,
	DiaGlobWrapperCommonServiceState StateOfService
)

Parameters

CurrentChannel
Type: InkostarChannel
The Channel on the Dialogic board on which the function is to be executed.
StateOfService
Type: InkostarDiaGlobWrapperCommonServiceState
An enumerated constant to indicate the state of the service to be set: StateInService, StateMaintenance or StateOutOfService.
Remarks
Compatibility: E1 CAS, T1 Robbed Bit, ISDN (BRI and PRI), R4 on DM3 (Analog, ISDN and T1), SS7
On Success this function will generate an event of EventReceived.ServiceState.
On failure this function will generate an EventReceived.TaskFailed event or an exception of type DiaGlobWrapperLibException
Examples
To set the inbound channel to a state of StateMaintenance.
C#: objDevice.SetServiceState(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ServiceState.StateMaintenance);
VB.NET: objDevice.SetServiceState(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ServiceState.StateMaintenance)
See Also