No hook for sendsms

hi
i have installed playsms on docker. i am trying to send sms via http api. Via browser http command is getting success.

from logs i am getting error. please let me know how i can fix this. thank you

2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsmsd # start processing queue_code:a30a486b58b15e8c8e22ae8b260684cf chunk:0 queue_count:1 sms_count:1 scheduled:2021-12-15 05:59:21 uid:1 gpid:0 sender_id:

    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsmsd # sending queue_code:a30a486b58b15e8c8e22ae8b260684cf smslog_id:63 to:+44775254244 sms_count:1 counter:1
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 sendsms_intercept # msgtemplate modified sms_sender:[] sms_footer:[@admin] sms_to:[+44775254244] sms_msg:[2341] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[a30a486b58b15e8c8e22ae8b260684cf] smsc:[]
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 outgoing_hook_sendsms_intercept # found SMSCs:[generic]
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 outgoing_hook_sendsms_intercept # using prefix based smsc smsc:[generic] uid:1 parent_uid:0 from: to:+44775254244
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 sendsms_intercept # outgoing modified sms_sender:[] sms_footer:[@admin] sms_to:[+44775254244] sms_msg:[2341] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[a30a486b58b15e8c8e22ae8b260684cf] smsc:[generic]
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsms_process # start
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 simplerate_hook_rate_getbyprefix # found rate id:2 prefix:44 rate:1.000 description:UK to:+44775254244
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:11 unicode:0 to:+44775254244 enable_credit_unicode:0 count:1 rate:1.000 charge:1
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:+44775254244 adhoc_credit:99 count:1 rate:1.000 charge:1 adhoc_balance:98
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsms # saving smslog_id:63 u:1 parent_uid:0 g:0 gw:generic smsc:generic s: d:+44775254244 type:text unicode:0 status:0
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsms_process # saved smslog_id:63 id:63
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 sendsms # final smslog_id:63 gw:generic smsc:generic message:2341 @admin len:11
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 generic_hook_sendsms # enter smsc:generic smslog_id:63 uid:1 to:+44775254244
    • 2021-12-15 05:59:21 PID61b98439d7edb - L3 dlr # isdlrd:1 smslog_id:63 p_status:2 uid:1
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsms_process # fail no hook for sendsms
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsms_process # end
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsmsd # result queue_code:a30a486b58b15e8c8e22ae8b260684cf to:+44775254244 flag:2 smslog_id:63
    • 2021-12-15 05:59:21 PID61b98439d7edb - L2 sendsmsd # finish processing queue_code:a30a486b58b15e8c8e22ae8b260684cf uid:1 sender_id: queue_count:1 sms_count:1
    • 2021-12-15 05:59:22 PID61b975f5eda86 - L3 dlrd # id:63 smslog_id:63 p_status:2 uid:1

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.