|
ChannelResourceCallProgressTemplate Property |
Gets or sets the call progress template to use as a basis for the next call. This is used to override Dialogic call progress settings.
Namespace:
VoiceElements.Client
Assembly:
VoiceElementsClient (in VoiceElementsClient.dll) Version: 8.6.1.1
Syntax public string CallProgressTemplate { get; set; }
Public Property CallProgressTemplate As String
Get
Set
public:
property String^ CallProgressTemplate {
String^ get ();
void set (String^ value);
}
member CallProgressTemplate : string with get, set
Property Value
Type:
StringRemarks
This property is typically used to set the
Call Progress Mode before
dialing a call.
This is an Advanced Feature Applicable to Dialogic Based Systems Only
This feature allows you to change the many complicated and advanced settings involved in configuring Dialogic based call progress. As shown in the sample below, this property works in concert with the
Call Progress Overrides Property.
Normally,
Dialogic Call Progress Settings cannot be changed without a restart. This feature allows you to override the settings for a single call.
Examples
The sample below shows using the template property along with the
Call Progress Overrides Property to override one setting for the next call.
public void SetCallProgressOverrides()
{
TelephonyServer m_TelephonyServer = new TelephonyServer();
ChannelResource m_ChannelResource = m_TelephonyServer.GetChannel();
m_ChannelResource.CallProgressTemplate = @"Dialogic\DxCap";
Dictionary<string, int> overrides = new Dictionary<string, int>();
overrides.Add("ca_noanswer", 6000);
m_ChannelResource.CallProgressOverrides = overrides;
}
Public Sub SetCallProgressOverrides()
Dim m_TelephonyServer As New TelephonyServer()
Dim m_ChannelResource As ChannelResource = m_TelephonyServer.GetChannel()
m_ChannelResource.CallProgressTemplate = "Dialogic\DxCap"
Dim [overrides] As New Dictionary(Of String, Integer)()
[overrides].Add("ca_noanswer", 6000)
m_ChannelResource.CallProgressOverrides = [overrides]
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also