GetResource

This control has no features applicable to VisualConnect application development

Initial Setup Properties

ResourceGroupName

 

 

Overview

The GetResource control allocates a voice/fax resource for the current channel using an available voice/fax resource from a specified resource group. It can be placed in any position in a call-flow.

For analog channels, it is not necessary to use this control to get a voice/fax resource dynamically because these cards are bridged with their corresponding voice/fax resources by default. If the resource is currently in use by another channel, the call will not be answered.

For digital channels, a voice/fax resource should be allocated when voice processing is first needed using a GetResource control. A digital channel will use any available voice/fax resource to answer an incoming call in LineGroup control if ResourceGroup controls are not used in the project.

For station set channels, use a GetResource control to borrow a voice resource from an analog or digital channel.

Automatic Resource Allocation

On channels that do not explicitly request resources through the GetResource control, VBVoice will try to use the default (implicit) resource groups. For an analog channel, the default group is limited to the resource normally associated with this line interface. If this resource is not available, no calls may be processed. On digital channels, the default group consists of all resources in the system. The first available will be automatically associated with the line interface on per call basis.

How does automatic release work?

If users use dynamic resource allocation and the allocated voice/fax resource is not released explicitly in the call-flow, the voice/fax resource will be released automatically after a call terminates.

Station Set channels must use the GetResource control to allocate a voice/fax resource to do any voice processing (including digit collection) after a station goes off-hook. The voice/fax resource should be released when not required with a FreeResource control.

A Station Set channel can borrow a voice/fax resource from an analog channel or digital channel temporarily but it should be released as soon as possible.

A fax resource can not be released automatically, please explicitly use FreeResource control to free a fax resource.

Properties

ResourceGroupName

(String)

Return the resource group name that is being used in the GetResource control.

Setup Property Page