Actions

Dynamic group call

From Zenitel Wiki

Revision as of 17:44, 7 December 2007 by Asle (talk) (Programming)

Operation (CRM IV)

  • 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 key indicate that the station is included
  • Press the "Group Config." button again, the group call is now activated. The red led in the DAK key stops flashing
  • The green leds continue to flash during the group call
  • Cancel the group call. All members will be removed, and the green leds stop flashing

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


Programming

  • Software requirement: AMC 8.26 or later
  • If not already existing, create 9535 = feature 95/0. The "Group Config." DAK button is programmed to 9535.
  • Each CRM-IV must “own” a 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 10 = 8510
  • Enter the group call directory number in the User Defined Parameter (%1.EXP) field of the CRM IV (AlphaPro: Users & Stations > UDP > User Defined Parameter (%1.EXP)).
  • Put all CRM IV’s that should have Dynamic Group Call feature in UDP group 1.

Event Handler programming

Event 1:

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


Event 2:

Event Owner: Stations w/UDP 1 (CRM IV 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 1 (CRM IV 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 1 (CRM IV 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