Click or drag to resize

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:
public string CallProgressTemplate { get; set; }

Property Value

Type: String
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.

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()
// To get a channel, you must first get a link to a Telephony Server.  You may need to pass a username password here.
TelephonyServer m_TelephonyServer = new TelephonyServer();

// Get your channel resource from the server
ChannelResource m_ChannelResource = m_TelephonyServer.GetChannel();

// Set the call progress template to a Dialoigc DxCap file
m_ChannelResource.CallProgressTemplate = @"Dialogic\DxCap";

// Create a collection to hold any overrides you may wish to put over DIalogic settings.
Dictionary<string, int> overrides = new Dictionary<string, int>();

// Create one key, value pair, the key being the Dialogic setting from the configuration file, the value being the override value you want to put in
overrides.Add("ca_noanswer", 6000);

// Set the overrides property which will supercede the basic Dialogic settings for the next call
m_ChannelResource.CallProgressOverrides = overrides;
See Also