TeleFlow Variable @TRUNK TYPE
From TeleFlow
Description: Contains a single word indicating the type of trunk the application's port is associated with. (I.e.: analog, digital T1, etc.) @TRUNK_TYPE will contain one of the following values:
- NONE: Application is not using a port.
- SIMULATED: Application is running on the TeleFlow Simulator
- T1: Application is using a port on a digital T1 trunk. Regardless of the configuration of the trunk, the value will still be "T1"
- E1: Application is using a port on a digital E1 trunk. Regardless of the configuration of the trunk, the value will still be "E1"
- ANALOG: Application is using an analog port. Regardless of the configuration of the analog trunk (eg: loop-start, ground-start), the value will still be "ANALOG"
- VOIP: Application is using a voice-over-IP (VoIP) port.
Data Type: String
Sample Uses: Sometimes it is important to know what kind of trunk your application is running on, so you can use a Compare step to check the trunk type before you execute functionality that is only available on certain types. For example, on some analog telephone circuits, you can perform a flash-hook to put the caller on hold. The same functionality may not be available if you run your application on a digital T1 port.
Please refer to TeleFlow System Variables for a complete list of system information and settings TeleFlow offers in special variables.
