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