My final goal is to get the several seconds recordings associated with an Alarm that is generated by external code using protocol integration.
I created a User Defined event named DEMO
I have a rule that will record a video on DEMO event for the device from the metadata of the event.
Then when I create an Event with SOAP
```
event = factory.BaseEvent(**{
"EventHeader": {
"ID": uuid.uuid4(),
"Timestamp": datetime.now(),
"Type": 'DEMO',
"Priority": 1,
"PriorityName": "High",
"Name": "DEMO",
"Message": "EVENT TEST",
"Source": vms.\_compose\_source(camera\_guid)
}})
```
I send it by using AddEvent of Central/AlarmServiceToken?wsdl
Nevertheless, my rules do not triggers to record of a video.
When I create an Alarm directly by using the method Add of the same service I can see my alarm in SmartClient and the camera is correctly associated. But I don’t have a 3 second record from this camera , and It says No recording available when I double click the alarm in Alarm Manager.