Resources are processing elements used to provide some voice, telephony, or call processing service. Voice system resources fall under two categories:
These resources are always bound to a particular channel. These include touch-tone detectors, dialers, and play and record resources on Tip/Ring channels set to talk. These resources simply are used as they are needed since they are always available.
These resources exist in a pool from which resources are allocated as needed. Dynamic resources exist on SSP cards. Examples of dynamic resources include voice play and record resources on SSP circuit cards and recognition resources. Since there may be fewer dynamic resources of a particular type than channels wishing to use them at any given time, IRAPI applications must deal with dynamic resource allocation contention.
Note:
Application developers need not be concerned about static resources. This section looks only at dynamic resource allocation and its effects on program behavior and structure. From this point forward, all discussion of resources refers to dynamic resources.
The IRAPI allocates all resources required to start an activity when the function requesting the activity is called. Implicit resource allocation is when resources required to complete a function or activity are allocated when a function is called. The IRAPI also allows an application to reserve any resources it may need in advance through a call to irReserveResource(3IRAPI). This is termed explicit resource allocation.