Specify Variable-Group Activation for a Channel
$channel_vargroup chan groupno
$line_vargroup chan groupno
This command is used to activate a variable group when an outbound call is processed on a specific channel. The two command names are synonymous.
The parameters on this command are used as follows:
| chan | the channel number or channel group(s) affected. The code * for all channels can be used, but if a variable is to be activated for all channels there is no reason to make it a grouped variable. |
| groupno | the variable group to be activated, a number from 1 to 30. |
Multiple commands may be used, but a line cannot be configured to activate more than eight variable groups.
Note that activated grouped variables remain defined in the FS file. To avoid their subsequent use for attempts on different channels, you should either ensure that all channels activate one of the defined variable groups, or define a variable group numbered 0 containing default variable assignments, which will always be activated first for all calls.
Selection of a specific ATA for outbound FoIP calls:
;FAXFACTS.CFG specify channel groups, channel vargroups, grouped vars
$channel_group ATA1 1,2 ; define channel group names
$channel_group ATA2 3,4
$channel_vargroup ATA1 11 ; activate group 11 for channels 1 and 2
$channel_vargroup ATA2 12 ; activate group 12 for channels 3 and 4
$var_def 11/CFSIP_SIPIP 10.0.0.131 ; IP address of first ATA
$var_def 12/CFSIP_SIPIP 10.0.0.165 ; IP address of second ATA
This example assumes a four-line system, so all lines have an activated variable and no default group 0 is needed.