playSMS Forum

[solved] Challenge on sending SMS from playsms

I have just configure kannel and am able to send SMS, however from playsms am getting response “Your message has been delivered to queue (queued:1 failed:0)” below are the logs any body with idea

==> playsms.log <==

- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsmsd # start processing queue_code:41e28a318d5d5cb4158e6929287b3b99 chunk:0 queue_count:1 sms_count:1 scheduled:2021-04-13 08:49:22 uid:1 gpid:0 sender_id:MYBOOK
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsmsd # sending queue_code:41e28a318d5d5cb4158e6929287b3b99 smslog_id:6 to:255789204911 sms_count:1 counter:1
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsms_process # start
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:255789204911 adhoc_credit:20000 count:1 rate:50.000 charge:50 adhoc_balance:19950
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsms # saving smslog_id:6 u:1 parent_uid:0 g:0 gw:kannel smsc:airtelconnector s:MYBOOK d:255789xxxxxx type:text unicode:0 status:0
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsms_process # saved smslog_id:6 id:6
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 simplerate_hook_rate_deduct # enter smslog_id:6
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 simplebilling_hook_billing_post # saving smslog_id:6 rate:50.000 count:1 charge:50
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 simplebilling_hook_billing_post # saved smslog_id:6 id:6
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsms_process # end
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsmsd # result queue_code:41e28a318d5d5cb4158e6929287b3b99 to:255789204911 flag:1 smslog_id:6
- - 2021-04-13 08:49:23 PID60755b1356e70 - L2 sendsmsd # finish processing queue_code:41e28a318d5d5cb4158e6929287b3b99 uid:1 sender_id:MYBOOK queue_count:1 sms_count:1
- - 2021-04-13 08:49:23 PID6075572014584 - L2 simplerate_hook_rate_refund # start smslog_id:6
- - 2021-04-13 08:49:23 PID6075572014584 - L2 simplebilling__rollback # checking smslog_id:6
- - 2021-04-13 08:49:23 PID6075572014584 - L2 simplebilling__rollback # saving smslog_id:6 id:6
- - 2021-04-13 08:49:23 PID6075572014584 - L2 simplebilling__rollback # saved smslog_id:6

Set logstate to 3 from config.php and try again, you’ll see why it failed

Please sanitize your log before posting it here

Anton

Hi Anton, sorry on the log, but that is returned on logstate 3 i have just change it to logstate 4 and i got the same thing on playsms.log unless i change wrong config file the file path is : webroot/config.php

This is example of logstate 3, yoy can see L3 in the log

Anton

Thanks man i get it now, i was editing config file from IDE but for some reason changes where not affected on the server, i realize that after openig the script from the server terminal. I think from the logs i can sort it myself.
Thanks