Applies to Models: Zenitel Intercoms
Summary:
Change the video layout from WAVE at the incoming intercom calls
Step By Step Guide:
1. Download the Lua script file by clicking on the Download below
2. Open the downloaded script file with a text editor and edit the values as 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 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
b) Type in the password, 1851, in the Advanced configuration mode
c) Click on the box and then press the save button
4. Upload the Lua script to the intercom
a) At the intercom’s web setting, click on the SIP configuration (Edge configuration in the Edge mode)
b) Click on the Script Upload. Click on the “Choose File” button. Browse to the script file and then click on the Upload box
5. Assign the script to a slot
a) Select the Script under the SIP Configuration (Edge configuration in Edge mode) menu
b) Select the Slot drop window, and select a slot
c) Name the slot (a name of your choice) into the Assign a label box
d) Type in Lua intercom-layout.lua (case sensitive) into the script box
e) Click on the SAVE button
6. Define script event
a) Click on the Script Events tab under the SIP Configuration (Edge configuration in the Edge mode)
b) Assign the intercom layout Script to the Outgoing Ringing event
c) Click on the SAVE button
7. WAVE Settings- Layout creation
a) Right-click on the Layouts and click on the New layout option.
b) Name the layout (we will be referring to the Intercom layout in this KB article)
c) Drag and drop the cameras associated with the intercom
8. WAVE Settings- Event to Action creation
a) Bring up the Event to Action window by pressing CTRL + E key
b) Set the following values
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
You can also trigger 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.