Difference between revisions of "Dynamic group call"
From Zenitel Wiki
(→Event Handler configuration) |
(→Event Handler configuration) |
||
Line 71: | Line 71: | ||
|- | |- | ||
|'''Action''': || [[IF/ENDIF|IF]] [[%sgm]](%2.phy,%1.exp(2))|| sgm = Station Group Member, %2.phy = station phys addr., %1.exp(2) = last 2 digits of UDP %1.exp value. | |'''Action''': || [[IF/ENDIF|IF]] [[%sgm]](%2.phy,%1.exp(2))|| sgm = Station Group Member, %2.phy = station phys addr., %1.exp(2) = last 2 digits of UDP %1.exp value. | ||
− | || || Check if station is already member of this group. | + | |- |
+ | || || Check if station is already member of this group. | ||
|- | |- | ||
| || [[IND]] %1.phy [[%1.dak]](I%2.dir) 2 3 OFF | | || [[IND]] %1.phy [[%1.dak]](I%2.dir) 2 3 OFF |
Revision as of 06:04, 18 February 2010
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).
- Enter the group call directory number in the User Defined Parameter (%1.EXP) field of each CRM-IV. In AlphaPro, Users & Stations -> UDP -> User Defined Parameter (%1.EXP). For the above example, CRM station 1 will have (%1.EXP)=8502, CRM station 2 will have (%1.EXP)=8503 and CRM station 3 will have (%1.EXP)=8504.
- Put all CRM’s that should have Dynamic group call feature in UDP group 1. Name this UDP group : "The CRM stations".
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 | Turn ON + flash the red LED of the Group Config. button |
Event 2
-> This event will be triggered each time a match is found in the directory table (after the "Group Config." button has been pressed for the first time.)
-> E.g. pressing a DAK-key with a directorynumber stored in it, will call this event (%2 will contain the directory number of the DAK key).
-> This event keeps being triggered until disconnected.
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)) | sgm = Station Group Member, %2.phy = station phys addr., %1.exp(2) = last 2 digits of UDP %1.exp value. |
Check if station is already member of this group. | ||
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 |