Actions

Dynamic group call

From Zenitel Wiki

Revision as of 05:47, 18 February 2010 by Pcastelein (talk) (Event Handler configuration)

Operation (CRM IV and CRM V)

  • Press a dedicated "Group Config." DAK key. The red led in key starts flashing
  • Select subscribers to be included/excluded (toggle function) by pressing the assosiated DAK keys. A flashing green led in the keys indicates that the stations are included
  • Press the "Group Config." button again, the group call is now activated. The red led in the DAK key stops flashing. Now the group call is activated (the ding-dong chime is played) and pressing the `M`-key opens the microphone.
  • The green leds continue to flash during the group call
  • Cancel the group call by pressing the `C`-key. All members will be removed from the group, and the green leds stop flashing.

It is not neccessary to use CRM-IV or CRM V stations, but with regular stations you will not get LED feedback on group call inclusion/exclusion.

LIMITATION: You can only include subscribers, you cannot include groups!

Programming

  • Software requirement: AMC 8.26 or later
  • In AlphaPro, Directory & Features, create a directory number, feature 95/0. Directory number 9535 is included by default. Program the "Group Config." DAK button to 9535.
  • Each CRM station must be assigned its own group call that nobody else uses. The directory number of the group call must be changed so that the two last digits are identical to the group index number. Example:
    • Group 2 = 8502
    • Group 3 = 8503
    • Group 4 = 8504
    • Group 10 = 8510

So if you have 3 CRM stations, you need to program 3 group calls (e.g. 8502, 8503 and 8504).

Event Handler configuration

In AlphaPro, go to Exchange and System -> Events, press Insert and create the following events:


Event 1 This event will be triggered when the "Group Config." button is pressed for the first time.

Event Owner: Stations w/ UDP Id: 1 (The CRM stations)
Event type: 15 – Event Trigger
Subevent: 0
When change to: ON or OFF
When related to: Directory Number, Id: 9535
Action: IND %1.phy %1.dak(I%2.dir) 1 3

Event 2

Event Owner: Stations w/ UDP, Id: 1 (The CRM stations)
Event type: 25 – Event trigger with parameter
Subevent: 0
When change to: ON or OFF
When related to: All
Action: IF %sgm(%2.phy,%1.exp(2))
  IND %1.phy %1.dak(I%2.dir) 2 3 OFF
  ENDIF
  IF %op(%sgm(%2.phy,%1.exp(2)),=,0)
  IND %1.phy %1.dak(I%2.dir) 2 3 ON
  ENDIF
  $GRM L%2.dir NG%1.exp(2) U2
  IF %op(%2.dir,=,9535)
  $DISCON_ST L%1.dir 0
  IND %1.phy %1.dak(I%2.dir) 2 3 OFF
  PAUSE
  PAUSE
  PAUSE
  $DD L%1.dir L%1.exp
  ENDIF

Event 3

Event Owner: Stations w/ UDP, Id: 1 (The CRM stations)
Event type: 08 – Conversation - Outgoing
Subevent: 0
When change to: OFF
When related to: All
Action: IF %op(%2.dir,=,%1.exp)
  IF %gns(%1.exp(2),0)
  $ER U15 U1 U1 U1 N%gns(%1.exp(2),0) U3 %1.ref
  ENDIF
  ENDIF

Event 4

Event Owner: Stations w/ UDP, Id: 8 (All stations)
Event type: 15 – Event Trigger
Subevent: 1 (NOTE: Subtype 1, NOT 0)
When change to: ON
When related to: All
Action: $GRM N%gns(%2.exp(2),0) NG %2.exp(2) U0
  IND %2.phy %2.dak(I%1.dir) 2 3 OFF
  PAUSE
  IF %gns(%2.exp(2),0)
  $ER U15 U1 U1 U1 N%gns(%2.exp(2),0) U3 %2.ref
  ENDIF