Hello everyone. New to the forum. Nice to meet you.
Testing ONVIF event trigger on 1.37.37, after setting Monitor>ONVIF>ONVIF_URL to http://<ip>/onvif/device_service and activating ONVIF_Event_Listener, I get the following log entry:
zmc_m2 8531 ERR Couldn't do initial event pull! Error 12 Resource Unknown, <wsnt:ResourceUnknownFault><wsrf-bf:ErrorCode dialect="http://docs.oasis-open.org/wsrf/r-2"></ ... iption>the resource identified in the message is not known to the Web service.</wsrf-bf:Description></wsnt:ResourceUnknownFault> zm_monitor.cpp 1050
Camera is an imou IPC-TA42P-D and ONVIF events have been tested working on ONVIF official test tool.
Noticed that on zm_monitor.cpp line 1031, "/Event" is appended to the onvif_url. Not sure if that would break subscription for cameras with different service URL.
Any ideas would be welcome.
1.37.37 ONVIF events "resource not known"
Re: 1.37.37 ONVIF events "resource not known"
It might... are you able to determine the endpoint that the offiial tool uses?
Re: 1.37.37 ONVIF events "resource not known"
Full request URI for events is
http://<IP>/onvif/event_service
The ONVIF URIs for each service follow.
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/device_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver20/analytics/ws ... :Namespace>
<tds:XAddr>http://<IP>/onvif/analytics_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/imaging_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/media_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/ptz_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/event_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver10/deviceIO/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/deviceIO_service</tds:XAddr>
http://<IP>/onvif/event_service
The ONVIF URIs for each service follow.
<tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/device_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver20/analytics/ws ... :Namespace>
<tds:XAddr>http://<IP>/onvif/analytics_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/imaging_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/media_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/ptz_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/event_service</tds:XAddr>
<tds:Namespace>http://www.onvif.org/ver10/deviceIO/wsdl</tds:Namespace>
<tds:XAddr>http://<IP>/onvif/deviceIO_service</tds:XAddr>