SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Mon Oct 26, 2020 07:07
SMSTools3 Community » Help and support Bottom

[answered] Sending sms from a specific modem

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Nov 2014
Location: Ukraine
Ubuntu 16.04
Version of smsd: 3.1.20
Smsd installed from: sources
Name and model of a modem: ZTE FM192
Interface: USB

smsd.conf:
devices = modem_1, modem_2

[modem_1]
device = /dev/modems/modem_1

[modem_2]
device = /dev/modems/modem_2
 
'smsdconf' Syntax Highlight powered by GeSHi


I need to send SMS with modem_2.

I copy sms-file to /var/spool/sms/outgoing/send_fUkbLM.
Sms-file:
To: 1234567890
Modem: modem_2

testsms
 
'smsdconf' Syntax Highlight powered by GeSHi


Log:
2017-05-26 10:03:32,5, smsd: SMS To: 1234567890. Moved file /var/spool/sms/outgoing/send_fUkbLM to /var/spool/sms/checked
2017-05-26 10:03:36,3, modem_1:  SMS sent, Message_id: 0, To: 1234567890, sending time 7 sec.
 
'smsdconf' Syntax Highlight powered by GeSHi


How to send SMS from the second modem? Why the header "Modem" doesn`t work?


« Last edit by Vebber on Fri May 26, 2017 07:16, 41 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Modem: header is for sent/failed message files, it tells which modem handled the message.

You need to use queues. In the smsd.conf, define:

devices = modem_1, modem_2

[queues]
ALL = /var/spool/sms/checked
modem_1 = /var/spool/sms/modem_1
modem_2 = /var/spool/sms/modem_2

[modem_1]
device = /dev/modems/modem_1
queues = modem_1, ALL

[modem_2]
device = /dev/modems/modem_2
queues = modem_2, ALL
 
'smsdconf' Syntax Highlight powered by GeSHi


With these definitions you can select the queue in the message file, using Queue: modem_1 header, for example. If no Queue is defined, the modem which first picks up the message will send it.

Member
Registered:
Nov 2014
Location: Ukraine
Topic owner
I understood. Thank you!

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.