Actions

Difference between revisions of "Group Call - Increased volume"

From Zenitel Wiki

(Configuration)
Line 31: Line 31:
  
 
  IF %chg(1,0)
 
  IF %chg(1,0)
  tmp 0 "%gns(%2.phy,0)"
+
  tmp 0 "%gns(3,0)"
 
  LOOP
 
  LOOP
 
  IF %op(%tmp(0),=,0)
 
  IF %op(%tmp(0),=,0)
Line 37: Line 37:
 
  ENDIF
 
  ENDIF
 
  $VOL N%tmp(0) U6
 
  $VOL N%tmp(0) U6
  tmp 0 "%gns(%2.phy, %tmp(0))"
+
  tmp 0 "%gns(3, %tmp(0))"
 
  ENDLOOP
 
  ENDLOOP
 
  stop
 
  stop
 
  ENDIF
 
  ENDIF
  tmp 0 "%gns(%2.phy,0)"
+
  tmp 0 "%gns(3,0)"
 
  LOOP
 
  LOOP
 
  IF %op(%tmp(0),=,0)
 
  IF %op(%tmp(0),=,0)
Line 47: Line 47:
 
  ENDIF
 
  ENDIF
 
  $VOL N%tmp(0) U3
 
  $VOL N%tmp(0) U3
  tmp 0 "%gns(%2.phy, %tmp(0))"
+
  tmp 0 "%gns(3, %tmp(0))"
 
  ENDLOOP
 
  ENDLOOP
  
Line 58: Line 58:
  
 
U6 and U3 can be changed to other values if required.
 
U6 and U3 can be changed to other values if required.
 +
 +
In %gns(3, %tmp(0) in the example, the 3 stands for group 3 (86), and must be changed if a different group is used
  
 
Note that a standard feature exists, which might be a better alternative:
 
Note that a standard feature exists, which might be a better alternative:

Revision as of 15:28, 31 August 2021

AlphaCom icon 300px.png

This article describes how to increase the volume of a group call announcement. The volume is set back to default value when the group call is ended.

Prerequisites

  • This event is CPU extensive. Maximum members in a group using this feature should not exceed approx. 50 stations.
  • Minimum software: AMC version 11.

Configuration

In the following example the volume will be set to level 6 when group call 86 is called from stations in UDP group 2. The volume is set to level 3 (default) when the group call is ended.

When stations outside UDP group 2 dial group call 86 this event will not be triggered, and the volume will not be altered.

In AlphaPro, go to Exchange and System -> Events, press Insert and create the following event (the action strings can be copy/paste from here into AlphaPro):

Event Owner: Stations with UDP: Id: 2
Event type: 08 - Conversation Outgoing
Sub event: 0
When change to: ON or OFF
When related to: Directory Number, Id: 86
Action:  
IF %chg(1,0)
tmp 0 "%gns(3,0)"
LOOP
IF %op(%tmp(0),=,0)
STOP
ENDIF
$VOL N%tmp(0) U6
tmp 0 "%gns(3, %tmp(0))"
ENDLOOP
stop
ENDIF
tmp 0 "%gns(3,0)"
LOOP
IF %op(%tmp(0),=,0)
STOP
ENDIF
$VOL N%tmp(0) U3
tmp 0 "%gns(3, %tmp(0))"
ENDLOOP


In the action strings above, there are two lines that defines the volume. Volume during group call is set to 6 (U6) by the command:

$VOL N%tmp(0) U6

Volume is set to 3 (U3) when the group call is ended by the command:

$VOL N%tmp(0) U3

U6 and U3 can be changed to other values if required.

In %gns(3, %tmp(0) in the example, the 3 stands for group 3 (86), and must be changed if a different group is used

Note that a standard feature exists, which might be a better alternative: Group calls with "Setup Priority = Alarm" will automatically use the Volume Override feature of the AlphaCom, without any additional configuration required.