Operating system name and version: linux
Version of smsd: 3.1.6
Smsd installed from: sources
Name and model of a modem / phone:
Interface: serial
in smsd.conf , i write
eventhandler = /usr/local/php/bin/php -f /data0/apache/share/htdocs/html/ev.php
it seems that the script does not work .
I read the manual about 'eventhandler' , it says the script that will execute whenever a message was sent, received or failed.
my question is ;
1, How can I catch the exact event , for example ,i just want to catch the 'sent' event without received and failed event.
2,Is there any problems in the line of eventhandler in smsd.conf I wrote above ?
3,what's the parameter of the php scripts ? I try to use $argv[1] to get it ,but it seems failed. .