Difference between revisions of "IP Desktop Master Station with Video Display - Practical Examples"
From Zenitel Wiki
(Created page with "!!!UNDER CONSTRUCTION!!! The following example will make the video from the camera in the door station appear on the IP Desktop Master Station monitor when: * The door station p...") |
|||
Line 8: | Line 8: | ||
------------ | ------------ | ||
'''Event 1''' - When a call request is made from the door station to the reception, connect to the camera. If the call request is deleted a 1 second timer is set in stead. | '''Event 1''' - When a call request is made from the door station to the reception, connect to the camera. If the call request is deleted a 1 second timer is set in stead. | ||
+ | {| | ||
+ | |- | ||
+ | |width="100pt"|'''Event Owner''': | ||
+ | |width="400pt"|The Master Station | ||
+ | |- | ||
+ | |'''Event type''': || [[Received Mail (Event Type)|10 - Received Mail]] | ||
+ | |- | ||
+ | |'''Subevent''': || 0 | ||
+ | |- | ||
+ | |'''When change to''': || ON or OFF | ||
+ | |- | ||
+ | |'''When related to''': || Directory Number, Id: 32 | ||
+ | |- | ||
+ | |'''Action''': || [[IF/ENDIF|IF %chg(1,0) | ||
+ | |- | ||
+ | | || EDO 1 "GET /cmd/CAMCONNECT.php?BOX=192.168.1.31&CAM=192.168.1.32 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" | ||
+ | |- | ||
+ | | || EDO 1 "Accept: */*\r\n\r\n" | ||
+ | |- | ||
+ | | || LOG "CAMERA ON" | ||
+ | |- | ||
+ | | || STOP | ||
+ | |- | ||
+ | | || ENDIF | ||
+ | |- | ||
+ | | || $ST L%1.dir W10 | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ------------ | ||
+ | '''Event 2''' - When a call request is answered, or a call is made or ended from the reception to the door station. A one second timer is set to avoid flicker. | ||
{| | {| | ||
|- | |- | ||
Line 14: | Line 45: | ||
|- | |- | ||
|'''Event type''': || [[Conversation Outgoing (Event Type)|08 - Conversation Outgoing]] | |'''Event type''': || [[Conversation Outgoing (Event Type)|08 - Conversation Outgoing]] | ||
+ | |- | ||
+ | |'''Subevent''': || 0 | ||
+ | |- | ||
+ | |'''When change to''': || ON or OFF | ||
+ | |- | ||
+ | |'''When related to''': || Directory Number, Id: 32 | ||
+ | |- | ||
+ | |'''Action''': || $ST L%1.dir | ||
+ | |- | ||
+ | | || IF %chg(1,0) | ||
+ | |- | ||
+ | | || EDO 1 "GET /cmd/CAMCONNECT.php?BOX=192.168.1.31&CAM=192.168.1.32 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" | ||
+ | |- | ||
+ | | || EDO 1 "Accept: */*\r\n\r\n" | ||
+ | |- | ||
+ | | || LOG "CAMERA ON" | ||
+ | |- | ||
+ | | || STOP | ||
+ | |- | ||
+ | | || ENDIF | ||
+ | |- | ||
+ | | || EDO 1 "GET /cmd/CAMDISCONNECT.php?BOX=192.168.1.31 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" | ||
+ | |- | ||
+ | | || EDO 1 "Accept: */*\r\n\r\n" | ||
+ | |- | ||
+ | | || LOG "CAMERA OFF" | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ------------ | ||
+ | '''Event 3''' - If the timer is not stopped due to a continous video, then the connection is dropped. | ||
+ | {| | ||
+ | |- | ||
+ | |width="100pt"|'''Event Owner''': | ||
+ | |width="400pt"|The Master Station | ||
+ | |- | ||
+ | |'''Event type''': || [[Event Timeout (Event Type)|21 - Event Timeout]] | ||
|- | |- | ||
|'''Subevent''': || 0 | |'''Subevent''': || 0 | ||
Line 19: | Line 87: | ||
|'''When change to''': || ON | |'''When change to''': || ON | ||
|- | |- | ||
− | |'''When related to''': || | + | |'''When related to''': || Directory Number, Id: 32 |
+ | |- | ||
+ | |'''Action''': || EDO 1 "GET /cmd/CAMDISCONNECT.php?BOX=192.168.1.31 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" | ||
|- | |- | ||
− | | | + | | || EDO 1 "Accept: */*\r\n\r\n" |
|- | |- | ||
− | | || | + | | || LOG "CAMERA OFF" |
|- | |- | ||
|} | |} | ||
+ | |||
+ | |||
+ | [[Category:Applications]] | ||
+ | [[Category:Video]] |
Revision as of 16:54, 3 January 2013
!!!UNDER CONSTRUCTION!!!
The following example will make the video from the camera in the door station appear on the IP Desktop Master Station monitor when:
- The door station press the call button thus making a Call Request to the reception
- The reception makes a call to the door station
In AlphaPro, go to Exchange and System -> Events, press Insert and create the following events:
Event 1 - When a call request is made from the door station to the reception, connect to the camera. If the call request is deleted a 1 second timer is set in stead.
Event Owner: | The Master Station |
Event type: | 10 - Received Mail |
Subevent: | 0 |
When change to: | ON or OFF |
When related to: | Directory Number, Id: 32 |
Action: | [[IF/ENDIF|IF %chg(1,0) |
EDO 1 "GET /cmd/CAMCONNECT.php?BOX=192.168.1.31&CAM=192.168.1.32 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" | |
EDO 1 "Accept: */*\r\n\r\n" | |
LOG "CAMERA ON" | |
STOP | |
ENDIF | |
$ST L%1.dir W10 |
Event 2 - When a call request is answered, or a call is made or ended from the reception to the door station. A one second timer is set to avoid flicker.
Event Owner: | The Master Station |
Event type: | 08 - Conversation Outgoing |
Subevent: | 0 |
When change to: | ON or OFF |
When related to: | Directory Number, Id: 32 |
Action: | $ST L%1.dir |
IF %chg(1,0) | |
EDO 1 "GET /cmd/CAMCONNECT.php?BOX=192.168.1.31&CAM=192.168.1.32 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" | |
EDO 1 "Accept: */*\r\n\r\n" | |
LOG "CAMERA ON" | |
STOP | |
ENDIF | |
EDO 1 "GET /cmd/CAMDISCONNECT.php?BOX=192.168.1.31 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" | |
EDO 1 "Accept: */*\r\n\r\n" | |
LOG "CAMERA OFF" |
Event 3 - If the timer is not stopped due to a continous video, then the connection is dropped.
Event Owner: | The Master Station |
Event type: | 21 - Event Timeout |
Subevent: | 0 |
When change to: | ON |
When related to: | Directory Number, Id: 32 |
Action: | EDO 1 "GET /cmd/CAMDISCONNECT.php?BOX=192.168.1.31 HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Keep-Alive\r\n" |
EDO 1 "Accept: */*\r\n\r\n" | |
LOG "CAMERA OFF" |