How could I send the camera guid instead of the camera ip?
With the IP works:
<Name>10.88.79.99</Name>
But not with the guid
<FQID>
<ObjectId>d299945f-09ce-4f1e-9dc6-2e8e85baa1e1</ObjectId>
</FQID>
Error:
<AlarmServiceFault xmlns="[http://schemas.datacontract.org/2004/07/VideoOS.Platform.Proxy.Alarm](http://schemas.datacontract.org/2004/07/VideoOS.Platform.Proxy.Alarm)" xmlns:i="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)">
<ErrorDescription>Unhandled exception: System.ArgumentException: Invalid alarm
at VideoOS.Event.Server.Event.RuleEngine.ProcessAlarm(Alarm alarm)
at VideoOS.Event.Server.WebService.Alarm.AlarmCommandToken.Add(String token, Alarm alarm)
<ErrorReason>Unknown</ErrorReason>
</AlarmServiceFault>
Rik
(Rie Kiuchi (Milestone Systems))
January 19, 2022, 3:21pm
2
We tested your code and works fine for us.
In our experience in most cases, it fails to work because analytics events are not enabled, but then it would not work when using camera IP. Network connection failure or firewall blocking is the same, it would never work, not when using IP either.
Please test using the TriggerAnalyticsEventXml sample unmodified.
https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/triggeranalyticseventxml/readme.html&tree=tree_3.html
My question is about the Analytics Event and MAD protocol not Analytic Events
(endpoint http://videoos.net/2/CentralServerAlarmCommand/IAlarmCommandToken/Add )
Rik
(Rie Kiuchi (Milestone Systems))
January 21, 2022, 9:56am
4
Thanks! works with all the data
<Id>bd844306-b6d9-547f-81f2-a84f5c8b2a7f</Id>
</ServerId>
d299945f-09ce-4f1e-9dc6-2e8e85bbb1e1
5135ba21-f1dc-4321-806a-6ce2017343c0