[solved] Do not appear PIDS recvsmsd


(Mapiiiaji) #1

I have situation:

[root@sj45s src]# playsmsd status
playsmsd is not running
[root@sj45s src]# playsmsd check
PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html
PLAYSMS_LIB = /var/lib/playsms
PLAYSMS_BIN = /usr/local/bin
PLAYSMS_LOG = /var/log/playsms
DAEMON_SLEEP = 1
ERROR_REPORTING = E_ALL ^ (E_NOTICE | E_WARNING)
IS_RUNNING = 
PIDS schedule = 6165
PIDS ratesmsd = 6167
PIDS dlrssmsd = 6169
PIDS recvsmsd =
PIDS sendsmsd = 6173

aa

Massages sends and delivered to recipients but I don’t receive any massages shipped to me(

I use:

OS: Centos 7.5
PlaySMS 1.4.2
Web-server: Apache 2.4.33
DB: MySQL 8.0.11
CMS: PHP 7.2.7

Thanks all in advanve


(Anton Raharja) #2

Have you try to restart playsmsd ?

anton


(Mapiiiaji) #3

Yes I tried to restart but the situation is the same.

playsmsd has been started
schedule at pid 1725
ratesmsd at pid 1727
dlrssmsd at pid 1729
recvsmsd at pid
sendsmsd at pid 1734


(Anton Raharja) #4

ok, run manually and let me know what you saw:

/usr/bin/php -q /usr/local/bin/playsmsd /etc/playsmsd.conf recvsmsd

(Mapiiiaji) #5

recvsmsd45s outbox]# /usr/bin/php -q /usr/local/bin/playsmsd /etc/playsmsd.conf
PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in /var/www/html/plugin/gateway/gammu/fn.php:134
Stack trace:
#0 /var/www/html/lib/fn_core.php(202): gammu_hook_getsmsinbox()
#1 /var/www/html/plugin/core/recvsms/fn.php(467): core_hook(‘gammu’, ‘getsmsinbox’)
#2 /usr/local/bin/playsmsd(462): getsmsinbox()
#3 {main}
thrown in /var/www/html/plugin/gateway/gammu/fn.php on line 134


(Anton Raharja) #6

Try to install php-mbstring:

yum install php-mbstring

Restart Apache after that.

anton


(Mapiiiaji) #7

Thanks Anton! Part of problem solved.
playsmsd has been started
schedule at pid 2552
ratesmsd at pid 2554
dlrssmsd at pid 2556
recvsmsd at pid 2558
sendsmsd at pid 2560

aa

But in the inbox of the response letters did not arrive.


(Anton Raharja) #8

Try searching them in:

  • Reports -> All inbox
  • Report -> Sandbox

anton


(Mapiiiaji) #9

Anton thank you very much. I found them in the Sandbox. But in All inbox and Inbox letters are not displayed for some reason. This would be very handy if every user could see the received messages in Inbox.


(Anton Raharja) #10

In order to route incoming SMS to user’s inbox you need to configure the Route incoming SMS and use @username in the message.

anton


(Mapiiiaji) #11

You are a very good man Anton! Thank you for the prompt, thank you for your product! Topic is closed.