Click or drag to resize

ChannelResourceCallProgressOverrides Property

A serializable object that provides override information to the call progress template. This is used to override Dialogic call progress settings for the next call.

Namespace:  VoiceElements.Client
Assembly:  VoiceElementsClient (in VoiceElementsClient.dll) Version: 8.6.1.1
Syntax
public Object CallProgressOverrides { get; set; }

Property Value

Type: Object
Remarks
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 Template 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 overrides property along with the Call Progress Template 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