Keywords: Mode: All keywords (AND) |
Fri Jan 22, 2016 04:00
|
vinmi: new smsd:
# Global configuration
devices = modem1,modem2,modem3
loglevel = 4
logfile = /var/log/sms/smstools.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
delaytime = 6
errorsleeptime = 12
blocktime = 180
autosplit = 3
receive_before_send = yes
# Modem configuration #
[modem1]
#init =
device = /dev/ttyUSB1
incoming = yes
baudrate = 115200
[modem2]
#init =
device = /dev/ttyUSB4
incoming = yes
baudrate = 115200
[modem3]
#init =
device = /dev/ttyUSB7
incoming = yes
baudrate = 115200
|
Wed Jan 20, 2016 20:55
|
vinmi: Operating system name and version: Debian 7.5
Version of smsd: 3.1.14
Smsd installed from: IDK
Name and model of a modem / phone: Huaweii E303
Interface: USB Hub | USB Port
Everytime I try to send a message, the message stay as pendent (yellow symbol) and won't go...
Here's my smsd
# Global configuration
devices = wavecom
loglevel = 5
logfile = /var/log/sms/smsd.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
delaytime = 2
errorsleeptime = 4
blocktime = 180
autosplit = 3
receive_before_send = yes
national_prefixes = 0
# Modem configuration
# wavecom USB
[wavecom]
#init = AT+CNMI=2,0,0,2,1
init = AT+CNMI=1,0,0,2,0
device = /dev/ttyS0
incoming = yes
baudrate = 115200
report = yes
primary_memory = SM
secondary_memory = SR
Here's smsd startup log
2016-01-20 18:42:20,2, smsd: Smsd v3.1.14 started.
2016-01-20 18:42:20,2, smsd: Running as root:root.
2016-01-20 18:42:20,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2016-01-20 18:42:20,4, smsd: Using national prefixes: 0
2016-01-20 18:42:20,5, smsd: Outgoing file checker has started. PID: 18266.
2016-01-20 18:42:20,5, wavecom: Modem handler 0 has started. PID: 18268.
2016-01-20 18:42:20,5, wavecom: Using check_memory_method 1: CPMS is used.
Here's PlaySMS log when I try to send a message:
2016-01-20 18:45:09 PID569ff1d5d6dd6 admin L2 sendsms # start uid:1 sender:000
2016-01-20 18:45:09 PID569ff1d5d6dd6 admin L2 sendsms_queue_create # saving queue_code:46515481ba85c765531500eb012163ad src:000
2016-01-20 18:45:10 PID569ff1d5d6dd6 admin L2 sendsms_queue_create # saved queue_code:46515481ba85c765531500eb012163ad id:10
2016-01-20 18:45:10 PID569ff1d5d6dd6 admin L2 sendsms_queue_push # saving queue_code:46515481ba85c765531500eb012163ad dst:99059238
2016-01-20 18:45:10 PID569ff1d5d6dd6 admin L2 sendsms_queue_push # saved queue_code:46515481ba85c765531500eb012163ad smslog_id:11
2016-01-20 18:45:10 PID569ff1d5d6dd6 admin L2 sendsms # end queue_code:46515481ba85c765531500eb012163ad sms_count:1
2016-01-20 18:45:16 PID569ff1dcaf522 admin L2 simplebilling summary # uid:1
2016-01-20 18:48:01 PID569ff2812ad0b admin L2 simplebilling summary # uid:1
2016-01-20 18:48:17 PID569ff2917caad admin L2 simplebilling summary # uid:1
|
Fri Jan 15, 2016 20:20
|
vinmi: Operating system name and version: Debian 7.5
Version of smsd: idk
Smsd installed from: playsms
Name and model of a modem / phone: Modem 3G Huawei
Interface: USB Powered 7 USB HUB
Copy of my smsd:
# Global configuration
devices = GSM1,GSM2,GSM3,GSM4
loglevel = 4
logfile = /var/log/sms/smstools.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
delaytime = 6
errorsleeptime = 12
blocktime = 180
autosplit = 3
receive_before_send = yes
[queues]
GSM1 = /var/spool/sms/GSM1
GSM2 = /var/spool/sms/GSM2
GSM3 = /var/spool/sms/GSM3
GSM4 = /var/spool/sms/GSM4
[providers]
GSM1 = 0,1,2,3,4,5,6,7,8,9,s
GSM2 = 0
GSM3 = 0
GSM4 = 0
# Modem configuration
[GSM1]
device = /dev/ttyS0
incoming = yes
baudrate = 115200
queues = GSM1
[GSM2]
device = /dev/ttyS1
incoming = yes
baudrate = 115200
queues = GSM2
[GSM3]
device = /dev/ttyS2
incoming = yes
baudrate = 115200
queues = GSM3
[GSM4]
device = /dev/ttyS3
incoming = yes
baudrate = 115200
queues = GSM4
eventhandler = /usr/local/bin/sms/index.php
I send SMMs throught PlaySMS but it appears as pendent
|