Integrate playsms to API gateway only

Hello everyone,
I have installed play sms and created an sms gateway from my country kenya. This is a restful api and doesn’t need modems…
I have also added the gateway as SMSC and set as default under configurations.
I have created one outgoing sms route with below details:

User: Administrator (admin) - Administrator
Destination name: World
Prefix: 254
SMSC: africastalking (my gateway)

I have also change issendsmsd in config sile to false otherwise is set to true, it only saves sms to queue and no api call is made to my gateway. *someone pls explain what “issendsmsd” means.
I am not able to send sms, the error message being: “System error has occured”
Pleas help i am very new to playsms and i dont know if there is some configurations i am missing.
bellow are the logs when i try to send sms:

::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms # start uid:1 sender_id: smsc:
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L3 sendsms # maxlen:459 footerlen:0 footer: msglen:26 message:[Hi u there, good morning!!]
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms_queue_create # saving queue_code:e537f38dc8e739c657e248607d5836cf src: scheduled:2020-04-14 14:28:00
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms_queue_create # saved queue_code:e537f38dc8e739c657e248607d5836cf id:56
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L3 sendsms_manipulate_prefix # before prefix manipulation:[+254707026358]
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L3 sendsms_manipulate_prefix # after prefix manipulation:[+254707026358]
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L3 simplerate_hook_rate_getbyprefix # found rate id:1 prefix:254 rate:1.000 description:World to:+254707026358
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:26 unicode:0 to:+254707026358 enable_credit_unicode:0 count:1 rate:1.000 charge:1
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:1
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms_queue_push # saving queue_code:e537f38dc8e739c657e248607d5836cf dst:+254707026358
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms_queue_push # saved queue_code:e537f38dc8e739c657e248607d5836cf smslog_id:48
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms # end queue_code:e537f38dc8e739c657e248607d5836cf queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
::1 localhost 2020-04-14 14:28:00 PID5e959e407f1d9 admin L2 sendsms # sendsmsd off immediately process queue_code:e537f38dc8e739c657e248607d5836cf

You are not using sendsmsd, so sendsms() will directly execute sendsmsd(), you should see more logs after this line

anton

Ok… should i set issendsmsd to true then?

it depends, do you need it or not ?

normal operation is using sendsmsd, when sending alot of SMS it will be better using sendsmsd, sendsmsd is part of playsms daemon (playsmsd)

but right now more important is to look at the log after the last log paste above

anton

I have pasted all the log in the file. I cleared the file before sending and copied all its contests after sending

not sure what happened, but maybe time settings not handled properly when sending SMS from playSMS without sendsmsd had something to do with it

try to make sure the time settings in your server, please follow this:

after that test again

anton

Ok, i have verified time setting, everything looks fine. However, may i ask if it is possible install playsms on standard shared hosting for use on a gateway that uses restful API e.g in my case.
i.e. only running the php code without other installations.

not ideal, may not working properly

I suggest to get a VPS instead

anton

was the error sorted