diaGlobWrapper Help
Channel class constructor
Namespace: InkostarAssembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntaxpublic Channel(
string ProtocolName,
string VoiceDeviceName,
string NetworkDeviceName
)
Public Sub New (
ProtocolName As String,
VoiceDeviceName As String,
NetworkDeviceName As String
)
public:
Channel(
String^ ProtocolName,
String^ VoiceDeviceName,
String^ NetworkDeviceName
)
new :
ProtocolName : string *
VoiceDeviceName : string *
NetworkDeviceName : string -> ChannelParameters
- ProtocolName
- Type: SystemString
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: SystemString
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: SystemString
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