Actions

%1.dak

From Zenitel Wiki

Revision as of 16:50, 28 January 2009 by Asle (talk)

%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 with less CPU power).

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

Back to Event_Handler#List_of_context_parameters.