Once PlaySMS installed and correctly running on server, once i configured Gateway (Twillio or Nexmo) when i try to send SMS, SMS is not sent and i ve an error in /var/log/playsms/playsms.log :
fail to save in db table smslog_id:4 db_query:[INSERT INTO playsms_tblSMSOutgoing (smslog_id,uid,parent_uid,p_gpid,p_gateway,p_smsc,p_src,p_dst,p_footer,p_msg,p_datetime,p_status,p_sms_type,unicode,queue_code)
2019-11-14 01:34:12 PID5dcc61bbcd5ed - L2 sendsms_process # fail to save in db table smslog_id:52 db_query:[INSERT INTO playsms_tblSMSOutgoing (smslog_id,uid,parent_uid,p_gpid,p_gateway,p_smsc,p_src,p_dst,p_footer,p_msg,p_datetime,p_status,p_sms_type,unicode,queue_code) VALUES (‘52’,‘1’,‘0’,‘0’,‘telnyx’,‘telnyx’,’+12677400864’,’+13155940200’,’ @admin’,‘Test 25’,‘2019-11-13 18:34:12’,‘0’,‘text’,‘0’,‘80e4c633838b67dd0cefd36a8137cb6b’)]
Manually i tried to run this Query in mysql but since there are some values which is getting generated from script in php file it has not succeeded . It look like issue is due to some php script which causing to execute query properly and in result sms is getting fail.
I have realized that the issue was with the SMSE settings which i had configured wrong first time , However i modified later as correct setting but it was just apparently showing changed and in the backend system was still taking the first time configured values in SMSE settings. Even in the logs we will see the new values but in the backend it refers the first time entered values. My be there is cache area which holds the first time entered values as permanent. and modification in values doesn’t effects the cache values(Just my opinions).
It seems there is some issue in saving modified values in SMSE configuration module which need to have analyzed.