How can we help?

Disable incoming SMS messages


To disable incoming SMS messages and automatically hangup incoming calls:

1. Log in via SSH to the SMSEagle

2. Edit config
nano /etc/gammu-smsdrc1
/etc/gammu-smsdrcX (* for multimodem device. Replace X with modem number)

3. Add new lines in [smsd] section:
receive = false
hangupcalls = 1

It should look similar like this:

# PIN for SIM card
logfile = /var/log/gammu/smsd1.log (*or smsd2.log for second modem)
debuglevel = 1
runonreceive = /mnt/ramdisk/www/scripts/
receive = false

4. Save file and exit

5. Restart modem software

a) Enter webGUI > tab Maintenance
b) disable selected Modem and press "Save" button
c) enable selected Modem and press "Save" button




Was this article helpful?
2 out of 3 found this helpful