GrabResource Control

This control has no features applicable to VisualConnect application development

Initial Setup Properties

ResourcePoolName

Overview

The GrabResource control allocates a voice/fax resource for the current channel using an available voice/fax resource from a specified ResourcePool or it can allocate a TTS/ASR resource. It can be placed in any position in a call-flow.

It is not necessary to use this control to get a voice/fax/TTS/ASR resource dynamically because they are grabbed automatically (by default) when needed. Instead, this control is used when more advanced resource manipulation is needed. For some protocols (e.g. T1 robbed-bit) a voice resource is needed before a call arrives into the system (i.e. waiting for ring), or to make an outbound call. Consequently, a voice resource is allocated from the global pool by default (and not the user-defined ResourcePool). A digital channel will use any available voice/fax resource to answer an incoming call in LineGroup control if ResourcePool controls are not used in the project.

Once you grab TTS/ASR resource, you can't grab a second TTS/ASR resource for the current channel, even if you released these resouces.

For some protocols (e.g. ISDN), a voice/fax resource should only be allocated when voice processing is first needed using a GrabResource control. A digital channel will use any available voice/fax resource to answer an incoming call in LineGroup control if ResourcePool controls are not used in the project.

For station set channels, use a GrabResource 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 GrabResource control, VBVoice will try to use resources from the global pool. The first available will be automatically associated with the line interface on per call basis.

How does automatic release work?

If an allocated voice/fax resource is not released explicitly in the call-flow, the voice/fax resource will be released automatically after a call terminates.

Initial Setup Properties

ResourcePoolName

(String)

Returns the resource pool name that is being used in the GrabResource control.

Setup Property Page