%1.dak
From Zenitel Wiki
%1.dak(DAK search string,D-10 range)
Return the number of the DAK key (1 - 100) containing a specified string, or 0 if not found
- station number given by event context
- %2.dak can also be used if related-to is in local exchange
- Used for controlling the LEDs of CRMIV
D-10 range: Limits the search to one 10-DAK range. 0 = 1-10.... 9 = 91 - 100. Speeds up the search and reduces the CPU load (relevant for the old AMC card).
Examples:
%1.dak(I215) returns the number of the DAK key containing "I215". If not existing it will return ther value 0. %1.dak(I215,2) returns the number of the DAK key containing "I215" if it exists on DAK key 31-40