SMS inbound/outbound not workig with Telnyx

This seems farfetched, but please try:

The configured timezone known by PHP (both cli and web-server’s php.ini such as php-fpm, or apache2, depends on your webserver) should be the timezone sets in playSMS.

anton

Tried that but just broke it from sending at all! I noticed that in the install instructions, here, it shows install in default directories like /etc/ and /bin. However, in the most recent instructions here, it shows install in /home//etc and /home//bin.

Which is correct?

Does this look right?

Follow the latest article, and only 1 article. If you have installed multiple times, please remove the other installation.

Locate:

  • the web files in public_html
  • log files in log
  • playsms.conf it should be in etc folder
  • playsmsd it should be in bin

The screenshots shows installation OK, daemons running fine.

If you cant send sms just see the log what happened. Paste here if you still dont know.

Anton

In the interim, re-installed on a new server. Send/Receive functions are working, including Autoreply. However, credit balances are still not decrementing.

Log from recent test shows:

    • 2020-06-12 16:17:25 PID5ee3aa956112f - L2 simplerate_hook_rate_cansend # allowed subuser uid:2 parent_uid:1 sms_to:+1xxxyyyzzzz adhoc_credit:10 count:1 rate:0.010 charge:0.01 adhoc_balance:9.99 adhoc_balance_parent:19.99

However, the balance in the Report function shows no change:

Seems like the same problem happened with Twilio. Is it ok to try this with Telnyx?

DROP TABLE IF EXISTS playsms_gatewayTwilio;
CREATE TABLE playsms_gatewayTwilio (
c_timestamp bigint(20) NOT NULL DEFAULT ‘0’,
id int(11) NOT NULL AUTO_INCREMENT,
local_smslog_id int(11) NOT NULL DEFAULT ‘0’,
remote_smslog_id varchar(40) NOT NULL DEFAULT ‘0’,
status varchar(20) NOT NULL DEFAULT ‘’,
error_text varchar(100) NOT NULL DEFAULT ‘’,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;