Cannot receive sms in playSMS via kannel

Hi Sir,

After having been able to setup playSMS on my local Ubuntu server as well as Kannel along with it, I was able to send sms but only through HTTP command, not playSMS. I went through all of the related topics in this forum, as well as in googleGroups for playSMS and other forums and still come out empty.
It’s driving me nuts. :frowning:

If you have any insights, please help… :weary::weary:


Tutorials I followed:

**

playSMS installation:

**

**

Kannel installation

**:

**

playSMS/Kannel integration

**:

-**

please help! :weary:

**

Sincerely,
sujirou

my playSMS log:

root@ubuntu:~# tail -f /var/log/playsms/playsms.log 10.50.160.1 10.50.160.39 2016-11-01 22:27:30 PID581979426e063 admin L2 sendsms_queue_push # saving queue_code:8939b4e38f11edd606a388358df247dc dst:639176245781 10.50.160.1 10.50.160.39 2016-11-01 22:27:30 PID581979426e063 admin L2 sendsms_queue_push # saved queue_code:8939b4e38f11edd606a388358df247dc smslog_id:12 10.50.160.1 10.50.160.39 2016-11-01 22:27:30 PID581979426e063 admin L2 sendsms # end queue_code:8939b4e38f11edd606a388358df247dc queue_count:1 sms_count:1 failed_queue:0 failed_sms:0 10.50.160.1 10.50.160.39 2016-11-01 22:42:16 PID58197cb87339d admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[] 10.50.160.1 10.50.160.39 2016-11-01 22:42:16 PID58197cb87339d admin L2 sendsms_queue_create # saving queue_code:ac8f006da965076e8056b06de4c2473c src:1234 scheduled:2016-11-01 22:42:16 10.50.160.1 10.50.160.39 2016-11-01 22:42:16 PID58197cb87339d admin L2 sendsms_queue_create # saved queue_code:ac8f006da965076e8056b06de4c2473c id:13 10.50.160.1 10.50.160.39 2016-11-01 22:42:16 PID58197cb87339d admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0 10.50.160.1 10.50.160.39 2016-11-01 22:42:16 PID58197cb87339d admin L2 sendsms_queue_push # saving queue_code:ac8f006da965076e8056b06de4c2473c dst:09176245781 10.50.160.1 10.50.160.39 2016-11-01 22:42:16 PID58197cb87339d admin L2 sendsms_queue_push # saved queue_code:ac8f006da965076e8056b06de4c2473c smslog_id:13 10.50.160.1 10.50.160.39 2016-11-01 22:42:16 PID58197cb87339d admin L2 sendsms # end queue_code:ac8f006da965076e8056b06de4c2473c queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

After restarting playsmsd restart I was able to send the message. But replying to that message from the mobile phone didn’t go to playSMS’s INBOX.

  • sujirou

Firsly, i had he same situtaion.
So, I solved it by adding to kannel.conf (kannel itself conf file) sms-route group.
Do you need details ?

1 Like

Hi… yes, I would very much appreciate it. thank you. :slight_smile:

I have kinda the same problem!

I can send sms with kannel and playsms + dongle + raspberry pi

but i can’t receive it.
I get the following error:

2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: --> AT+CMGR=21^M
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: <-- OK
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: not deleted.
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: --> AT+CMGR=22^M
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: <-- OK
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: not deleted.
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: --> AT+CMGR=23^M
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: <-- OK
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: not deleted.
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: --> AT+CMGR=24^M
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: <-- OK
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: not deleted.
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: --> AT+CMGR=25^M
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: <-- +CMS ERROR: 321
2016-11-30 21:14:56 [635] [6] ERROR: AT2[Huawei]: CMS ERROR: +CMS ERROR: 321
2016-11-30 21:14:56 [635] [6] ERROR: AT2[Huawei]: CMS ERROR: Invalid memory index -> don’t worry, just memory fragmentation. (321)
2016-11-30 21:14:56 [635] [6] DEBUG: AT2[Huawei]: failed to get message 25.

i also need the same details. please help