Credit not being deducted for user when sms is sent

Am able to send out and receive message on phone but user credit not being deducted despite adding rate

41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms # start uid:2 sender_id:[M-BET] smsc:[]
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_create # saving queue_code:15a866055375de17e9c22e23ccecec0d src:M-BET scheduled:2019-07-21 23:46:02
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_create # saved queue_code:15a866055375de17e9c22e23ccecec0d id:103
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms # dst_count:1 sms_count:1 total_charges:0.15
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_push # saving queue_code:15a866055375de17e9c22e23ccecec0d dst:260976198318
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_push # saved queue_code:15a866055375de17e9c22e23ccecec0d smslog_id:2286
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms # end queue_code:15a866055375de17e9c22e23ccecec0d queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # start processing queue_code:15a866055375de17e9c22e23ccecec0d chunk:0 queue_count:1 sms_count:1 scheduled:2019-07-21 18:46:02 uid:2 gpid:0 sender_id:M-BET
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # sending queue_code:15a866055375de17e9c22e23ccecec0d smslog_id:2286 to:260976198318 sms_count:1 counter:1
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms_process # start
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplerate_hook_rate_cansend # allowed user uid:2 sms_to:260976198318 adhoc_credit:999.998 count:1 rate:0.150 charge:0.15 adhoc_balance:999.848
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms # saving smslog_id:2286 u:2 parent_uid:0 g:0 gw:kannel smsc:routesms s:M-BET d:260976198318 type:text unicode:0 status:0
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms_process # saved smslog_id:2286 id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplerate_hook_rate_deduct # enter smslog_id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplebilling_hook_billing_post # saving smslog_id:2286 rate:0.150 count:1 charge:0.15
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplebilling_hook_billing_post # saved smslog_id:2286 id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms_process # end
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # result queue_code:15a866055375de17e9c22e23ccecec0d to:260976198318 flag:1 smslog_id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # finish processing queue_code:15a866055375de17e9c22e23ccecec0d uid:2 sender_id:M-BET queue_count:1 sms_count:1
      178.79.154.208 178.79.154.208 2019-07-21 18:46:03 PID5d3488bb3995d - L2 kannel__call # start load:/var/www/html/criticalsms/plugin/gateway/kannel/dlr.php
      178.79.154.208 178.79.154.208 2019-07-21 18:46:03 PID5d3488bb3995d - L2 kannel__dlr # unable to process DLR. remote_addr:[178.79.154.208] or remote_host:[178.79.154.208] does not match with your bearerbox_host config:[localhost] smsc:[routesms]
      178.79.154.208 178.79.154.208 2019-07-21 18:46:10 PID5d3488c2997fc - L2 kannel__call # start load:/var/www/html/criticalsms/plugin/gateway/kannel/dlr.php
      178.79.154.208 178.79.154.208 2019-07-21 18:46:10 PID5d3488c2997fc - L2 kannel__dlr # unable to process DLR. remote_addr:[178.79.154.208] or remote_host:[178.79.154.208] does not match with your bearerbox_host config:[localhost] smsc:[routesms]

41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms # start uid:2 sender_id:[M-BET] smsc:[]
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_create # saving queue_code:15a866055375de17e9c22e23ccecec0d src:M-BET scheduled:2019-07-21 23:46:02
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_create # saved queue_code:15a866055375de17e9c22e23ccecec0d id:103
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms # dst_count:1 sms_count:1 total_charges:0.15
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_push # saving queue_code:15a866055375de17e9c22e23ccecec0d dst:260976198318
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms_queue_push # saved queue_code:15a866055375de17e9c22e23ccecec0d smslog_id:2286
41.223.117.77 178.79.154.208 2019-07-21 18:46:02 PID5d3488ba18c2b chris L2 sendsms # end queue_code:15a866055375de17e9c22e23ccecec0d queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # start processing queue_code:15a866055375de17e9c22e23ccecec0d chunk:0 queue_count:1 sms_count:1 scheduled:2019-07-21 18:46:02 uid:2 gpid:0 sender_id:M-BET
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # sending queue_code:15a866055375de17e9c22e23ccecec0d smslog_id:2286 to:260976198318 sms_count:1 counter:1
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms_process # start
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplerate_hook_rate_cansend # allowed user uid:2 sms_to:260976198318 adhoc_credit:999.998 count:1 rate:0.150 charge:0.15 adhoc_balance:999.848
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms # saving smslog_id:2286 u:2 parent_uid:0 g:0 gw:kannel smsc:routesms s:M-BET d:260976198318 type:text unicode:0 status:0
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms_process # saved smslog_id:2286 id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplerate_hook_rate_deduct # enter smslog_id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplebilling_hook_billing_post # saving smslog_id:2286 rate:0.150 count:1 charge:0.15
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 simplebilling_hook_billing_post # saved smslog_id:2286 id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsms_process # end
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # result queue_code:15a866055375de17e9c22e23ccecec0d to:260976198318 flag:1 smslog_id:2286
    • 2019-07-21 18:46:02 PID5d3488bad8691 - L2 sendsmsd # finish processing queue_code:15a866055375de17e9c22e23ccecec0d uid:2 sender_id:M-BET queue_count:1 sms_count:1
      178.79.154.208 178.79.154.208 2019-07-21 18:46:03 PID5d3488bb3995d - L2 kannel__call # start load:/var/www/html/criticalsms/plugin/gateway/kannel/dlr.php
      178.79.154.208 178.79.154.208 2019-07-21 18:46:03 PID5d3488bb3995d - L2 kannel__dlr # unable to process DLR. remote_addr:[178.79.154.208] or remote_host:[178.79.154.208] does not match with your bearerbox_host config:[localhost] smsc:[routesms]
      178.79.154.208 178.79.154.208 2019-07-21 18:46:10 PID5d3488c2997fc - L2 kannel__call # start load:/var/www/html/criticalsms/plugin/gateway/kannel/dlr.php
      178.79.154.208 178.79.154.208 2019-07-21 18:46:10 PID5d3488c2997fc - L2 kannel__dlr # unable to process DLR. remote_addr:[178.79.154.208] or remote_host:[178.79.154.208] does not match with your bearerbox_host config:[localhost] smsc:[routesms]

Help me pleasaea

Thanks

Chris