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. Sat Apr 20, 2024 02:50
SMSTools3 Community » Help and support Bottom

Queues work in Cygwin but not in Ubuntu

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Aug 2011
Location: Uruguay
Windows XP SP3 + Cygwin 1.7.9-1/Ubuntu 11.10:
3.1.14:
Smsd installed from: sources
Phone ZTE F160:
Interface: USB

Member
Registered:
Aug 2011
Location: Uruguay
Topic owner
Windows XP SP3 + Cygwin 1.7.9-1/Ubuntu 11.10:
3.1.14:
Smsd installed from: sources
Phone ZTE F160:
Interface: USB

Windows XP SP3 + Cygwin 1.7.9-1/Ubuntu 11.10:
3.1.14:
Smsd installed from: sources
Phone ZTE F160:
Interface: USB

smsd.conf:

devices = GSM0,GSM1,GSM2
admin_to = 13054057105
logfile = /var/log/smsd.log
loglevel = 7
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
report = /var/spool/sms/report
sent = /var/spool/sms/sent
#os_cygwin = yes
logfile = /var/log/smsd.log
loglevel = 7
keep_filename = yes
eventhandler = /var/smstools3/scripts/eventhandler
autosplit = yes
receive_before_send = no
autosplit = 3
infofile = /var/run/sms/smsd.working
pidfile = /var/run/sms/smsd.pid
date_filename = 1
regular_run = /var/smstools3/scripts/regular_run
regular_run_interval = 1800

[queues]
ANY = /var/spool/sms/queues/ANY
GSM0 = /var/spool/sms/queues/GSM0
GSM1 = /var/spool/sms/queues/GSM1
GSM2 = /var/spool/sms/queues/GSM2


[default]
queues = modemname, ANY
#report_device_details = yes
incoming = yes
#phonecalls = clip
baudrate = 115200
message_limit = 1000
message_count_clear = 5
hangup_incoming_call = yes

[GSM0]
#init = AT^BOOT=0,0
#init = AT+CMGF=1
init = AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB0
memory_start = 0
check_memory_method = 3

[GSM1]
init = AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB1
memory_start = 0
check_memory_method = 3

[GSM2]
init = AT+CPMS="ME","ME","ME"
device = /dev/ttyUSB2
memory_start = 0
check_memory_method = 3


Same smsd.conf used in Cygwin and Ubuntu 11.10.
Queue defined adding line "Queue: GSMx" in message header.
In Cygwin the message is transfer from "outgoing: to the corresponding queue (if Queue: GSM1 to /var/spool/sms/queues/GSM1), but in Ubuntu the message remain in "outgoing".
I use a "modified" version of "sendsms" called "sendsms2", it get 3 parameters: destination, message (quoted) and queue
Example: sendsms2 4567891256 'it is a test' GSM1

Any idea?

Thak you!


« Last edit by flaco on Wed Oct 26, 2011 01:50, 152 months ago. »

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.