Videosurveillance stores on additional hard disk the videos obtained from one or more RVS cameras. The video is then viewable and manageable using a standard browser. It also manages alarms that in addition to record the videos can send email, SMS, as well as a phone call using DISA service.
The ABILIS can simultaneously record images from several RVS cameras. The recorded frames are displayed through a web page. Since the recording device is contained inside the router, it seamlessly links to all available networks.
Prerequisites:
Add the resource to the Abilis system with the following command.
[09:08:14] ABILIS_CPX:a res:vs
COMMAND EXECUTEDThe VS resource may already exist in the system, but may not yet be active, and set the working directory and the storage size (in megabytes)
[09:10:00] ABILIS_CPX:s act res:vsCOMMAND EXECUTED [09:12:00] ABILIS_CPX:s p res:vs act:yes storage-wdir:D:\vs\ storage:10COMMAND EXECUTED [15:20:51] ABILIS_CPX:save confCOMMAND EXECUTED [15:20:51] ABILIS_CPX:warm start
| ![[Caution]](../images/caution.png) | Caution | 
|---|---|
| After adding or setting the VS active, or having set the working directory or the storage size you must restart the Abilis to make the resource running. Use the command save conf and restart Abilis (i.e. With warm start command) | 
| ![[Warning]](../images/warning.png) | Warning | 
|---|---|
| The first time the VS is configured and Abilis rebooted the VS driver prepares the hard disk to handle the surveillance file. The VS driver will stay unavailable up this task is completed, so PLEASE WAIT the VS driver to become enable again, you can check it in the web interface or in VS diagnostics. | 
| ![[Tip]](../images/tip.png) | Tip | 
|---|---|
| Interesting chapter: Section 63.15, “Rio/Rvs configuration”. | 
Use the command d p vs to show the parameters of the resource and use the command d p vs ? to display the meaning of the parameters.
[10:42:19] ABILIS_CPX:d p vs
RES:Vs ------------------------------------------------------------------------
Run    DESCR:Video_Surveillance
       LOG:DS         ACT:YES  max-rvs:4   max-cam:4   max-live:4   TOS:0-N
       wdir:C:\APP\VS\
       storage-wdir:D:\vs\
       -- Camera defaults on creation -----------------------------------------
       STORAGE:10 (40 GiB)      REC-MAXAGE:14            IDLE-REC-INTERVAL:60
       -- Alarm, Live, Errors -------------------------------------------------
       MIN-ALARM-DURATION:60    MAX-ALARM-DURATION:600   ALARM-HOLDOFF:600
       LIVE-REC-DURATION:600
       NOTIFY-ON-ERROR:MAIL
       -- Mail ----------------------------------------------------------------
       MAIL-FROM:AUTO (vs@abilis_cpx_)
       MAIL-RCPT:
       -- SMS -----------------------------------------------------------------
       SMS-CDO:#
       -- Disa Voice Call -----------------------------------------------------
       DISA-USER:#                       DISA-SERVICE:#
       DISA-CDO:#                        DISA-CGO:#Meaning of the most important parameters:
LOGLogging functionalities activation/deactivation.
ACTRuntime VS activation/deactivation.
max-rvsMaximum number of Rvs devices [1..16].
max-camMaximum number of Rvs cameras sharabale between all Rvs devices [0..80].
max-liveMaximum number of LIVE sessions [1..80].
TOSType Of Service octet or Differentiated Services Field (DS):
' p-t', i.e. PRECEDENCE and TOS values, where 'p' can be [0..7] and 't' can be [N=None, D=Min. Delay, T=Max. Throughput, R=Max. Reliability, C=Min. Monetary Cost];
'bbbbbb', i.e. DS value bit by bit, where 'b' can be [0, 1].
wdirDirectory where helper files are saved. It cannot be empty. Physical full path in DOS notation, i.e. starting with a drive letter in the range ['A'..'Z'] and ending with the '\' character. From 0 up to 128 characters. Case is preserved. Spaces are allowed. Strings holding spaces must be written between quotation marks (E.g.: "C:\My dir\").
storage-wdirWorking directory where the storage is saved. Physical full path in DOS notation, i.e. starting with a drive letter in the range ['A'..'Z'] and ending with the '\' character. From 0 up to 128 characters. Case is preserved. Spaces are allowed. Strings holding spaces must be written between quotation marks (E.g.: "C:\My dir\").
STORAGENumber of 4 GiB files used for the storage [2..1000].
REC-MAXAGEImages older than this value are deleted [NOMAX, 0, 1..365 day]. When 0, the recording is disabled and only LIVE view is available. When NOMAX, images are kept up to the storage limit.
IDLE-REC-INTERVALTime interval between images capture during non-alarm periods (idle) [1..3600 s].
MIN-ALARM-DURATIONMinimal duration of high frequency recording when the alarm condition is detected [10..3600 s] It will be extended up to MAX-ALARM-DURATION if the alarm condition is detected again during the ALARM-DURATION period.
MAX-ALARM-DURATIONMaximal duration of an alarm event [10..3600 s].
ALARM-HOLDOFFIf an alarm is terminated by MAX-ALARM-DURATION an holdoff is introduced before the next alarm is allowed [0..3600 s].
LIVE-REC-DURATIONThe maximum duration of LIVE mode recording [10..3600 s].
NOTIFY-ON-ERRORDesired notification on storage or device errors [NONE, MAIL, SMS, DISA-CB]. Values can be joined using "," operator.
MAIL-FROMSender of alarm e-mail. "SYS" or "AUTO" or a valid e-mail address.
SYS: the mail sender configured in
                CXGEN 'MAIL-SENDER' is used;
AUTO: a fixed value is used (e.g.
                vs@<cp-prompt>);
e-mail address: from 0 up to 128
                ASCII printable characters. Spaces are not allowed. Case is
                preserved.
MAIL-RCPTExternal or internal alarms e-mail recipient(s). From 0 up to 128 ASCII printable characters. Spaces are not allowed. Case is preserved.
SMS-CDOOutgoing called number for SMS. "#" or up to 20 digits optionally preceded by TON [u, i, n, o, s, h, c] and/or NP [x, e, d, t, l, p] attributes or the name of an IN list between single quotes (e.g. 'mylist')
DISA-USERName of an existing CtiDisa user for DISA CallBack. "#" or up to 16 Alphanumeric extended characters. Case is preserved. If the user is not configured, the "(!)" mark is displayed beside the name.
DISA-SERVICEName of an existing CtiDisa service for DISA CallBack. "#" or up to 16 Alphanumeric extended characters. Case is preserved. If the service is not configured, the "(!)" mark is displayed beside the name.
DISA-CDOOutgoing called number for DISA CallBack. "#" or up to 20 digits optionally preceded by TON [u, i, n, o, s, h, c] and/or NP [x, e, d, t, l, p] attributes. See HELP ISDN ATTRIBUTES for details on attributes.
DISA-CGOOutgoing calling number for DISA CallBack. "#" or up to 20 digits optionally preceded by TON [u, i, n, o, s, h, c] and/or NP [x, e, d, t, l, p] and/or PI [a, r, m, q] and/or SI [y, v, w, z] attributes. See HELP ISDN ATTRIBUTES for details on attributes.
The following command allows the administrator to change the configuration of the resource:
s p vs   parameter:value... 
| ![[Caution]](../images/caution.png) | Caution | 
|---|---|
| To activate the changes made on the upper case parameters, execute the initialization command init res:vs; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command). | 
| ![[Tip]](../images/tip.png) | Tip | 
|---|---|
| Interesting chapter: Section 63.15, “Rio/Rvs configuration”. |