Toggle Applications
From Zenitel Wiki
This article describes different application where the common scenario is to toggle a feature on/off using just a DAK key. Some features have additional options that gives additional opportunities.
Contents
Converation
Toggle between Call and Cancel
Action commands:
IF %udd(%1.phy) $C L%1.dir WUDD %1.phy 0 STOP ENDIF $CALL L%1.dir L101 WUDD %1.phy 1
answer...
For more details see $CALL, $C and $WUDD
Call Request
Toggle between Call Request and Cancel Call Request
Action commands:
IF %udd(%1.phy) $CANM L%1.dir L101 WUDD %1.phy 0 STOP ENDIF $SM L%1.dir L101 WUDD %1.phy 1
answer...
For more details see $CANM, $SM, Call Request and $WUDD
Audio Program
Toggle between program on and program off. The example shows program 1 (801).
Action commands:
IF %udd(%1.phy) $PROG L%1.dir LV WUDD %1.phy 0 STOP ENDIF $PROG L%1.dir L801 WUDD %1.phy 1
step...
For more details see $PROG, Audio Program and $WUDD
Transfer
Toggle between Transfer On and Transfer off. The example shows transfer to directory number 101.
Action commands:
IF %udd(%1.phy) $TRF L%1.dir "" WUDD %1.phy 0 STOP ENDIF $TRF L%1.dir L101 WUDD %1.phy 1
SCRT
For more details see $TRF and $WUDD
Simplex Conference
Toggle between joining a simplex conference (SX), and leaving it. The example shows joining/leaving SX1 (8201).
Action commands:
IF %udd(%1.phy) $CONF L%1.dir LV WUDD %1.phy 0 STOP ENDIF $CONF L%1.dir L8201 WUDD %1.phy 1
answer...
For more details see $CONF and $WUDD
Open Duplex Conference
Toggle between joining a open duplex conference (ODC), and leaving it. The example shows joining/leaving ODC1 (8301).
Action command:
$ODC L%1.dir L8301 U2
join...
For more details see $ODC
Volume adjustment
Stepping the volume in a circle using just one button. After max volume, the next step is minimum volume.
Action commands:
IF %op(%vol(%1.phy),=,9) $VOL L%1.dir U0 STOP ENDIF $VOL L%1.dir U%op(%vol(%1.phy),+,1)
volume step up, volume step down (two buttons)...