diaGlobWrapper Help
Channel class constructor

Namespace:  Inkostar
Assembly:  DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0

Syntax

C#
public Channel(
	string ProtocolName,
	string VoiceDeviceName,
	string NetworkDeviceName
)
Visual Basic (Declaration)
Public Sub New ( _
	ProtocolName As String, _
	VoiceDeviceName As String, _
	NetworkDeviceName As String _
)
Visual C++
public:
Channel(
	String^ ProtocolName, 
	String^ VoiceDeviceName, 
	String^ NetworkDeviceName
)

Parameters

ProtocolName
Type: System..::.String
The string containing the name of the protocol used by the channel, for example: "pdk_ar_r2_io" when using a given CDP configuration file or "SS7" or "ISDN" or "ANALOG" or "H323" or "SIP".
VoiceDeviceName
Type: System..::.String
The string containing the name of voice resource attached to the channel, for example: "dxxxB1C4". Set to empty string when not applicable (for example when using ISDN or SS7)
NetworkDeviceName
Type: System..::.String
The string containing the name of network resource attached to the channel, for example: "dtiB1T4". Set to an empty string when not applicable (for example when using PDK analogue protocol).

Examples

The following examples list the various parameters based on each protocol / technology
Analogue Springware: Channel("pdk_na_an_io", "dxxxB1C1", "")
Analogue DM3: Channel("ANALOG", "dxxxB1C1", "dtiB1T1")
E1/T1: Channel("pdk_ar_r2_io", "dxxxB1C1", "dtiB1T1")
ICAPI: Channel("ar_r2_i", "dxxxB1C1", "dtiB1T1")
ISDN: Channel("ISDN", "dxxxB1C1", "dtiB1T1")
SS7: Channel("SS7", "dxxxB1C1", "dtiB1T1")
H323: Channel("H323", "ipmB1C1", "iptB1T1")
SIP: Channel("SIP", "ipmB1C1", "iptB1T1")

See Also