Client billing integration
Camera provisioning automation (i.e., billing redirect) requires a firmware update from Flussonic Agent. Flussonic Agent is an optional module within the Watcher software system that automates the camera activation process through the client billing. This module establishes a secure tunnel between cameras and Watcher that allows connecting through NAT, and also it improves the video transport stability. Firmware modification can be customized for each client's camera model.
When the very first connection is established between a camera and Agent, a request is sent to the provisioning server (i.e., activation server). It redirects Agent to the client’s server that has Watcher up and running.
After sending a request to the activation server, Agent generates a CSV and exports it to a client billing system. The export URL should be predefined.
The list of CSV attributes, sent from the Flussonic activation server to the client billing:
The activation server sends information to the client billing to create new objects for each camera. It will append new cameras to others currently registered in the billing system. Another camera registration system can also be used instead of the standard billing. The agent_serial parameter is used for camera registration.
After the registration, other attributes can be added per camera object on the client billing side.
Client-side billing CSV Attributes:
Note: These attributes are not transmitted.
The user should develop the mechanism of billing plans and other logic that will affect access to the file and settings, and to a certain video archive’s depth.
After you apply these settings (owner, dvr_depth, enabled, access), the data on all cameras and users will be automatically pushed to a CSV file here by the following:
http(s)://YOUR-WATCHER-URL/vsaas/api/interchange/usercameras?x-vsaas-api-key=(obtain the key in the Watcher settings)
User information also should be exported along with the camera information. User CSV Attributes: http(s)://YOUR-WATCHER-URL/vsaas/api/import/users
It’s possible to add cameras with users before activation. The process is described below:
1) Add a camera to the client billing (or another registration system) as an item with the attribute: agent_serial (serial number on a camera box). The following attributes should be set on the camera purchasing step:
2) Then, when a technician turns on the camera in the client’s home, the camera sends a request to the activation server, receives necessary activation attributes, then pushes the gathered information to the CSV file in the client billing. It will append new items based on the agent_serial attribute for previously added cameras.
3) When you have the camera information, it will be updated automatically.