background image

 

 

 

 
 

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 

 

 

Summary of Contents for SMS EAGLE

Page 1: ...SMS EAGLE for SAUTER device ...

Page 2: ...SMS Eagle API 9 External Software integration 9 Basic usage of the E Mail To SMS plugin 9 SAUTER device software configuration examples 10 4 Preamble 10 5 moduWeb 11 6 moduWebVision 13 7 SAUTER Vision Center 15 8 SAUTER novaPro Open with AAM 17 NETWORK MONITOR 19 9 Define what you want to monitor 19 10 Define a schedule 19 11 Control a status of your tasks 19 12 Define a SMS alert message 20 SMS E...

Page 3: ...l functionalities SMS Eagle has easy to use API for integration with external applications Main arguments Sending SMS without Internet connection If you want to be sure that your SMS will get through even if your Internet connection fails SMS Eagle hardware SMS gateway sends SMS directly to GSM network without using Internet connection Cost control SMS Eagle device uses your SIM card This allows y...

Page 4: ...d Step 1 Connect GSM antenna Plug in GSM antenna connector to the device Step 2 Insert SIM Card Please install SIM Card when the device is SWITCHED OFF SIM Card slot is located at the bottom of the device Use a ball pen or small screwdriver to eject SIM Card tray Insert card into tray and push it gently into slot Step 3 Power the device The device is powered with AC DC power supply adaptor deliver...

Page 5: ... connect a keyboard to USB port note cables are not provided login to the SSH console using root credentials these were provided with your device edit configuration file with command mcedit mnt nand user SMS Eagle syscfg change the following lines HOST_IP set IP address for your device GW_IP default gateway IP address NET_MASK set subnet mask START_DHCP Y set to START_DHCP N to disable DHCP client...

Page 6: ...e DHCP server Enter your IP settings Press Save button E SETTING SIM CARD PIN NUMBER This step should ONLY be done if your SIM card requires PIN If your SIM card requires PIN number at startup go to Settings Maintenance Tab Enter your PIN number in the field SIM Card PIN Press Save button F REBOOT THE DEVICE Go to Settings Maintenance Tab Press Reboot button ...

Page 7: ...e not included USB port USB USB port cable not included Ethernet Port ETH Ethernet RJ45 socket Antenna ANT Antenna socket Power LED PWR LED indicating power on User LED USER LED for user application purpose not used SIM1 2 LEDs 3G modem 1 3G modem 2 optional LED indicator for modem status Ready LED RDY LED indication device status Reset RST Switch for rebooting the device User Switch SW Switch for...

Page 8: ... watchdog installed automatic modem health control Failover support HA cluster of 2 devices Monitoring services eg Web server Mail server and sms alerting Sending Receiving Throughput Incoming transmission rate up to 30 SMS min Outgoing transmission rate up to 20 SMS min API send sms requests up to 60 SMS min messages are queued for sending in a database 3 Plugins Autoreply plugin If the plugin is...

Page 9: ...u for the details of this feature SMS Eagle API SMS Eagle has some powerful built in API functionalities With API you can use the device to send and receive messages from any external system or application For the detailed description of API functionality go to our internet site http www SMS Eagle eu api External Software integration SMS Eagle has a number of ready to use plugins for integration w...

Page 10: ...r http www SMS Eagle eu email to sms SAUTER device software configuration examples 4 Preamble The following points has to be configured before you begin configuring a SAUTER device SMS EAGLE network settings ip address The SMS EAGLE plugin E Mail To SMS is enabled Please read first the chapter Basic usage of the E Mail To SMS plugin The SAUTER device can reach the SMS EAGLE device on the ethernet ...

Page 11: ...t has been done with moduWeb firmware version 2 8 0 Define the recipient e mail address in the moduWeb user settings Set the SMS EAGLE ip address as smtp server address in the moduWeb Notification Setting Server Settings Send a test e mail via the moduWeb website ...

Page 12: ...Ph Huwyler 15 01 2017 v 1 3 12 26 Verify the outgoing mail to sms notification in the SMS EAGLE Outbox or Sent Items ...

