Your message has been delivered to queue (queues:1 failed:0)

Greetings,

I have playSMS with Kannel installed on Ubuntu. Everything was working fine then I shutdown the server. after few days I turned it ON and and replaced my old modem with new one. I can successfully send SMS via web (kannel) but when I try to send SMS via playSMS web portal, it always goes in queue with this message.

"your message has been delivered to queue (queues:1 failed:0)"

Kannel LOG shows this.

192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L2 sendsms_queue_create # saving queue_code:7bc473cb08bbc898735a1573d9b4e9c2 src:1234 scheduled:2015-07-28 19:15:28
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L2 sendsms_queue_create # saved queue_code:7bc473cb08bbc898735a1573d9b4e9c2 id:362
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L3 sendsms_manipulate_prefix # before prefix manipulation:[03333021909]
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L3 sendsms_manipulate_prefix # after prefix manipulation:[03333021909]
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L3 simplerate_hook_rate_getbyprefix # rate not found to:03333021909 default_rate:1
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:30 unicode:0 to:03333021909 enable_credit_unicode:0 count:1 rate:1 charge:1
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L2 sendsms # dst:1 sms_count:1 total_charges:1
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L2 sendsms_queue_push # saving queue_code:7bc473cb08bbc898735a1573d9b4e9c2 dst:03333021909
192.168.100.2 192.168.100.1 2015-07-28 19:15:28 PID55b78e804d803 admin L2 sendsms_queue_push # saved queue_code:7bc473cb08bbc898735a1573d9b4e9c2 smslog_id:353
192.168.100.2 192.168.100.1 2015-07-28 19:15:29 PID55b78e804d803 admin L2 sendsms # end queue_code:7bc473cb08bbc898735a1573d9b4e9c2 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

I dont see any movement in kannel logs when submitting msg via playsms, so playsms is not contacting kannel.

ps aux |grep kannel
root 21713 0.0 0.0 4384 824 pts/0 S+ 19:28 0:00 grep --color=auto kannel
kannel 29815 0.0 0.0 2252 316 ? Ss 19:12 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_bearerbox.pid --no-extra-args /usr/sbin/bearerbox -v 4 – /etc/kannel/kannel.conf
kannel 29817 1.5 0.2 94936 9836 ? Sl 19:12 0:15 /usr/sbin/bearerbox -v 4 – /etc/kannel/kannel.conf
kannel 29845 0.0 0.0 2252 372 ? Ss 19:12 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_wapbox.pid --no-extra-args /usr/sbin/wapbox -v 4 – /etc/kannel/kannel.conf
kannel 29848 0.0 0.0 2252 312 ? Ss 19:12 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_smsbox.pid --no-extra-args /usr/sbin/smsbox -v 4 – /etc/kannel/kannel.conf
kannel 29849 0.0 0.3 71192 12788 ? Sl 19:12 0:00 /usr/sbin/smsbox -v 4 – /etc/kannel/kannel.conf

root@radius:/usr/local/bin# ps aux |grep playsms
root 2177 0.0 0.0 5448 1484 ? S 19:15 0:00 /bin/bash /usr/local/bin/_playsms/playsmsd /var/www/playsms
root 2196 0.0 0.0 5448 1488 ? S 19:15 0:00 /bin/bash /usr/local/bin/_playsms/recvsmsd /var/www/playsms
root 2211 0.0 0.0 5436 1456 ? S 19:15 0:00 /bin/bash /usr/local/bin/_playsms/sendsmsd /var/www/playsms
root 2228 0.0 0.0 5448 1484 ? S 19:15 0:00 /bin/bash /usr/local/bin/_playsms/dlrssmsd /var/www/playsms
root 22048 0.0 0.0 4388 824 pts/0 S+ 19:28 0:00 grep --color=auto playsms

GW is KANNEL hosted on same machine/.

You’re using 0.9.9.2 ?

Check the queue from web, I think its in My account, View queue or something.

anton

I tried Every possible method but was not able to sort the issue.
finally I re-installed (overwrite) the installation and it worked!

that is odd :smiley:

anton

1 Like

I have similar problem. I am using playSMS with gammu. Everything is fine when i first install it. But everytime I reboot the ubuntu server, something stucks. Sending SMS from the web interface only go into the SMS queue but never processed by gammu.

I checked gammu looks normal : If I send an inward SMS from my mobile, the message show up in /var/spool/gammu/inbox but playSMS does not retrieve it (nowhere in inbox / sandbox).

I use the install-playsms.sh again to reinstall playsms, it work again.
Before re-installation, I can only modify setting, change user password but cannot add credit to user, cannot send SMS. I guess some table in the database corrupted during reboot.

Have you find a solution?