Click or drag to resize
DiaSpringWrapperGetInfo Method
Retrieves the channel properties: ChannelNumber, ChannelName, DigitsReceived, LastCallerID, RingCount, ChannelState and ChannelFeatures.

Namespace: Inkostar
Assembly: DiaSpringWrapper (in DiaSpringWrapper.dll) Version: 0.0.0.0
Syntax
public DiaSpringWrapperCommonChannelInfo GetInfo(
	string ChannelName
)

Parameters

ChannelName
Type: SystemString
The Channel name on the Dialogic board on which to query the properties.

Return Value

Type: DiaSpringWrapperCommonChannelInfo
ChannelInfo Structure containing detailed information on the specified channel
Remarks
None
Examples
Retrieve the ChannelNumber, BoardNumber, ChannelName, DigitsReceived, LastCallerID, RingCount and ChannelState on the device instance and display it in a messagebox.
C#: string deviceinfo = string.Format("Board number: {0}, Channel Name: {1}, Channel Number: {2}, Last digits received: {3}, Last caller id: {4}, Last answered on ring count: {5}, Channel state: {6}.", objDevice.GetInfo("dxxxB1C1").BoardNumber, objDevice.GetInfo("dxxxB1C1").ChannelName, objDevice.GetInfo("dxxxB1C1").ChannelNumber, objDevice.GetInfo("dxxxB1C1").DigitsReceived, objDevice.GetInfo("dxxxB1C1").LastCallerID, objDevice.GetInfo("dxxxB1C1").RingCount, objDevice.GetInfo("dxxxB1C1").State.ToString());
VB.NET: String deviceinfo = String.Format("Board number: {0}, Channel Name: {1}, Channel Number: {2}, Last digits received: {3}, Last caller id: {4}, Last answered on ring count: {5}, Channel state: {6}.", objDevice.GetInfo("dxxxB1C1").BoardNumber, objDevice.GetInfo("dxxxB1C1").ChannelName, objDevice.GetInfo("dxxxB1C1").ChannelNumber, objDevice.GetInfo("dxxxB1C1").DigitsReceived, objDevice.GetInfo("dxxxB1C1").LastCallerID, objDevice.GetInfo("dxxxB1C1").RingCount, objDevice.GetInfo("dxxxB1C1").State.ToString())
See Also