Page 13: ...mat and does not accept an ip address as Fully Qualified Domain Name FQDN It is also possible to use FQDN in an email address sent to SMS Eagle box eg 123456789 sms eagle To do this please read the chapter How to use SMS EAGLE with FQDN To avoid using a FQDN we will use the SMS functionality of moduWeb Vision Set the smtp server settings for moduWeb Vision SMTP server ip ip address from the SMS EA...

Page 14: ...e we will use a placeholder as mobile phone and the ip address of the SMS EAGLE device as FQDN Configure the mobile phone number of the moduWeb Vision users you want to send SMS to and send a test SMS e mail Verify the outgoing mail to sms notification in the SMS EAGLE Outbox or Sent Items ...

Page 15: ...es 7 SAUTER Vision Center The following test has been done with SVC software version 4 0 Define the recipient e mail address in the SVC user settings Define smtp settings SMTP address is the ip address of the SMS EAGLE device Check the smtp server connection ...

Page 16: ...Ph Huwyler 15 01 2017 v 1 3 16 26 The test mail should be listed in the SMS EAGLE outbox or sent items Test from filter rules The test mail should be listed in the SMS EAGLE outbox or sent items ...

Page 17: ...26 8 SAUTER novaPro Open with AAM The following test has been done with nPO software version 3 1 Define the recipient e mail address in the nPO user settings Define smtp settings SMTP address is the ip address of the SMS EAGLE device ...

Page 18: ...Ph Huwyler 15 01 2017 v 1 3 18 26 Send a Test alarm and check in the SMS EAGLE sent item ...

Page 19: ...lt we set it to 30 seconds 10 Define a schedule choose if task should be always enabled or disable it in chosen times during a night when a machine goes through planned restarts during resource intensive backups etc enter a phone number or choose a group of users to send your SMS alert to select when to send SMS alert when host service goes down when host service goes up after failure 11 Control a...

Page 20: ...sponse from server service TIMESTAMP timestamp of an error SMS EAGLE Database SMS EAGLE has a built in PostgreSQL database server To connect the database server you can use e g the pgAdmin Software https www pgadmin org SMS Eagle s database operates on PostgreSQL database engine It is possible to connect to the database from external application using the following credentials POSTGRESQL DATABASE ...

Page 21: ...Ph Huwyler 15 01 2017 v 1 3 21 26 ...

Page 22: ... EAGLE with FQDN How to use SMS EAGLE with FQDN can also be found on the SMS EAGLE FAQ https www SMS Eagle eu support kb faq php id 40 https www SMS Eagle eu support kb faq php id 3 The step one can be done with a DNS Server As example this service could be achieved by a network firewall like a ZyXEL USG device Example of DNS FQDN linking with an ip address on a ZyXEL USG 50 Firewall ...

Page 23: ...Ph Huwyler 15 01 2017 v 1 3 23 26 The step 2 5 can be achieved with an SSH client such as Putty http www putty org ...

Page 24: ...Eagle eu support kb index php 14 Useful commands for SMS EAGLE CLI using SSH Kill all processes daemon from sms server root smseagle killall gammu smsd Start sms server daemon root smseagle gammu smsd daemon Restart web server Apache2 root smseagle apachectl restart Flush email buffer root smseagle postfix flush Empty the mail buffer root smseagle postsuper d ALL postsuper Deleted 6782 messages ch...

Page 25: ... 37 gammu smsd 21449 Transmitted 4707 part 1 to 0796369859 Tue 2016 05 31 10 25 44 gammu smsd 21449 SMS sent on device dev ttyS1 status 0 reference 36 Tue 2016 05 31 10 25 44 gammu smsd 21449 Transmitted 4707 total 2 to 0796369859 Tue 2016 05 31 10 25 52 gammu smsd 21449 Message Ledunfly Ledunfly 5eme et 6eme etage Route de la petite prairie 1260 NYON Tue 2016 05 31 10 28 02 gammu smsd 5681 checks...

Page 26: ...figured 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 d...

Reviews: