FoxBox arrow How-to arrow Wakeup calls
English
Wakeup call after sent message PDF Print E-mail

This article illustrates how to configure your Foxbox to receive a miss-call everytime an SMS is sent

 

To configure the device you just have to refer to two very known configuration files. The first thing is to modify the eventhandler (/etc/sms/scripts/), in order to start the calling procedure everytime the event happens, adding these rows under 'if [ "$1" = "SENT" ]; then':

if [ "$2" != "/mnt/flash/spool/sent/dial.txt" ]; then

        echo "From: dialing" > /mnt/flash/spool/outgoing/dial.txt

        echo "To: #YOURNUM#" >> /mnt/flash/spool/outgoing/dial.txt

        echo "Voicecall: true" >> /mnt/flash/spool/outgoing/dial.txt

        echo "" >> /mnt/flash/spool/outgoing/dial.txt

        echo "TONE: 1,2" >> /mnt/flash/spool/outgoing/dial.txt

fi

where #YOURNUM# is the phone number to contact.

Note: In this way the eventhandler will do the wakeup call for every message sent, if you are interested in the received ones just add this code under 'if [ "$1" = "SENT" ]; then'.
 

Now, the second and last configuration is to be done in /etc/smsd.conf. In order to activate this feature on the modem we will add this row to the "Modem properties":

phonecalls = yes

 

The configuration is now complete! Everytime a message is sent, the mobile phone associated to #YOURNUM# will receive a wakeup call.

 
< Prev   Next >

buy foxbox
buy on FoxBox eShop



For further info contact us by mail This e-mail address is being protected from spam bots, you need JavaScript enabled to view it providing us the FoxBox model you need and your company details.

KDEV di Davide Cantaluppi, P.IVA 02984320131

http://www.kdev.it