Applies to Models: Zenitel Intercoms
Summary:
How to change the video layout in WAVE for incoming intercom calls.
Step By Step Guide:
1. Download the Lua script file by clicking HERE
2. Open the downloaded script file with a text editor and modify the values as shown below:
http.request('http://admin:password@192.168.1.4:7001/api/createEvent?source="Hanwha"&caption="Knock"&description="Visitor!"&metadata={"cameraRefs":["904ded2a-6ce0-9a08-24af-86a09b769f66"]}')
admin: change this to your WAVE user name
Password: change this to your WAVE password
192.168.1.4:7001: change this to the IP address and the port assigned to WAVE
Save the file after the modifications
3. Enable advanced configuration mode from the intercom’s web interface.
a) At the intercom's web setting, click on the Recovery tab under the Main tab (Figure 1)
b) Enter the password: 1851 in the Advanced configuration mode (Figure 1)
c) Click on the save button (Figure 1)
Figure 1
4. Upload the Lua script to the intercom following these steps:
a) In the intercom’s web setting, click on the SIP configuration (Edge configuration in the Edge mode) (Figure 2)
b) Click on the Script Upload. Select Choose File. Browse to the location of the script file and then click on Upload (Figure 2)
Figure 2
5. Assign the script to a slot:
a) Select the script under the SIP Configuration (Edge configuration in Edge mode) menu (Figure 3)
b) Select the Slot drop window, and select a slot (Figure 3)
c) Name the slot (a name of your choice) entering the name into the Assign a label field (Figure 3)
d) Type in lua intercom-layout.lua (case sensitive) into the script field (Figure 3)
e) Click on the SAVE button (Figure 3)
Figure 3
6. Define the script event:
a) Click on the Script Events tab under the SIP Configuration (Edge configuration in the Edge mode) (Figure 4)
b) Assign the intercom layout script to the Outgoing Ringing event (Figure 4)
c) Click on the SAVE button (Figure 4)
Figure 4
7. WAVE Settings -> Layout creation:
a) Right-click on the Layouts and click on the New layout option. (Figure 5)
b) Name the layout (we will be referring to the Intercom layout in this KB article) (Figure 5)
c) Drag and drop the cameras associated with the intercom (Figure 5)
Figure 5
8. WAVE Settings -> Event to Action creation
a) Open the Event to Action window by pressing CTRL + E key
b) Set the following values: (Figure 6)
Event
When: Generic Event
Caption contains: Visitor!
Action
Do: Open layout
Interval of action: Unchecked or Instant
Layout: The intercom layout (if you do not see the created layout, select the user from the show to)
Show to: Set to the user the intercom layout was created from
Figure 6
You can also trigger the WAVE layout to go back to the original layout from the intercom layout at the termination of the intercom call. Click Here for the KB article.