ervius: ###/etc/smsd.conf
devices = modem1
......
......
......
#################################### here ##
### add this foder with roght user permissions!
phonecalls = /var/spool/sms/phonecalls
###########################################
......
......
......
[modem1]
####################HERE
phonecalls = clip
voicecall_hangup_ath = yes
eventhandler = /usr/local/bin/smsd_eventhandler.sh
##########################################
#####usr/local/bin/smsd_eventhandler.sh
#!/bin/bash
if [ "$1" = "CALL" ]; then
####call script to execute here
fi
here the parts I use to handle incoming call... you can use to execute a external script...
|