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 Jun 24, 2024 12:51
SMSTools3 Community » Help and support Bottom

put_command expected (OK)|(ERROR) when outgoing SMS is many

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jun 2016
Location: Malaysia
Operating system name and version: CentOS 7
Version of smsd: 3.1.15
Smsd installed from: sources
Name and model of a modem / phone: wavecom multiband 8 ports
Interface: TCP/IP

Hi

I have been using this modem for few years without problem, even with many SMS sending ~100-200 at any given time..


Just few days ago, I have encountered, when the sms to be sent is many (about 40 sms in the outoging->GSMx folders) I got this message:

put_command expected (OK)|(ERROR) and smsd processes goes defunct


but if the sms outgoing is just a few (~ less than 10 files), the sms sending is ok.

I am pretty sure that no other smsd processs is running at the same time


please help me.


this is my config:

I have never changed anything in the config since it has been working ok since the past few years

Thanks

devices = GSM1,GSM2,GSM3,GSM4,GSM5,GSM6
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
sent = /var/spool/sms/sent
report = /var/spool/sms/report

receive_before_send=yes
errorsleeptime = 20
blacklist =  /var/spool/sms/blacklist.txt

#--------------for monitor gsm modem healthy----------------------#
##alarmlevel=3
##alarmhandler=/root/gsm/alarm.sh
###-----------------------------------------------------------------#
##
[queues]
GSM1 = /var/spool/sms/GSM1
GSM2 = /var/spool/sms/GSM2
GSM3 = /var/spool/sms/GSM3
GSM4 = /var/spool/sms/GSM4
GSM5 = /var/spool/sms/GSM5
GSM6 = /var/spool/sms/GSM6

[providers]
GSM1 =  601
GSM2 =  601
GSM3 =  601
GSM4 =  601
GSM5 =  601
GSM6 =  601



[GSM1]
modem_disabled = no
baudrate = 9600
send_delay=5
primary_memory = SM
secondary_memory = SR
routed_status_report_cnma=no
using_routed_status_report=yes
init = AT+CNMI=2,0,0,1,0
max_continuous_sending =120
check_network =2
communication_delay = 200
device = @202.xxx.xxx.xx:10001
incoming = yes
outgoing = yes
report = yes
hangup_incoming_call = yes
queues = GSM1,GSM2,GSM3,GSM4,GSM5,GSM6
pin = ignore
ussd_convert = 2
##Celcom balance check
#regular_run_cmd = AT+CUSD=1,"*124#",15
##TT balance check
##regular_run_cmd = AT+CUSD=1,"*133#",15
#regular_run_interval = 3600
#regular_run_logfile = /var/log/smsd_ussd.log

 
 
'smsdconf' Syntax Highlight powered by GeSHi


Member
Registered:
Jun 2016
Location: Malaysia
Topic owner
new finding

when I configure smsd to connect to 3 GSM ports only instead of 6, it works ok (no put_command expected error)

I configured to get it conncted to 3 ports on first half (GSM1,2,3) and another half (GSM4,5,6) at two different times,then it works.

when I get it connected to all 6 ports again, then the put_command expected error appears again.

Looks like smsd cannot is having too many connections at one time

Please help

Member
Registered:
Jun 2016
Location: Malaysia
Topic owner
new finding

after restarting gsm modem via modem's management console, issue is still the same.

I tested to see what is the maximum connection for it to work properly, it looks like the max port connection is 5. If I connect with 6 ports, then the issue started.

Now, for the sake of production use, I keep it max at 5 ports. But I wonder why only recently this happened?

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.