fix for onvif event monitoring

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
sletteland
Posts: 3
Joined: Sun Jul 02, 2023 7:55 am

fix for onvif event monitoring

Post by sletteland »

Hello ZM dev team

Currently Onvif event monitoring does not work with my Reolink RLC-831A (and probably with most ONVIF cameras):

1) fixes bug with zmonvif-trigger.pl (Perl) :

zmonvif-trigger.pl is a Perl script that is supposed to monitor and forward
onvif events to ZM . Currently this does not wok as :
SOAP requests need to have a header containing "Action" "To" and "UIID" fields
as per ONVIF specifications (tested with Reolink rlc-831A)
This patch fixes that (creates proper SOAP headers ) .
It now works ( tested with Reolink rlc-831A)

2) fixes bug with zmonvif event loop (c++) :

SOAP requests need to have a header containing "Action! "To" and "UIID"
as per ONVIF specifications (tested with Reolink rlc-831A) .
Also a Renew request has to be send periodically (per specifications) .
There were some issues with timing also ...

fixes are against zoneminder 37.40 (dev master version )

A pull request has just been made 02/07/2023 11:21
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: fix for onvif event monitoring

Post by Magic919 »

You should join the Slack channel, if you haven’t already. The forum is pretty dead, but Slack is alive and well.
-
sletteland
Posts: 3
Joined: Sun Jul 02, 2023 7:55 am

Re: fix for onvif event monitoring

Post by sletteland »

I tried , i opened a slack account on https://slack.com/ (today) , i could not find the zoneminder chat room (or work space ) or what ever it is called .

the link on the web site : https://zoneminder-chat.herokuapp.com/ gives me :

Application error

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command


heroku ?? is it different from slack ???

Sorry , not very familiar with slack ......
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: fix for onvif event monitoring

Post by Magic919 »

Just follow the link via the Slack icon here https://zoneminder.com/
-
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: fix for onvif event monitoring

Post by iconnor »

I'm not seeing the pull request... did you make it to ZoneMinder/zoneminder?
Post Reply