Callback messages are apparently not processed


(Miguel Licero) #1

Hey Anton!

I hope you are doing great.

Under which circumstances a callback message could not be processed? I’m sending messages properly. The gateway is replying with the status of the messages. I can see the log messages that we are receiving those callback messages but the messages are kept in Pending status (yellow color). Here is a sample of a transaction:

104.186.72.146 sms.linkedip.com 2017-01-27 23:44:35 PID588bdb638035a admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
104.186.72.146 sms.linkedip.com 2017-01-27 23:44:35 PID588bdb638035a admin L2 sendsms_queue_create # saving queue_code:d3556390b4631966740f655f7ee8cf53 src:1234 scheduled:2017-01-27 23:44:35
104.186.72.146 sms.linkedip.com 2017-01-27 23:44:35 PID588bdb638035a admin L2 sendsms_queue_create # saved queue_code:d3556390b4631966740f655f7ee8cf53 id:3474
104.186.72.146 sms.linkedip.com 2017-01-27 23:44:35 PID588bdb638035a admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0.022
104.186.72.146 sms.linkedip.com 2017-01-27 23:44:35 PID588bdb638035a admin L2 sendsms_queue_push # saving queue_code:d3556390b4631966740f655f7ee8cf53 dst:573205652663
104.186.72.146 sms.linkedip.com 2017-01-27 23:44:35 PID588bdb638035a admin L2 sendsms_queue_push # saved queue_code:d3556390b4631966740f655f7ee8cf53 smslog_id:46488
104.186.72.146 sms.linkedip.com 2017-01-27 23:44:35 PID588bdb638035a admin L2 sendsms # end queue_code:d3556390b4631966740f655f7ee8cf53 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

    • 2017-01-27 23:44:35 PID588bdb63e3dd9 - L2 sendsmsd # start processing queue_code:d3556390b4631966740f655f7ee8cf53 chunk:0 queue_count:1 sms_count:1 scheduled:2017-01-27 23:44:35 uid:1 gpid:0 sender_id:1234
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsmsd # sending queue_code:d3556390b4631966740f655f7ee8cf53 smslog_id:46488 to:573205652663 sms_count:1 counter:1
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsms_process # start
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:573205652663 adhoc_credit:9.73 count:1 rate:0.022 charge:0.022 adhoc_balance:9.708
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsms # saving smslog_id:46488 u:1 parent_uid:0 g:0 gw:intico smsc:intico s:1234 d:573205652663 type:text unicode:0 status:0
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsms_process # saved smslog_id:46488 id:45235
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsms_process # fail no hook for sendsms
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsms_process # end
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsmsd # result queue_code:d3556390b4631966740f655f7ee8cf53 to:573205652663 flag:2 smslog_id:46488
    • 2017-01-27 23:44:36 PID588bdb63e3dd9 - L2 sendsmsd # finish processing queue_code:d3556390b4631966740f655f7ee8cf53 uid:1 sender_id:1234 queue_count:1 sms_count:1
      195.154.20.245 162.242.242.235 2017-01-27 23:44:52 PID588bdb74d8718 - L2 intico__callback # pushed messageId:alss-580e0ca9-0991abab status:DELIVRD

We really don’t understand what is going on.