ZM and phone notifications

Support and queries relating to all previous versions of ZoneMinder
dma_k
Posts: 27
Joined: Sat Jan 19, 2013 5:58 pm

Re: ZM and phone notifications

Post by dma_k »

mrd wrote:ZM can do everything you have suggested already by using custom scripts that execute based on a filter.
But how to pass substituted (based on template) message to another program? Or it is fed to STDIN of the script which I define in filter settings?
dma_k
Posts: 27
Joined: Sat Jan 19, 2013 5:58 pm

Re: ZM and phone notifications

Post by dma_k »

How is it possible to execute a program and somehow pass %EI%, %EN%, … as arguments or as substituted template to STDIN? What is passed now, is only $event_path.
Locked