Hi Chris thanks for replying!
Well I tested the messagesend manually and it works, but somehow nothing happens with the "phone detected" event.
I tryed to run the script manually (./HandleMODetected.sh) and nothing happens either.
A friend of mine told me that if I created the .sh file in windows I should convert it to a unix format unis "dos2unix". I found a conversion utility online and tryed that also. Heres my script just in case I have something wrong:
#!/bin/bash
FCodesSent=/tmp/pluto_codes_sent
## If the file doesn't exist
if [[ ! -f "$FCodesSent" ]]; then
touch $FCodesSent
# send message to receiver
/usr/pluto/bin/MessageSend dcerouter 0 38 1 317
fi
I really dont know what else to do :?
If you think of something please let me know.
Thanks
Martin