Port set naming

The custom server subroutines relating to TDM connection management require port set names as parameters. A standard naming scheme is adopted:

ResourceGroupName.N.PortSetName.M

ResourceGroupName
is the name of the resource group type, as specified in a resource_group_name= keyword entry within a configuration file.
N
is the instance number of that resource group within the system (instance numbers begin at 1)
PortSetName
is the name of the port set type, as specified in a port_set= keyword entry within a configuration file.
M
is the instance number of that port set within the resource group (again, instance numbers begin at 1).

For example, a configuration file, /usr/lpp/dirTalk/sw/tslot/config/dtpack.rg, defines the port sets associated with digital trunk adapters. The resource group name for all of these port sets is dtpack. A port set called channel consists of two ports: a sink port (raw_out) which takes speech from the TDM bus and plays it to a caller, and a source port (raw_in1) which puts a caller’s voice onto the TDM bus. This port set can be used in applications such as matrix switching, or one-call fax. The first channel on the first digital trunk adapter of a Blueworx Voice Response system is called: dtpack.1.channel.1 .