Page 2
Document version: 3.2 The materials used in this publication are copyright and are not to be duplicated, copied, or used without the prior consent of the copyright holder. Technical specifications are subject to change without prior notice being given. Page...
GET READY TO START ........................6 What’s in The BOX ..........................7 Prepare for first start ........................... 8 USING OF SMSEAGLE ........................13 Get to know with Connectors, Ports and LEDs .................. 14 Basic Operations ..........................15 SMSEagle basic features ........................15 Phonebook ............................
Page 4
40. Phonebook contact update: JSONRPC method ............... 84 41. Phonebook contact delete: HTTP GET method ............... 85 42. Phonebook contact delete: JSONRPC method ................ 86 Plugins and integration manuals for NMS & Auth systems .............. 88 Connecting directly to SMSEagle database ..................89 Page...
Page 5
Injecting short SMS using SQL ......................89 Injecting long SMS using SQL ......................90 Database cleaning scripts ........................92 SNMP agent ............................93 Setting up SNMP v3 access control ....................96 Forwarding logs to external server ....................97 Automatic software updates checks ....................98 TROUBLESHOOTING ........................
Prepare for first start Your SMSEagle is designed so that you can set it up quickly and start using it right away. Follow the steps below to get started. Step 1: Connect GSM antenna Plug in GSM antenna connector to the device.
Page 9
Step 4: Configure IP settings Follow the steps below in order to the device first time using Ethernet – with initial factory settings on the device. SMSEAGLE DEFAULT NETWORK CONFIGURATION The following configuration is set on a device by default: IP address: 192.168.0.101...
Page 10
Example of computer IP configuration in Windows: b) V ERIFY YOUR CONNECTION Properly connected device should respond to the ping command. Example of ping after a proper connection to PC c) L SMSE OG IN TO AGLE Page...
Page 11
Open an internet browser on your PC and go to the address: 192.168.0.101 SMSEAGLE DEFAULT USER IS Username: admin Password: password Login to application with above username and password. d) C ONFIGURE SETTINGS Click on menu position “Settings” and navigate to tab “IP Settings”.
Page 12
Enter your IP settings. If you have DHCP server on your network you can choose “Get IP address from DHCP” – IP settings will be obtained automatically. Press “Save” button. e) S SIM-CARD PIN ETTING 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 >...
Get to know with Connectors, Ports and LEDs Element Label Description Connector 1 Power connector and serial ports Connector 2 Additional ports connector (not used) SIM Card Slot SIM card slot SD Card Slot Slot for additional SD/MMC card Ethernet Port Ethernet RJ45 socket Antenna Antenna socket...
SMSEagle is capable to work in various screen resolutions, making it accessible for wide range of devices: computers, laptops, tablets, smartphones, etc. Open a web browser on your device, type in SMSEagle’s IP address (as set in previous chapter). At login screen type in your username/password. Default username and password is given in chapter First Start.
Phonebook Web-GUI of SMSEagle device is equipped with Phonebook for managing contacts, groups and shifts. Each user can create private and public contacts, gather contacts in private and public groups. Contacts can also be optionally assigned to working shifts. Contacts and groups from Phonebook allows users efficient sending of messages.
Phonebook Working Shifts The Shift management feature allows to assign Phonebook contacts to working shifts. If a contact is assigned to any working shift, before sending a message the device will check if the contact is on a working shift. If the contact is not on shift the message will be skipped or moved to beginning of a next shift.
Statistics view The reporting module allows also to view daily statistics of sent/received messages. The statistics view displays number of messages per day and sender/receiver number. Screenshot of Statistics view in Reporting module Page...
Basic features of SMSEagle software are extended by plugins that provide extra features to the software. Below you will find a description of plugins available in each SMSEagle device. All plugins are an integral part of SMSEagle software. That means that all described plugins are installed in a standard software of SMSEagle device and are available for free.
SMSEagle is equipped with powerful (yet simple to use) network services monitoring features. With that features you can monitor any service that has listening port open. SMSEagle is trying to connect to each defined port in Network Monitoring feature and sends defined SMS alert when port is unavailable. Below you will find a brief overview of plugin capabilities.
Page 21
Control status of all your defined tasks see a settings’ overview for all of your tasks check which server/service is currently unavailable see when a specific server/service was last down (last downtime) check what happened at last downtime (see server/service response) ...
Page 22
choose ICMP (ping) to monitor a server with ICMP protocol or PORT (TCP/UDP) to monitor your service on a selected port (SMSEagle will check if port is open) or SNMP to monitor objects via SNMP protocol (supported return types: numeric, string) ...
Page 23
{TIMESTAMP} – timestamp of an error Receive SMS alerts be immediately alerted when your services/servers go down (or go up after failure) give yourself a chance to react quickly Go to our website www.smseagle.eu for more details of this plugin. Page...
SMSEagle phonebook. USING FQDN IN EMAIL ADDRESS It is also possible to use Fully Qualified Domain Name in an email address sent to SMSEagle box (eg.: 123456789@mydomain.com). Please refer to our FAQ article: How do I configure Email2SMS plugin to accept FQDN email addresses for more details.
Page 25
If you send email with subject containing FLAG=VALUE the flag will be set for this particular email2SMS message. Example 1: email message with subject containing modem_no=2 will be converted to SMS message and sent via modem number 2. Example 2: email message with subject containing date=201801010005&modem_no=2 will be converted to SMS message and sent on 2018-01-01 00:05 via modem number 2.
SMS message to +48333444555 mobile number. SEND TO USERNAME/GROUP If you want to send SMS to a contact or group from SMSEagle phonebook, put the contact/group name in SUBJECT field. Notice: Messages that are processed by Email2SMS Poller (but not deleted) are marked in the mailbox as read.
Page 27
PLUGIN CONFIGURATION Screenshot from Email to SMS Poller if you want to use the plugin, set ‘Enable Email2sms Poller’ to ‘Yes’ Set email fetching interval (in seconds) the text of an email will be cropped to the value ‘Maximum number of characters’. Maximum allowed length of SMS message is 1300 characters.
SMS to email of last sender (so called Two-way Email2SMS & SMS2Email) In this mode, when SMSEagle receives incoming SMS, it checks if earlier anyone was sending SMS to the number from incoming SMS using Emai2SMS. If last sender is found, the incoming SMS is forwarded to the email address of last sender.
Callback URL plugin allows you to forward incoming SMS message to a defined URL address. If the plugin is enabled, on each incoming SMS message SMSEagle will trigger HTTP request to a defined URL. HTTP request can be of type GET or POST.
Page 30
After sending HTTP GET/POST request to your callback URL, SMSEagle will be expecting HTTP response: 200 [OK]. If other or no response is received from your callback URL, SMSEagle will keep retrying every 2 minutes for 24 hours.
SMS Forward The plugin “SMS forward” allows to forward incoming SMS messages to one/may recipients according to defined rules. PLUGIN CONFIGURATION Plugin “SMS Forward” allows to add many forwarding rules. Each rule can be enabled or disabled by user. Screenshot from plugin main window For each rule user can define: ...
Periodic SMS The plugin “Periodic SMS” allows to send SMS messages or USSD codes at a desired time interval. User may define many sending rules, and each rule will be processed independently. PLUGIN CONFIGURATION Plugin “Periodic SMS” allows to add many sending rules. Each rule can be enabled or disabled by user. Screenshot from plugin main window For each rule the user can define: ...
OPEN CIRCUIT PLUGIN CONFIGURATION The plugin “Digital input/output” allows you to define rules that control the behaviour of digital inputs/outputs on SMSEagle device. User may define several processing rules for both inputs and outputs. Screenshot from plugin window DIGITAL INPUTS...
Page 34
The rule name Port number (1…7) State of input signal that will trigger sending of SMS message (field “When input signal”) SMS text (field “Send SMS message”) The recipients from phonebook (field “Send to”) Screenshot from digital input “Add or edit rule” window DIGITAL OUTPUTS For each processing rule for digital output user can define: ...
Page 35
Screenshot from digital output “Add or edit rule” window Page...
SMSEagle API SMSEagle has powerful built-in HTTP API functionalities. REST API is dedicated for integration of SMSEagle with any external system or application. Below you will find a detailed description of API functionalities. Please note, that SMSEagle API supports both HTTP and HTTPS protocol.
EXAMPLES: https://url-of-smseagle/index.php/http_api/send_sms? login=john&pass=doe&to=1234567&message=mymessage https://url-of-smseagle/index.php/http_api/send_sms? login=john&pass=doe&to=1234567&message=mymessage&date=201401152132 https://url-of-smseagle/index.php/http_api/send_sms? login=john&pass=doe&to=1234567&message=mymessage&highpriority=1 RESPONSE: Response: OK; ID=[ID of message in outbox] Sample response: OK; ID=297 Response (when wrong logindata): Invalid login or password Response (when wrong parameters): Wrong parameters RESPONSE (XML): Response: <xml> <message_id>[ID of message in outbox]</message_id>...
Page 38
HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms PARAMETERS: Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle recipient telephone number (or numbers separated with comma) message your SMS message date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year, mm –...
SMSEagle pass your password to login to SMSEagle groupname group name defined in your SMSEagle Phonebook. The group must be defined as Public message your SMS message date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year, mm –...
SMSEagle pass your password to login to SMSEagle groupname group name defined in your SMSEagle Phonebook. The group must be defined as Public message your SMS message date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year, mm –...
HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/send_tocontact Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle contactname contact name (or names separated by comma) defined in your SMSEagle Phonebook . Contacts must be defined as Public Page...
Page 42
(optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash message modem_no (optional parameter) sending modem number (only for multimodem devices) responsetype (optional parameter) text = format response as text (default), xml = format response as XML object EXAMPLES: https://url-of-smseagle/index.php/http_api/send_tocontact? login=john&pass=doe&contactname=johndoe&message=mymessage https://url-of-smseagle/index.php/http_api/send_tocontact? login=john&pass=doe&contactname=johndoe&message=mymessage&date=20140115 2132 https://url-of-smseagle/index.php/http_api/send_tocontact? login=john&pass=doe&contactname=johndoe&message=mymessage&highpriority= RESPONSE: Response: OK;...
SMSEagle pass your password to login to SMSEagle contactname contact name defined in your SMSEagle Phonebook. The contact must be defined as Public message your SMS message date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year, mm –...
{"result": [{"error_text":"Invalid contact name – contact_name]","status":"error"}]} Response (when wrong parameters): {"result": {"error_text":"Wrong parameters","status":"error"}} 7. Send USSD code: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/send_ussd PARAMETERS: Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle Page...
(optional parameter) sending modem number (only for multimodem devices) responsetype (optional parameter) text = format response as text (default), xml = format response as XML object EXAMPLES: https://url-of-smseagle/index.php/http_api/send_ussd? login=john&pass=doe&to=*101%23 RESPONSE: Response: OK; ID=[ID of message in outbox] Sample response: OK; ID=297...
HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms PARAMETERS: Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle USSD code modem_no (optional parameter) sending modem number (only for multimodem devices) responsetype (optional parameter) text = format response as text (default), xml = format...
Page 47
(optional parameter) sending modem number (only for multimodem devices) responsetype (optional parameter) text = format response as text (default), xml = format response as XML object EXAMPLES: https://url-of-smseagle/index.php/http_api/send_binary_sms? login=john&pass=doe&to=1234567&udh=0605040B8423F0&data=EA0601AE02056A00 45C60C037777772E736D736561676C652E657500080103534D534561676C65000101 RESPONSE: Response: OK; ID=[ID of message in outbox] Sample response: OK; ID=297 Response (when wrong logindata): Invalid login or password Response (when wrong parameters): Wrong or missing >>udh<<...
HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms PARAMETERS: Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle recipient telephone number (or numbers separated with comma) (optional parameter) UDH header for the message (in hex format) data...
"status":"error"}} Read SMS: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/read_sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle folder one of the following: inbox, outbox, sentitems idfrom (optional parameter) minimal message-id from...
Page 50
Show messages from sentitems folder with receiver phone number 7654321 and datetime from 2014-12-24 08:10:00 to 2014-12-31 23:59:59: https://url-of-smseagle/index.php/http_api/read_sms? login=john&pass=doe&folder=sentitems&to=7654321&datefrom=20141224081000 &dateto=20141231235959 RESPONSE: Sample responses: inbox folder, sentitems folder Response (when no data): No data to display Response (when wrong logindata): Invalid login or password...
</xml> 12. READ SMS: JSONRPC METHOD HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle folder one of the following: inbox, outbox, sentitems idfrom (optional parameter) minimal message-id from...
Page 52
EXAMPLES: Show all messages from inbox: {"method":"sms.read_sms", "params":{"login":"john","pass":"doe","folder":"inbox"}} Show all unread messages from inbox: {"method":"sms.read_sms", "params":{"login":"john","pass":"doe","folder":"inbox","unread":"1"}} Show messages from sentitems folder with id=1234 and higher. Limit number of messages to 5: {"method":"sms.read_sms", "params":{"login":"john","pass":"doe","folder":"sentitems","idfrom":"12 34","limit":"5"}} Show messages from inbox folder with sender phone number +481234567: {"method":"sms.read_sms", "params":{"login":"john","pass":"doe","folder":"inbox","from":"...
","status":"error"}} 13. Delete SMS: HTTP GET method HTTP GET METHOD https://url-of-smseagle/index.php/http_api/delete_sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle folder one of the following: inbox, outbox, sentitems idfrom minimal id of message...
</xml> 14. Delete SMS: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle folder one of the following: inbox, outbox, sentitems idfrom minimal id of message idto...
15. Get outgoing queue length: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/get_queue_length Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle responsetype (optional parameter) text = format response as text (default), xml = format response as XML object EXAMPLES: https://url-of-smseagle/index.php/http_api/get_queue_length?
HTTP POST METHOD CALL: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle responsetype (optional parameter) simple = format response as simple object with one result field (default), extended = format response as extended JSON object BODY: {"method":"sms.get_queue_length",...
SMSEagle pass your password to login to SMSEagle responsetype (optional parameter) text = format response as text (default), xml = format response as XML object EXAMPLES: https://url-of-smseagle/index.php/http_api/get_inbox_length? login=john&pass=doe RESPONSE: Response: [number of messages in database Inbox folder]...
Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle responsetype (optional parameter) simple = format response as simple object with one result field (default), extended = format response as extended JSON object EXAMPLES: {"method":"sms.get_inbox_length",...
HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle responsetype (optional parameter) simple = format response as simple object with one result field (default), extended = format response as extended JSON object EXAMPLES: {"method":"sms.get_sentitems_length",...
21. Get GSM/3G signal strength: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/get_gsmsignal Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle modem_no (optional parameter) modem number to be queried (default = 1). Used only in multimodem devices...
22. Get GSM/3G signal strength: JSONRPC method HTTP POST METHOD CALL: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle modem_no (optional parameter) modem number to be queried (default = 1). Used only in multimodem devices...
23. Phonebook group create: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/group_create Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle groupname name for the created group public (optional parameter) 0 = private group, 1 = public group...
24. Phonebook group create: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle groupname name for the created group public (optional parameter) 0 = private group, 1 = public group...
HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/group_read Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle public (optional parameter) 0 = private group (default value), 1 = public group (optional parameter) id of user who created the group...
HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle public (optional parameter) 0 = private group (default value), 1 = public group (optional parameter) id of user who created the group...
{"result": {"error_text":"Wrong or missing >>public<< parameter","status":"error"}} 27. Phonebook group update: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/group_update Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle group_id id of existing group groupname name for the group public...
<error_text>Wrong or missing >>group_id<< parameter</error_text> <status>error</status> </xml> Response (when group_id is wrong): <xml> <error_text>Group with the given id does not exists</error_text> <status>error</status> </xml> 28. Phonebook group update: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle Page...
SMSEagle group_id id of existing group groupname name for the group public (optional parameter) 0 = private group, 1 = public group responsetype (optional parameter) simple = format response as simple object with one result...
Page 71
(optional parameter) text = format response as text (default), xml = format response as XML object EXAMPLES: https://url-of-smseagle/index.php/http_api/group_delete? login=john&pass=doe&group_id=2&groupname=myusers RESPONSE: Response: OK Response (when wrong logindata): Invalid login or password Response (when wrong parameters): Wrong or missing >>groupname<<...
30. Phonebook group delete: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle group_id id of existing group groupname name of existing group responsetype (optional parameter) simple = format response as simple object with one result...
31. Phonebook group add contact: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/group_addcontact Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle group_id id of existing group (or id’s separated with comma) contact_id id of contact. The contact will be added to the group...
32. Phonebook group add contact: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle group_id id of existing group (or id’s separated with comma) contact_id id of contact. The contact will be added to the group...
33. Phonebook group remove contact: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/group_removecontact Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle group_id id of existing group (or id’s separated with comma) contact_id id of contact. The contact will be removed from the group...
34. Phonebook group remove contact: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle group_id id of existing group (or id’s separated with comma) contact_id id of contact. The contact will be removed from the group...
35. Phonebook contact create: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/contact_create Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle contactname name for the created contact number telephone number for the created contact...
</xml> 36. Phonebook contact create: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle contactname name for the created contact number telephone number for the created contact...
HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/contact_read Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle public (optional parameter) 0 = private contacts (default value), 1 = public contacts (optional parameter) id of user who created the contact...
Page 80
EXAMPLES: https://url-of-smseagle/index.php/http_api/contact_read? login=john&pass=doe&public=1&uid=12 RESPONSE: Sample response: link Response (when no data): No data to display Response (when wrong logindata): Invalid login or password Response (when wrong parameters): Wrong or missing >>uid<< parameter Wrong or missing >>public<< parameter RESPONSE (XML): Sample response: <xml>...
HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle public (optional parameter) 0 = private contacts (default value), 1 = public contacts (optional parameter) id of user who created the contact...
{"result": {"error_text":"Wrong or missing >>public<< parameter","status":"error"}} 39. Phonebook contact update: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/contact_update Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle contact_id id of existing contact contactname name for the contact number...
Page 83
EXAMPLES: https://url-of-smseagle/index.php/http_api/contact_update? login=john&pass=doe&contact_id=4&contactname=johnlord&number=123456789& public=1 RESPONSE: Response: OK Response (when wrong logindata): Invalid login or password Response (when wrong parameters): Wrong or missing >>contactname<< parameter Wrong or missing >>contact_id<< parameter Wrong or missing >>number<< parameter Response (when contact_id is wrong): Contact with the given id does not exists...
40. Phonebook contact update: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle contact_id id of existing contact contactname name for the contact number phone number for the contact...
41. Phonebook contact delete: HTTP GET method HTTP GET METHOD: https://url-of-smseagle/index.php/http_api/contact_delete Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle contact_id id of existing contact contactname name of existing contact responsetype (optional parameter) text = format response as text (default), xml = format...
<status>error</status> </xml> 42. Phonebook contact delete: JSONRPC method HTTP POST METHOD: https://url-of-smseagle/index.php/jsonrpc/sms Parameter Description login your user to login to SMSEagle pass your password to login to SMSEagle contact_id id of existing contact contactname name of existing contact responsetype (optional parameter) simple = format response as simple object with one result...
Page 87
{"result": {"error_text":"Wrong or missing >>contact_id<< parameter","status":"error"}} Response (when contact_id is wrong): {"result": {"error_text":"Contact with the given id and name does not exists","status":"error"}} Page...
SMSEagle has a number of ready-to-use plugins and integration manuals for an easy and quick integration of SMSEagle device with external software (Network Monitoring Systems, Authentication Systems and other). The list grows constantly and is published on SMSEagle website. For a complete and up-to-date list of plugins please go to: http://www.smseagle.eu/integration-plugins/...
Connecting directly to SMSEagle database SMSEagle’s database operates on PostgreSQL database engine. It is possible to connect to the database from external application using the following credentials: OSTGRE DATABASE CREDENTIALS Host: IP address of your SMSEagle Database name: smseagle User: smseagleuser...
Injecting long SMS using SQL Inserting multipart messages is a bit more tricky, you need to construct also UDH header and store it hexadecimally written into UDH field. Unless you have a good reason to do this manually, use API. For long text message, the UDH starts with 050003 followed by byte as a message reference (you can put any hex value there, but it should be different for each message, D3 in following example), byte for number of messages (02 in example, it should be unique for each message you send to same phone...
Page 91
id_user ) SELECT CURRVAL(pg_get_serial_sequence('outbox','ID')), Note: Adding UDH means that you have less space for text, in above example you can use only 153 characters in single message. Page...
Database cleaning scripts We have added some useful scripts which may be used to delete SMS messages from database through Linux CLI. Scripts are located at following directory: /mnt/nand-user/scripts/ db_delete – script for deleting SMS from folders Inbox, SentItems older than provided date. Usage: ./db_delete YYYYMMDDhhmm ...
IP networks. It is used mostly in network management systems to monitor network-attached devices for conditions that warrant administrative attention” (source: Wikipedia). SMSeagle device has a built-in Net-SNMP agent. The SNMP agent provides access to Linux Host MIB tree of the device, and additionally (using extension NET-SNMP-EXTEND-MIB) allows access to custom metrics specific to SMSEagle.
Page 94
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."GSM_Signal" If your chosen SNMP tool cannot access NET-SNMP-EXTEND-MIB objects, you can download MIB definitions from: http://www.smseagle.eu/download/NET-SNMP-EXTEND-MIB.txt READING RESULT VALUES In order to test-read the parameter values from SNMP agent you can use any tools available for SNMP protocol (for example: NET-SNMP library for Linux or iReasoning MiB-Browser for Windows).
Page 95
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (216622) 0:36:06.22 Comment: Linux system is up for 36 hours, 6.22 minutes EXAMPLE OF BROWSING SMSEAGLE EXTENSION PARAMETERS IN MIB TREE USING NET-SNMP LIBRARY a) Command for reading the result value: snmpwalk -v 2c -c public ip-of-smseagle .1.3.6.1.4.1.8072.1.3.2.3.1.2 Result: NET-SNMP-EXTEND-MIB::nsExtendOutputFull."GSM_Signal"...
EXAMPLE OF BROWSING SMSEAGLE EXTENSION PARAMETERS IN MIB TREE USING MIB-BROWSER Setting up SNMP v3 access control By default SMSEagle devices uses SNMP v2 access control. Using v3 can strengthen security, however is not obsolete. To ease switch to SNMP v3 access control we’ve prepared special shell script located at /mnt/nand-user/smseagle directory.
Forwarding logs to external server Our devices runs rsyslog for log managing. Here we describe how to configure additional rules for rsyslog daemon: rsyslogd. This is only a brief excerpt from rsyslog manual website. Full information is available at: http://www.rsyslog.com/ Rsyslogd configuration is managed using a configuration file located at /etc/rsyslog.conf ...
Automatic software updates checks SMSEagle software is under process of continual improvement. We listen to our customers, and new releases are based on our customer’s inputs/requests. Software updates are released frequently, and offer access to new features and fixes to reported issues. Web-GUI offers you a possibility to automatically check for new software updates.
Not used Checking the device logs SMSEagle operates on Linux system. Linux system log is available under menu position “Settings” > “Logs”. In case of any problems with the device this log is a valuable source of troubleshooting information. Please attach information from this log when contacting with SMSEagle Support Team.
Restoring factory defaults This action restores the following settings to default values: IP settings, database content. In order to restore factory defaults proceed with the following steps: LED signaling USER actions System reaction When the device is ready to operate: When READY LED is blinking and USER LED is disabled (do not...
60-650 Poznan, Poland WHEN CONTACTING SUPPORT TEAM, BE PREPARED TO PROVIDE THE FOLLOWING INFORMATION: System Information To get information about your SMSEagle, go to menu Settings > Maintenance. You will find there information about application and database version. System Logs Go to menu Settings >...
Technical Specifications Hardware Specification Processor type: ARM9 32bit 200MIPS RISC Network interface: Ethernet 10/100 TX (1xRJ45) 1GB Flashdisk RTC Clock: RTC 240B SRAM, Watchdog timer Power consumption: max 17W Noise level: Fanless Dimensions: (width x depth x height) 35 x 120 x 101 mm ...
Page 106
Outgoing transmission rate: up to 20 SMS/min API send SMS requests: 30 SMS/min (messages are queued for sending in a built-in database) Software Platform Operating system: Linux 2.6 built-in Apache2 web server built-in PostgreSQL database server ...
Important Safety Information This chapter provides important information about safety procedures. For your safety and that of your equipment, follow these rules for handling your device. WARNING: Incorrect storage or use of your device may void the manufacturer’s warranty. Failure to follow these safety instructions could result in fire, electric shock, or other injury or damage.
Need help?
Do you have a question about the NPE-9300-GPRS/3G and is the answer not in the manual?
Questions and answers