Ph. Huwyler, 15.01.2017, v.1.3
26/26
15.
Gateway is not sending messages. Modem log reports "Error sending SMS:
No SMSC number given.":
If your gateway is not sending messages and in modem log you've got following error:
Wed 2016/03/09 17:01:26 gammu-smsd[2275]: Error sending SMS: No SMSC number given.
Provide it manually or use the one configured in phone. (EMPTYSMSC[31])
We suggest to put the SMSC number in sms daemon configuration, it should solve that issue.
To do so:
1) Log in via SSH (root/fly2thesky)
2) edit config file:
(modem #1) mcedit /etc/gammu-smsdrc1
(optional for modem #2) mcedit /etc/gammu-smsdrc2
3) At the bottom of the file add:
smsc = +417949999000
Please also add empty line at the end of the file.
4) save and exit (alt+f10)
5) Restart gammu daemon
killall gammu-smsd
(modem #1) gammu-smsd --daemon -c /etc/gammu-smsdrc1
(optional for modem #2) gammu-smsd --daemon -c /etc/gammu-smsdrc2