HI
First i would thanks all for the excellent job you made concerning traccar server.
I got a quick question regarding events alarm and email sending.
I would like that events alarm send email to internal mail root as i would monitor email fo this account and then launch specific script reagrding specific alarm.
To be more clear i would that by example
when GPS enter or exit geoFence , an email is sending to root linux account
A daemon script monitor email of root
Script detect email of this alarm and detect is a entering geofence
Then script launch another php script that will (using twilio API) perform a phone call to specific contact.
My goal is to get phone call establish when specific alarm is detected by tracar.
I hope my question is clear but don't hesitate to ask for more if it s not the case
KR
Traccar needs SMTP server for email notifications, but it sounds like for your case forwarding would work much better. You just need some scripts to listen to forwarded events.
Hi thanks for your response.
By forwarding do you mean using these entry in traccar.xml ?
<entry key='event.forward.enable'>true</entry>
<entry key='event.forward.url'>http://www.yourwebsite.com/your_listen_function.php</entry>
HI
First i would thanks all for the excellent job you made concerning traccar server.
I got a quick question regarding events alarm and email sending.
I would like that events alarm send email to internal mail root as i would monitor email fo this account and then launch specific script reagrding specific alarm.
To be more clear i would that by example
when GPS enter or exit geoFence , an email is sending to root linux account
A daemon script monitor email of root
Script detect email of this alarm and detect is a entering geofence
Then script launch another php script that will (using twilio API) perform a phone call to specific contact.
My goal is to get phone call establish when specific alarm is detected by tracar.
I hope my question is clear but don't hesitate to ask for more if it s not the case
KR