Zoneminder + Gnokii - how to set up a voicecall an event ?
Posted: Wed Jun 02, 2010 6:50 pm
Good day everyone. Im noob in Linux, will be very grateful community for help or advice.
Description of my problem:
Ubuntu 9.04 + Zoneminder 1.24.2 + Gnokii 0.6.26 + USB-connected camera.
It works correctly, in the mode Modect was succesfully created events.
The Apache user "www-data" have all permissions and successfully performed the call to the specified number:
$gnokii --dialvoice "mynumber"
The script "zmcall.sh"
----------------------------------------------
#!/bin/sh
/usr/bin/gnokii --dialvoice "mynumber"
date > /tmp/somefile.log
echo "I was called as $@" >> /tmp/somefile.log
----------------------------------------------
placed in the folder /usr/share/zoneminder,
that script, folder and my phone/dev/ttyACM0 have permissions chmod 777
In interface of Zoneminder I create a filter:
The filter is saved and running in background.
But when camera in mode "Modect" create events, created filter does not work = call to the number, witch specified in the script, does not occur.
Anybody have implemented successfully a bunch Zoneminder + Gnokii?
What I missed or make wrong?
Thanx to All.
Description of my problem:
Ubuntu 9.04 + Zoneminder 1.24.2 + Gnokii 0.6.26 + USB-connected camera.
It works correctly, in the mode Modect was succesfully created events.
The Apache user "www-data" have all permissions and successfully performed the call to the specified number:
$gnokii --dialvoice "mynumber"
The script "zmcall.sh"
----------------------------------------------
#!/bin/sh
/usr/bin/gnokii --dialvoice "mynumber"
date > /tmp/somefile.log
echo "I was called as $@" >> /tmp/somefile.log
----------------------------------------------
placed in the folder /usr/share/zoneminder,
that script, folder and my phone/dev/ttyACM0 have permissions chmod 777
In interface of Zoneminder I create a filter:
The filter is saved and running in background.
But when camera in mode "Modect" create events, created filter does not work = call to the number, witch specified in the script, does not occur.
Anybody have implemented successfully a bunch Zoneminder + Gnokii?
What I missed or make wrong?
Thanx to All.