[solved] Cannot send sms in smstools

Hi

I’ve configured playsms like in this howto: https://www.howtoforge.com/tutorial/how-to-install-raspberry-pi-sms-server/

But everytime I send a sms via playsms, no smsc is selected:

10.78.200.20 10.78.200.134 2015-09-07 14:52:35 PID55eda4b33fad2 admin L2 sendsms # start uid:1 sender_id:[417676xxxxx] smsc:[]
10.78.200.20 10.78.200.134 2015-09-07 14:52:35 PID55eda4b33fad2 admin L2 sendsms_queue_create # saving queue_code:4b17e84018b0ddfeb380ed6d3479bcbd src:417676xxxxx scheduled:2015-09-07 14:52:35
10.78.200.20 10.78.200.134 2015-09-07 14:52:35 PID55eda4b33fad2 admin L2 sendsms_queue_create # saved queue_code:4b17e84018b0ddfeb380ed6d3479bcbd id:5
10.78.200.20 10.78.200.134 2015-09-07 14:52:35 PID55eda4b33fad2 admin L2 sendsms # dst:1 sms_count:1 total_charges:0
10.78.200.20 10.78.200.134 2015-09-07 14:52:35 PID55eda4b33fad2 admin L2 sendsms_queue_push # saving queue_code:4b17e84018b0ddfeb380ed6d3479bcbd dst:004179xxxxxxx
10.78.200.20 10.78.200.134 2015-09-07 14:52:35 PID55eda4b33fad2 admin L2 sendsms_queue_push # saved queue_code:4b17e84018b0ddfeb380ed6d3479bcbd smslog_id:5
10.78.200.20 10.78.200.134 2015-09-07 14:52:35 PID55eda4b33fad2 admin L2 sendsms # end queue_code:4b17e84018b0ddfeb380ed6d3479bcbd queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

I installed the latest stable release. Could you give me any input why this not works?

similar to other topics, you need “sendsmsd” shows up on your log and paste that part instead

look again your playsms.log and paste log entries after above log entries you pasted here, make sure it contain “sendsmsd”

anton

hi anton

well I’ll look tomorrow again as I will install everything new. but as i remember, there was never any logentries with “sendsmsd”. So you say, I should definitely get more logentries as here posted?

thanks
Benjamin

yes. here is the example: PlaySMS and integrating users from an AD, adding contacts through .csv and group management

take a close look at the pasted logs, you’ll notice that theres “sendsms” part and then followed by “sendsmsd” part.

anton

seems very similar to my problem:
there is just NOT any “sendsmsd” part in the log
Not able to send sms via playsms

Try this:

Anton

1 Like

Perfect, this SQL upgrades helped! Now it worked.
Looks like your init-sql is buggy - I installed first from the latest stable and them from the github master.

Benjamin

It seems very similar to my problem when try to send SMS in SMStools Please help me…