playSMS Forum

Sent SMS going to Queue

Hello to all!
I have installed playsms along with kannel! Everything looks ok!
But the playSMS daemon status remiand in red even if the PlaySMS deamon is running and all sent SMS are delivered to queue

Here are the logs:

2021-08-19 13:43:19 PID611e43d6a65a0 admin L3 main_config # main configuration saved. uid:1
2021-08-19 13:43:23 PID611e43db455a9 admin L2 logout # u:admin uid:1 status:2 sid:5qiqehv2jkhr6hl71rpc4lec4a ip:10.XX.XX.XX
2021-08-19 13:43:36 PID611e43e80a41b - L3 auth_validate_login # login attempt u:admin uid:1 p:47fee165e44379fae08b76ea8c864ebd ip:10.XX.XX.XX
2021-08-19 13:43:36 PID611e43e80a41b - L2 auth_validate_login # valid login u:admin uid:1 ip:10.XX.XX.XX
2021-08-19 13:43:36 PID611e43e80a41b - L2 login # u:admin uid:1 status:2 sid:5qiqehv2jkhr6hl71rpc4lec4a ip:10.XX.XX.XX
2021-08-19 13:44:02 PID611e4402902f9 admin L2 sendsms # start uid:1 sender_id:[HALLO] smsc:[]
2021-08-19 13:44:02 PID611e4402902f9 admin L3 sendsms # maxlen:459 footerlen:0 footer:[] msglen:26 message:[Hi u there, good morning!!]
2021-08-19 13:44:02 PID611e4402902f9 admin L2 sendsms_queue_create # saving queue_code:780ff056752e3ae125b5d3de4e67e80f src:HALLO scheduled:2021-08-19 13:44:02
2021-08-19 13:44:02 PID611e4402902f9 admin L2 sendsms_queue_create # saved queue_code:780ff056752e3ae125b5d3de4e67e80f id:23
2021-08-19 13:44:02 PID611e4402902f9 admin L3 sendsms_manipulate_prefix # before prefix manipulation:[75000255]
2021-08-19 13:44:02 PID611e4402902f9 admin L3 sendsms_manipulate_prefix # after prefix manipulation:[75000255]
2021-08-19 13:44:02 PID611e4402902f9 admin L3 simplerate_hook_rate_getbyprefix # rate not found to:75000255 default_rate:0
2021-08-19 13:44:02 PID611e4402902f9 admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:26 unicode:0 to:75000255 enable_credit_unicode:1 count:1 rate: charge:0
2021-08-19 13:44:02 PID611e4402902f9 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
2021-08-19 13:44:02 PID611e4402902f9 admin L2 sendsms_queue_push # saving queue_code:780ff056752e3ae125b5d3de4e67e80f dst:75000255
2021-08-19 13:44:02 PID611e4402902f9 admin L2 sendsms_queue_push # saved queue_code:780ff056752e3ae125b5d3de4e67e80f smslog_id:23
2021-08-19 13:44:02 PID611e4402902f9 admin L2 sendsms # end queue_code:780ff056752e3ae125b5d3de4e67e80f queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

and Kannel Status:

Kannel bearerbox version 1.4.4'. Compiler 7.2.0’.
System Linux, release 4.15.0-154-generic, version #161-Ubuntu SMP Fri Jul 30 13:04:17 UTC 2021, machine x86_64.
Hostname playsms, IP 10.180.0.4.
Libxml version 2.9.4.
Using OpenSSL 1.0.2g 1 Mar 2016.
Compiled with MySQL 5.7.20, using MySQL 5.7.35.
Compiled with PostgreSQL 10.0.
Using SQLite 3.20.1.
Using hiredis API 0.13.3
Using native malloc.

Status: running, uptime 0d 0h 15m 21s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 0 (0 queued), sent 0 (0 queued), store size 0
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: received 0, sent 0
DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 0 queued, using internal storage

Box connections:
smsbox:smsbox1, IP 127.0.0.1 (0 queued), (on-line 0d 0h 14m 59s)

SMSC connections:
smscsmart[smscsmart] SMPP:XX.XX.XX.XX:XXX/XX:smpp1:WWW (online 921s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs)

and on the same, i’m getting this!

@anton could you please help!

the “red” status was just a bug and not related to playsmsd actually running or not, I see that you have confirmed that its running from console.

try check them manually: ps ax|grep php or ps ax|grep playsms

anton

1 Like

Thank @anton,
It has been fixed!
And now the issue is that all SMS are delivered to Phones but the status remains as “Pending” in Yellow!