SELECT * FROM `voice_compaign_summary` WHERE status ='C' AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0 AND start_date>'1764700201'
Array
(
    [0] => 80710
    [compaign_id] => 80710
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764905406
    [start_date] => 1764905406
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 529
    [answered_sms] => 529
    [14] => 18658
    [busy_sms] => 18658
    [15] => 10
    [congestion_sms] => 10
    [16] => 33304
    [failed_sms] => 33304
    [17] => 0
    [hangup_sms] => 0
    [18] => 2499
    [no_answer_sms] => 2499
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 539
    [user_answered_sms] => 539
    [27] => 18658
    [user_busy_sms] => 18658
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 33304
    [user_failed_sms] => 33304
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2499
    [user_no_answer_sms] => 2499
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 229
    [credit_seq] => 229
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764959343
    [last_credit_update_time] => 1764959343
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 80710
\compaign_type : ATans per 30.05319 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16530

user answer per : 539
below is the redis data 15991 UPDATE voice_compaign_detail_80710 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15991 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='539', `user_busy_sms`='18658', `user_congestion_sms`='0', `user_failed_sms`='33304', `user_hangup_sms`='0', `user_no_answer_sms`='2499', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=80710 LIMIT 1 


Time Diff : 0.677

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764700982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764701941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764702961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764703982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764704941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764705961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764706981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764707942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764708962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764709982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764710941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764711961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764712981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764713941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764714961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764715982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764716942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764717961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718326'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764718981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719341'  
Array
(
    [0] => 80711
    [compaign_id] => 80711
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764905406
    [start_date] => 1764905406
    [9] => 0
    [end_date] => 0
    [10] => 10228
    [total_sms] => 10228
    [11] => 10228
    [sent_sms] => 10228
    [12] => 0
    [duplicate_sms] => 0
    [13] => 63
    [answered_sms] => 63
    [14] => 2130
    [busy_sms] => 2130
    [15] => 1
    [congestion_sms] => 1
    [16] => 7775
    [failed_sms] => 7775
    [17] => 0
    [hangup_sms] => 0
    [18] => 259
    [no_answer_sms] => 259
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 63
    [user_answered_sms] => 63
    [27] => 2130
    [user_busy_sms] => 2130
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 7775
    [user_failed_sms] => 7775
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 259
    [user_no_answer_sms] => 259
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 309
    [credit_seq] => 309
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764978483
    [last_credit_update_time] => 1764978483
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 80711
\compaign_type : ATans per 27.02232 
ans sms 10228
dnd sms 0

require answer perrequire answer per : 2764

user answer per : 63
below is the redis data 2701 UPDATE voice_compaign_detail_80711 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2701 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='64', `user_busy_sms`='2130', `user_congestion_sms`='0', `user_failed_sms`='7775', `user_hangup_sms`='0', `user_no_answer_sms`='259', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=80711 LIMIT 1 


Time Diff : 0.645

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764719942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764720961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764721981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764722941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764723961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764724981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764725941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764726961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764727981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764728942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764729961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764730981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764731941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732902'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 453
    [total_sms] => 453
    [11] => 453
    [sent_sms] => 453
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 453
    [failed_sms] => 453
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 453
    [user_failed_sms] => 453
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764992101
    [last_credit_update_time] => 1764992101
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.45618 
ans sms 453
dnd sms 0

require answer perrequire answer per : 134

user answer per : 0
below is the redis data 134 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 134 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='453', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 4.768

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764732962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733381'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 1070
    [total_sms] => 1070
    [11] => 1070
    [sent_sms] => 1070
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1070
    [failed_sms] => 1070
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1070
    [user_failed_sms] => 1070
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764992581
    [last_credit_update_time] => 1764992581
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.74518 
ans sms 1070
dnd sms 0

require answer perrequire answer per : 276

user answer per : 0
below is the redis data 276 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 276 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1070', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 2.019

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733441'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 1070
    [total_sms] => 1070
    [11] => 1070
    [sent_sms] => 1070
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1070
    [failed_sms] => 1070
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1070
    [user_failed_sms] => 1070
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764992581
    [last_credit_update_time] => 1764992581
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.22508 
ans sms 1070
dnd sms 0

require answer perrequire answer per : 313

user answer per : 0
below is the redis data 313 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 313 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1070', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 2.019

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764733982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734101'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 1918
    [total_sms] => 1918
    [11] => 1918
    [sent_sms] => 1918
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1918
    [failed_sms] => 1918
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1918
    [user_failed_sms] => 1918
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 7
    [credit_seq] => 7
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764993241
    [last_credit_update_time] => 1764993241
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.59412 
ans sms 1918
dnd sms 0

require answer perrequire answer per : 549

user answer per : 0
below is the redis data 549 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 549 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1918', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 1.126

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734821'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 2863
    [total_sms] => 2863
    [11] => 2863
    [sent_sms] => 2863
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 2863
    [failed_sms] => 2863
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 2863
    [user_failed_sms] => 2863
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764993962
    [last_credit_update_time] => 1764993962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.54562 
ans sms 2863
dnd sms 0

require answer perrequire answer per : 789

user answer per : 0
below is the redis data 789 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 789 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='2863', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.754

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764734942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735788'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735904'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764735962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736562'  
Array
(
    [0] => 81169
    [compaign_id] => 81169
    [1] => u29720
    [user_id] => u29720
    [2] => 68492,
    [group_ids] => 68492,
    [3] => 
    [sender_id] => 
    [4] => Mylaram Congress.mp3
    [filename] => Mylaram Congress.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995400
    [start_date] => 1764995400
    [9] => 0
    [end_date] => 0
    [10] => 785
    [total_sms] => 785
    [11] => 785
    [sent_sms] => 785
    [12] => 0
    [duplicate_sms] => 0
    [13] => 106
    [answered_sms] => 106
    [14] => 60
    [busy_sms] => 60
    [15] => 1
    [congestion_sms] => 1
    [16] => 93
    [failed_sms] => 93
    [17] => 0
    [hangup_sms] => 0
    [18] => 92
    [no_answer_sms] => 92
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 296
    [cutting_sms] => 296
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 106
    [user_answered_sms] => 106
    [27] => 60
    [user_busy_sms] => 60
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 93
    [user_failed_sms] => 93
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 92
    [user_no_answer_sms] => 92
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 137
    [user_dnd_sms] => 137
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 1
    [isScheduled] => 1
    [39] => 1764992646
    [create_date] => 1764992646
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995407,"compaign_read_complete_time":1764995408,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995463}
    [action_time] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995407,"compaign_read_complete_time":1764995408,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995463}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81169_06122025_100005AM_156
    [common_name] => u29720_81169_06122025_100005AM_156
    [52] => 1764835204_u29720_voice.wav
    [voice_file] => 1764835204_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68492
    [temp_group_table] => contacts_temp_group_68492
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764995703
    [reschedule_last_check_time] => 1764995703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764995702
    [last_credit_update_time] => 1764995702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81169
\compaign_type : Rans per 30.10219 
ans sms 785
dnd sms 137

require answer perrequire answer per : 196

user answer per : 106
below is the redis data 90 UPDATE voice_compaign_detail_81169 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 90 Total Failed : 206 no_answer_count : 69 Busy count :53 congestion_count : 25 failed_count : 59UPDATE voice_compaign_detail_81169 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_81169 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81169 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81169 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='196', `user_busy_sms`='113', `user_congestion_sms`='26', `user_failed_sms`='152', `user_hangup_sms`='0', `user_no_answer_sms`='161', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=81169 LIMIT 1 


Time Diff : 0.313

Array
(
    [0] => 81170
    [compaign_id] => 81170
    [1] => u29720
    [user_id] => u29720
    [2] => 68493,
    [group_ids] => 68493,
    [3] => 
    [sender_id] => 
    [4] => Narkuda.mp3
    [filename] => Narkuda.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995400
    [start_date] => 1764995400
    [9] => 0
    [end_date] => 0
    [10] => 1661
    [total_sms] => 1661
    [11] => 1661
    [sent_sms] => 1661
    [12] => 0
    [duplicate_sms] => 0
    [13] => 209
    [answered_sms] => 209
    [14] => 91
    [busy_sms] => 91
    [15] => 0
    [congestion_sms] => 0
    [16] => 164
    [failed_sms] => 164
    [17] => 0
    [hangup_sms] => 0
    [18] => 186
    [no_answer_sms] => 186
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 636
    [cutting_sms] => 636
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 209
    [user_answered_sms] => 209
    [27] => 91
    [user_busy_sms] => 91
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 164
    [user_failed_sms] => 164
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 186
    [user_no_answer_sms] => 186
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 375
    [user_dnd_sms] => 375
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 1
    [isScheduled] => 1
    [39] => 1764992744
    [create_date] => 1764992744
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995410,"compaign_read_complete_time":1764995413,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995465}
    [action_time] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995410,"compaign_read_complete_time":1764995413,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995465}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81170_06122025_100005AM_691
    [common_name] => u29720_81170_06122025_100005AM_691
    [52] => 1764908679_u29720_voice.wav
    [voice_file] => 1764908679_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68493
    [temp_group_table] => contacts_temp_group_68493
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764995703
    [reschedule_last_check_time] => 1764995703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764995702
    [last_credit_update_time] => 1764995702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81170
\compaign_type : Rans per 28.48426 
ans sms 1661
dnd sms 375

require answer perrequire answer per : 367

user answer per : 209
below is the redis data 158 UPDATE voice_compaign_detail_81170 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 158 Total Failed : 478 no_answer_count : 160 Busy count :123 congestion_count : 57 failed_count : 138UPDATE voice_compaign_detail_81170 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 160 UPDATE voice_compaign_detail_81170 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 123 UPDATE voice_compaign_detail_81170 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_81170 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='367', `user_busy_sms`='214', `user_congestion_sms`='57', `user_failed_sms`='302', `user_hangup_sms`='0', `user_no_answer_sms`='346', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81170 LIMIT 1 


Time Diff : 0.148

Array
(
    [0] => 81171
    [compaign_id] => 81171
    [1] => u29720
    [user_id] => u29720
    [2] => 68494,
    [group_ids] => 68494,
    [3] => 
    [sender_id] => 
    [4] => Palamakol.mp3
    [filename] => Palamakol.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995400
    [start_date] => 1764995400
    [9] => 0
    [end_date] => 0
    [10] => 1641
    [total_sms] => 1641
    [11] => 1641
    [sent_sms] => 1641
    [12] => 0
    [duplicate_sms] => 0
    [13] => 169
    [answered_sms] => 169
    [14] => 86
    [busy_sms] => 86
    [15] => 2
    [congestion_sms] => 2
    [16] => 225
    [failed_sms] => 225
    [17] => 0
    [hangup_sms] => 0
    [18] => 180
    [no_answer_sms] => 180
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 680
    [cutting_sms] => 680
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 169
    [user_answered_sms] => 169
    [27] => 86
    [user_busy_sms] => 86
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 225
    [user_failed_sms] => 225
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 180
    [user_no_answer_sms] => 180
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 299
    [user_dnd_sms] => 299
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 1
    [isScheduled] => 1
    [39] => 1764992808
    [create_date] => 1764992808
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995413,"compaign_read_complete_time":1764995416,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995465}
    [action_time] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995413,"compaign_read_complete_time":1764995416,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995465}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81171_06122025_100005AM_195
    [common_name] => u29720_81171_06122025_100005AM_195
    [52] => 1764908751_u29720_voice.wav
    [voice_file] => 1764908751_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68494
    [temp_group_table] => contacts_temp_group_68494
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764995703
    [reschedule_last_check_time] => 1764995703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764995702
    [last_credit_update_time] => 1764995702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81171
\compaign_type : Rans per 29.38892 
ans sms 1641
dnd sms 299

require answer perrequire answer per : 395

user answer per : 169
below is the redis data 226 UPDATE voice_compaign_detail_81171 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 226 Total Failed : 454 no_answer_count : 152 Busy count :117 congestion_count : 54 failed_count : 131UPDATE voice_compaign_detail_81171 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 152 UPDATE voice_compaign_detail_81171 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_81171 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81171 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 131 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='395', `user_busy_sms`='203', `user_congestion_sms`='56', `user_failed_sms`='356', `user_hangup_sms`='0', `user_no_answer_sms`='332', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81171 LIMIT 1 


Time Diff : 0.15

Array
(
    [0] => 81172
    [compaign_id] => 81172
    [1] => u29720
    [user_id] => u29720
    [2] => 68495,
    [group_ids] => 68495,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3
    [filename] => Ghanpur Mulugu.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995400
    [start_date] => 1764995400
    [9] => 0
    [end_date] => 0
    [10] => 2182
    [total_sms] => 2182
    [11] => 2182
    [sent_sms] => 2182
    [12] => 0
    [duplicate_sms] => 0
    [13] => 302
    [answered_sms] => 302
    [14] => 118
    [busy_sms] => 118
    [15] => 0
    [congestion_sms] => 0
    [16] => 258
    [failed_sms] => 258
    [17] => 0
    [hangup_sms] => 0
    [18] => 225
    [no_answer_sms] => 225
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 935
    [cutting_sms] => 935
    [22] => 344
    [dnd_sms] => 344
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 302
    [user_answered_sms] => 302
    [27] => 118
    [user_busy_sms] => 118
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 258
    [user_failed_sms] => 258
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 225
    [user_no_answer_sms] => 225
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 344
    [user_dnd_sms] => 344
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 1
    [isScheduled] => 1
    [39] => 1764992934
    [create_date] => 1764992934
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995416,"compaign_read_complete_time":1764995420,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995466}
    [action_time] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995416,"compaign_read_complete_time":1764995420,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995466}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81172_06122025_100006AM_279
    [common_name] => u29720_81172_06122025_100006AM_279
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68495
    [temp_group_table] => contacts_temp_group_68495
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764995703
    [reschedule_last_check_time] => 1764995703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764995702
    [last_credit_update_time] => 1764995702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81172
\compaign_type : Rans per 28.15525 
ans sms 2182
dnd sms 344

require answer perrequire answer per : 518

user answer per : 302
below is the redis data 216 UPDATE voice_compaign_detail_81172 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 216 Total Failed : 719 no_answer_count : 240 Busy count :185 congestion_count : 86 failed_count : 208UPDATE voice_compaign_detail_81172 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 240 UPDATE voice_compaign_detail_81172 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 185 UPDATE voice_compaign_detail_81172 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 86 UPDATE voice_compaign_detail_81172 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 208 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='518', `user_busy_sms`='303', `user_congestion_sms`='86', `user_failed_sms`='466', `user_hangup_sms`='0', `user_no_answer_sms`='465', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='344' WHERE `compaign_id`=81172 LIMIT 1 


Time Diff : 0.113

Array
(
    [0] => 81173
    [compaign_id] => 81173
    [1] => u29720
    [user_id] => u29720
    [2] => 68496,
    [group_ids] => 68496,
    [3] => 
    [sender_id] => 
    [4] => Karkapally.mp3
    [filename] => Karkapally.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995400
    [start_date] => 1764995400
    [9] => 0
    [end_date] => 0
    [10] => 345
    [total_sms] => 345
    [11] => 345
    [sent_sms] => 345
    [12] => 0
    [duplicate_sms] => 0
    [13] => 61
    [answered_sms] => 61
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 101
    [cutting_sms] => 101
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 61
    [user_answered_sms] => 61
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 41
    [user_no_answer_sms] => 41
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 62
    [user_dnd_sms] => 62
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 1
    [isScheduled] => 1
    [39] => 1764993087
    [create_date] => 1764993087
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995419,"compaign_read_complete_time":1764995420,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995463}
    [action_time] => {"api_allot_time":1764995406,"compaign_read_start_time":1764995419,"compaign_read_complete_time":1764995420,"compaign_send_start_time":1764995462,"compaign_send_complete_time":1764995463}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81173_06122025_100006AM_287
    [common_name] => u29720_81173_06122025_100006AM_287
    [52] => 1764993087_u29720_voice.wav
    [voice_file] => 1764993087_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68496
    [temp_group_table] => contacts_temp_group_68496
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764995703
    [reschedule_last_check_time] => 1764995703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764995702
    [last_credit_update_time] => 1764995702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81173
\compaign_type : Rans per 27.50372 
ans sms 345
dnd sms 62

require answer perrequire answer per : 78

user answer per : 61
below is the redis data 17 UPDATE voice_compaign_detail_81173 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 Total Failed : 84 no_answer_count : 29 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_81173 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81173 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81173 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81173 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='78', `user_busy_sms`='48', `user_congestion_sms`='10', `user_failed_sms`='77', `user_hangup_sms`='0', `user_no_answer_sms`='70', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81173 LIMIT 1 


Time Diff : 0.719

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736621'  
Array
(
    [0] => 81166
    [compaign_id] => 81166
    [1] => u29720
    [user_id] => u29720
    [2] => 68489,
    [group_ids] => 68489,
    [3] => 
    [sender_id] => 
    [4] => MLKNR CONGRESS.mp3
    [filename] => MLKNR CONGRESS.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995400
    [start_date] => 1764995400
    [9] => 0
    [end_date] => 0
    [10] => 1777
    [total_sms] => 1777
    [11] => 1777
    [sent_sms] => 1777
    [12] => 0
    [duplicate_sms] => 0
    [13] => 262
    [answered_sms] => 262
    [14] => 125
    [busy_sms] => 125
    [15] => 0
    [congestion_sms] => 0
    [16] => 166
    [failed_sms] => 166
    [17] => 0
    [hangup_sms] => 0
    [18] => 238
    [no_answer_sms] => 238
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 696
    [cutting_sms] => 696
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 262
    [user_answered_sms] => 262
    [27] => 125
    [user_busy_sms] => 125
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 166
    [user_failed_sms] => 166
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 238
    [user_no_answer_sms] => 238
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 290
    [user_dnd_sms] => 290
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 1
    [isScheduled] => 1
    [39] => 1764992517
    [create_date] => 1764992517
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995536,"compaign_read_start_time":1764995537,"compaign_read_complete_time":1764995540,"compaign_send_start_time":1764995581,"compaign_send_complete_time":1764995585}
    [action_time] => {"api_allot_time":1764995536,"compaign_read_start_time":1764995537,"compaign_read_complete_time":1764995540,"compaign_send_start_time":1764995581,"compaign_send_complete_time":1764995585}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81166_06122025_100005AM_361
    [common_name] => u29720_81166_06122025_100005AM_361
    [52] => 1764833474_u29720_voice.wav
    [voice_file] => 1764833474_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68489
    [temp_group_table] => contacts_temp_group_68489
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764995703
    [reschedule_last_check_time] => 1764995703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764995762
    [last_credit_update_time] => 1764995762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81166
\compaign_type : Rans per 25.83369 
ans sms 1777
dnd sms 290

require answer perrequire answer per : 385

user answer per : 262
below is the redis data 123 UPDATE voice_compaign_detail_81166 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 123 Total Failed : 573 no_answer_count : 192 Busy count :148 congestion_count : 69 failed_count : 164UPDATE voice_compaign_detail_81166 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 192 UPDATE voice_compaign_detail_81166 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 148 UPDATE voice_compaign_detail_81166 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_81166 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 164 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='385', `user_busy_sms`='273', `user_congestion_sms`='69', `user_failed_sms`='330', `user_hangup_sms`='0', `user_no_answer_sms`='430', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=81166 LIMIT 1 


Time Diff : 0.119

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736801'  
Array
(
    [0] => 81183
    [compaign_id] => 81183
    [1] => u29695
    [user_id] => u29695
    [2] => 68467,
    [group_ids] => 68467,
    [3] => 
    [sender_id] => 
    [4] => Andranagar DV.mp3
    [filename] => Andranagar DV.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995703
    [start_date] => 1764995703
    [9] => 0
    [end_date] => 0
    [10] => 539
    [total_sms] => 539
    [11] => 539
    [sent_sms] => 539
    [12] => 0
    [duplicate_sms] => 0
    [13] => 79
    [answered_sms] => 79
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 167
    [failed_sms] => 167
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 218
    [cutting_sms] => 218
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 79
    [user_answered_sms] => 79
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 167
    [user_failed_sms] => 167
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 51
    [user_no_answer_sms] => 51
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764995703
    [create_date] => 1764995703
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995710,"compaign_read_start_time":1764995710,"compaign_read_complete_time":1764995711,"compaign_send_start_time":1764995762,"compaign_send_complete_time":1764995767}
    [action_time] => {"api_allot_time":1764995710,"compaign_read_start_time":1764995710,"compaign_read_complete_time":1764995711,"compaign_send_start_time":1764995762,"compaign_send_complete_time":1764995767}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81183_06122025_100510AM_801
    [common_name] => u29695_81183_06122025_100510AM_801
    [52] => 1764995703_u29695_voice.wav
    [voice_file] => 1764995703_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68467
    [temp_group_table] => contacts_temp_group_68467
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996001
    [last_credit_update_time] => 1764996001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81183
\compaign_type : Rans per 27.58347 
ans sms 539
dnd sms 0

require answer perrequire answer per : 149

user answer per : 79
below is the redis data 70 UPDATE voice_compaign_detail_81183 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 70 Total Failed : 148 no_answer_count : 50 Busy count :38 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_81183 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_81183 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81183 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81183 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='149', `user_busy_sms`='62', `user_congestion_sms`='18', `user_failed_sms`='209', `user_hangup_sms`='0', `user_no_answer_sms`='101', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81183 LIMIT 1 


Time Diff : 0.341

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736862'  
Array
(
    [0] => 81185
    [compaign_id] => 81185
    [1] => u29695
    [user_id] => u29695
    [2] => 68469,
    [group_ids] => 68469,
    [3] => 
    [sender_id] => 
    [4] => Lakkampally DV.mp3
    [filename] => Lakkampally DV.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995740
    [start_date] => 1764995740
    [9] => 0
    [end_date] => 0
    [10] => 453
    [total_sms] => 453
    [11] => 453
    [sent_sms] => 453
    [12] => 0
    [duplicate_sms] => 0
    [13] => 48
    [answered_sms] => 48
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 142
    [failed_sms] => 142
    [17] => 0
    [hangup_sms] => 0
    [18] => 56
    [no_answer_sms] => 56
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 178
    [cutting_sms] => 178
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 48
    [user_answered_sms] => 48
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 142
    [user_failed_sms] => 142
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 56
    [user_no_answer_sms] => 56
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764995740
    [create_date] => 1764995740
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995746,"compaign_read_start_time":1764995747,"compaign_read_complete_time":1764995747,"compaign_send_start_time":1764995762,"compaign_send_complete_time":1764995767}
    [action_time] => {"api_allot_time":1764995746,"compaign_read_start_time":1764995747,"compaign_read_complete_time":1764995747,"compaign_send_start_time":1764995762,"compaign_send_complete_time":1764995767}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81185_06122025_100546AM_670
    [common_name] => u29695_81185_06122025_100546AM_670
    [52] => 1764995740_u29695_voice.wav
    [voice_file] => 1764995740_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68469
    [temp_group_table] => contacts_temp_group_68469
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996001
    [last_credit_update_time] => 1764996001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81185
\compaign_type : Rans per 27.804 
ans sms 453
dnd sms 0

require answer perrequire answer per : 126

user answer per : 48
below is the redis data 78 UPDATE voice_compaign_detail_81185 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 78 Total Failed : 100 no_answer_count : 34 Busy count :26 congestion_count : 12 failed_count : 28UPDATE voice_compaign_detail_81185 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81185 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81185 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81185 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='126', `user_busy_sms`='55', `user_congestion_sms`='12', `user_failed_sms`='170', `user_hangup_sms`='0', `user_no_answer_sms`='90', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81185 LIMIT 1 


Time Diff : 0.541

Array
(
    [0] => 81186
    [compaign_id] => 81186
    [1] => u29695
    [user_id] => u29695
    [2] => 68470,
    [group_ids] => 68470,
    [3] => 
    [sender_id] => 
    [4] => Ankapoor DV.mp3
    [filename] => Ankapoor DV.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995770
    [start_date] => 1764995770
    [9] => 0
    [end_date] => 0
    [10] => 1282
    [total_sms] => 1282
    [11] => 1282
    [sent_sms] => 1282
    [12] => 0
    [duplicate_sms] => 0
    [13] => 112
    [answered_sms] => 112
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 422
    [failed_sms] => 422
    [17] => 0
    [hangup_sms] => 0
    [18] => 84
    [no_answer_sms] => 84
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 616
    [cutting_sms] => 616
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 112
    [user_answered_sms] => 112
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 422
    [user_failed_sms] => 422
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 84
    [user_no_answer_sms] => 84
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764995770
    [create_date] => 1764995770
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995776,"compaign_read_start_time":1764995777,"compaign_read_complete_time":1764995779,"compaign_send_start_time":1764995822,"compaign_send_complete_time":1764995824}
    [action_time] => {"api_allot_time":1764995776,"compaign_read_start_time":1764995777,"compaign_read_complete_time":1764995779,"compaign_send_start_time":1764995822,"compaign_send_complete_time":1764995824}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81186_06122025_100616AM_939
    [common_name] => u29695_81186_06122025_100616AM_939
    [52] => 1764995770_u29695_voice.wav
    [voice_file] => 1764995770_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68470
    [temp_group_table] => contacts_temp_group_68470
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996062
    [last_credit_update_time] => 1764996062
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81186
\compaign_type : Rans per 26.93854 
ans sms 1282
dnd sms 0

require answer perrequire answer per : 346

user answer per : 112
below is the redis data 234 UPDATE voice_compaign_detail_81186 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 234 Total Failed : 382 no_answer_count : 128 Busy count :99 congestion_count : 46 failed_count : 109UPDATE voice_compaign_detail_81186 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 128 UPDATE voice_compaign_detail_81186 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 99 UPDATE voice_compaign_detail_81186 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81186 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 109 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='346', `user_busy_sms`='147', `user_congestion_sms`='46', `user_failed_sms`='531', `user_hangup_sms`='0', `user_no_answer_sms`='212', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81186 LIMIT 1 


Time Diff : 0.165

Array
(
    [0] => 81187
    [compaign_id] => 81187
    [1] => u29695
    [user_id] => u29695
    [2] => 68471,
    [group_ids] => 68471,
    [3] => 
    [sender_id] => 
    [4] => Kamtam CV.mp3
    [filename] => Kamtam CV.mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995795
    [start_date] => 1764995795
    [9] => 0
    [end_date] => 0
    [10] => 408
    [total_sms] => 408
    [11] => 408
    [sent_sms] => 408
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 103
    [failed_sms] => 103
    [17] => 0
    [hangup_sms] => 0
    [18] => 44
    [no_answer_sms] => 44
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 166
    [cutting_sms] => 166
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 103
    [user_failed_sms] => 103
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 44
    [user_no_answer_sms] => 44
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764995795
    [create_date] => 1764995795
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995800,"compaign_read_start_time":1764995801,"compaign_read_complete_time":1764995802,"compaign_send_start_time":1764995822,"compaign_send_complete_time":1764995823}
    [action_time] => {"api_allot_time":1764995800,"compaign_read_start_time":1764995801,"compaign_read_complete_time":1764995802,"compaign_send_start_time":1764995822,"compaign_send_complete_time":1764995823}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81187_06122025_100640AM_589
    [common_name] => u29695_81187_06122025_100640AM_589
    [52] => 1764995795_u29695_voice.wav
    [voice_file] => 1764995795_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68471
    [temp_group_table] => contacts_temp_group_68471
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996062
    [last_credit_update_time] => 1764996062
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81187
\compaign_type : Rans per 27.23059 
ans sms 408
dnd sms 0

require answer perrequire answer per : 112

user answer per : 60
below is the redis data 52 UPDATE voice_compaign_detail_81187 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 52 Total Failed : 114 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 31UPDATE voice_compaign_detail_81187 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81187 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81187 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81187 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='112', `user_busy_sms`='65', `user_congestion_sms`='14', `user_failed_sms`='134', `user_hangup_sms`='0', `user_no_answer_sms`='83', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81187 LIMIT 1 


Time Diff : 0.52

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764736981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737042'  
Array
(
    [0] => 81188
    [compaign_id] => 81188
    [1] => u29695
    [user_id] => u29695
    [2] => 68473,
    [group_ids] => 68473,
    [3] => 
    [sender_id] => 
    [4] => Kudwanpoor DV.mp3
    [filename] => Kudwanpoor DV.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764995918
    [start_date] => 1764995918
    [9] => 0
    [end_date] => 0
    [10] => 961
    [total_sms] => 961
    [11] => 961
    [sent_sms] => 961
    [12] => 0
    [duplicate_sms] => 0
    [13] => 101
    [answered_sms] => 101
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 289
    [failed_sms] => 289
    [17] => 0
    [hangup_sms] => 0
    [18] => 104
    [no_answer_sms] => 104
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 421
    [cutting_sms] => 421
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 101
    [user_answered_sms] => 101
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 289
    [user_failed_sms] => 289
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 104
    [user_no_answer_sms] => 104
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764995918
    [create_date] => 1764995918
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764995924,"compaign_read_start_time":1764995927,"compaign_read_complete_time":1764995928,"compaign_send_start_time":1764995941,"compaign_send_complete_time":1764995943}
    [action_time] => {"api_allot_time":1764995924,"compaign_read_start_time":1764995927,"compaign_read_complete_time":1764995928,"compaign_send_start_time":1764995941,"compaign_send_complete_time":1764995943}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81188_06122025_100844AM_358
    [common_name] => u29695_81188_06122025_100844AM_358
    [52] => 1764995918_u29695_voice.wav
    [voice_file] => 1764995918_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68473
    [temp_group_table] => contacts_temp_group_68473
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996182
    [last_credit_update_time] => 1764996182
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81188
\compaign_type : Rans per 28.75176 
ans sms 961
dnd sms 0

require answer perrequire answer per : 277

user answer per : 101
below is the redis data 176 UPDATE voice_compaign_detail_81188 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 176 Total Failed : 245 no_answer_count : 82 Busy count :63 congestion_count : 30 failed_count : 70UPDATE voice_compaign_detail_81188 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_81188 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_81188 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81188 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 70 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='277', `user_busy_sms`='109', `user_congestion_sms`='30', `user_failed_sms`='359', `user_hangup_sms`='0', `user_no_answer_sms`='186', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81188 LIMIT 1 


Time Diff : 0.284

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737161'  
Array
(
    [0] => 81189
    [compaign_id] => 81189
    [1] => u29695
    [user_id] => u29695
    [2] => 68476,
    [group_ids] => 68476,
    [3] => 
    [sender_id] => 
    [4] => Aloor CV.mp3
    [filename] => Aloor CV.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996093
    [start_date] => 1764996093
    [9] => 0
    [end_date] => 0
    [10] => 2417
    [total_sms] => 2417
    [11] => 2417
    [sent_sms] => 2417
    [12] => 0
    [duplicate_sms] => 0
    [13] => 317
    [answered_sms] => 317
    [14] => 119
    [busy_sms] => 119
    [15] => 0
    [congestion_sms] => 0
    [16] => 520
    [failed_sms] => 520
    [17] => 0
    [hangup_sms] => 0
    [18] => 213
    [no_answer_sms] => 213
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1248
    [cutting_sms] => 1248
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 317
    [user_answered_sms] => 317
    [27] => 119
    [user_busy_sms] => 119
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 520
    [user_failed_sms] => 520
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 213
    [user_no_answer_sms] => 213
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996093
    [create_date] => 1764996093
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996100,"compaign_read_start_time":1764996101,"compaign_read_complete_time":1764996104,"compaign_send_start_time":1764996121,"compaign_send_complete_time":1764996132}
    [action_time] => {"api_allot_time":1764996100,"compaign_read_start_time":1764996101,"compaign_read_complete_time":1764996104,"compaign_send_start_time":1764996121,"compaign_send_complete_time":1764996132}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81189_06122025_101140AM_303
    [common_name] => u29695_81189_06122025_101140AM_303
    [52] => 1764996093_u29695_voice.wav
    [voice_file] => 1764996093_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68476
    [temp_group_table] => contacts_temp_group_68476
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996361
    [last_credit_update_time] => 1764996361
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81189
\compaign_type : Rans per 30.82157 
ans sms 2417
dnd sms 0

require answer perrequire answer per : 745

user answer per : 317
below is the redis data 428 UPDATE voice_compaign_detail_81189 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 428 Total Failed : 820 no_answer_count : 274 Busy count :211 congestion_count : 98 failed_count : 237UPDATE voice_compaign_detail_81189 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 274 UPDATE voice_compaign_detail_81189 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 211 UPDATE voice_compaign_detail_81189 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 98 UPDATE voice_compaign_detail_81189 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 237 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='745', `user_busy_sms`='330', `user_congestion_sms`='98', `user_failed_sms`='757', `user_hangup_sms`='0', `user_no_answer_sms`='487', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81189 LIMIT 1 


Time Diff : 0.077

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737281'  
Array
(
    [0] => 81192
    [compaign_id] => 81192
    [1] => u29720
    [user_id] => u29720
    [2] => 68507,
    [group_ids] => 68507,
    [3] => 
    [sender_id] => 
    [4] => Karkapally.mp3
    [filename] => Karkapally.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996128
    [start_date] => 1764996128
    [9] => 0
    [end_date] => 0
    [10] => 205
    [total_sms] => 205
    [11] => 205
    [sent_sms] => 205
    [12] => 0
    [duplicate_sms] => 0
    [13] => 33
    [answered_sms] => 33
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 52
    [failed_sms] => 52
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 56
    [cutting_sms] => 56
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 33
    [user_answered_sms] => 33
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 52
    [user_failed_sms] => 52
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 35
    [user_no_answer_sms] => 35
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996128
    [create_date] => 1764996128
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996133,"compaign_read_start_time":1764996136,"compaign_read_complete_time":1764996137,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996243}
    [action_time] => {"api_allot_time":1764996133,"compaign_read_start_time":1764996136,"compaign_read_complete_time":1764996137,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996243}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81192_06122025_101213AM_441
    [common_name] => u29720_81192_06122025_101213AM_441
    [52] => 1764993087_u29720_voice.wav
    [voice_file] => 1764993087_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68507
    [temp_group_table] => contacts_temp_group_68507
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996422
    [last_credit_update_time] => 1764996422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81192
\compaign_type : Rans per 26.1882 
ans sms 205
dnd sms 0

require answer perrequire answer per : 54

user answer per : 33
below is the redis data 21 UPDATE voice_compaign_detail_81192 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 Total Failed : 35 no_answer_count : 12 Busy count :9 congestion_count : 5 failed_count : 9UPDATE voice_compaign_detail_81192 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81192 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81192 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81192 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='54', `user_busy_sms`='38', `user_congestion_sms`='5', `user_failed_sms`='61', `user_hangup_sms`='0', `user_no_answer_sms`='47', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81192 LIMIT 1 


Time Diff : 0.868

Array
(
    [0] => 81193
    [compaign_id] => 81193
    [1] => u29720
    [user_id] => u29720
    [2] => 68504,
    [group_ids] => 68504,
    [3] => 
    [sender_id] => 
    [4] => Mylaram Congress.mp3
    [filename] => Mylaram Congress.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996129
    [start_date] => 1764996129
    [9] => 0
    [end_date] => 0
    [10] => 452
    [total_sms] => 452
    [11] => 452
    [sent_sms] => 452
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 70
    [busy_sms] => 70
    [15] => 0
    [congestion_sms] => 0
    [16] => 79
    [failed_sms] => 79
    [17] => 0
    [hangup_sms] => 0
    [18] => 69
    [no_answer_sms] => 69
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 172
    [cutting_sms] => 172
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 70
    [user_busy_sms] => 70
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 79
    [user_failed_sms] => 79
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 69
    [user_no_answer_sms] => 69
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996129
    [create_date] => 1764996129
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996136,"compaign_read_start_time":1764996139,"compaign_read_complete_time":1764996140,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996183}
    [action_time] => {"api_allot_time":1764996136,"compaign_read_start_time":1764996139,"compaign_read_complete_time":1764996140,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81193_06122025_101215AM_289
    [common_name] => u29720_81193_06122025_101215AM_289
    [52] => 1764835204_u29720_voice.wav
    [voice_file] => 1764835204_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68504
    [temp_group_table] => contacts_temp_group_68504
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996422
    [last_credit_update_time] => 1764996422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81193
\compaign_type : Rans per 29.28708 
ans sms 452
dnd sms 0

require answer perrequire answer per : 133

user answer per : 62
below is the redis data 71 UPDATE voice_compaign_detail_81193 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 71 Total Failed : 101 no_answer_count : 34 Busy count :26 congestion_count : 12 failed_count : 29UPDATE voice_compaign_detail_81193 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81193 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81193 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81193 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='133', `user_busy_sms`='96', `user_congestion_sms`='12', `user_failed_sms`='108', `user_hangup_sms`='0', `user_no_answer_sms`='103', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81193 LIMIT 1 


Time Diff : 0.538

Array
(
    [0] => 81194
    [compaign_id] => 81194
    [1] => u29720
    [user_id] => u29720
    [2] => 68503,
    [group_ids] => 68503,
    [3] => 
    [sender_id] => 
    [4] => Palamakol.mp3
    [filename] => Palamakol.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996131
    [start_date] => 1764996131
    [9] => 0
    [end_date] => 0
    [10] => 947
    [total_sms] => 947
    [11] => 947
    [sent_sms] => 947
    [12] => 0
    [duplicate_sms] => 0
    [13] => 91
    [answered_sms] => 91
    [14] => 82
    [busy_sms] => 82
    [15] => 0
    [congestion_sms] => 0
    [16] => 254
    [failed_sms] => 254
    [17] => 0
    [hangup_sms] => 0
    [18] => 119
    [no_answer_sms] => 119
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 401
    [cutting_sms] => 401
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 91
    [user_answered_sms] => 91
    [27] => 82
    [user_busy_sms] => 82
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 254
    [user_failed_sms] => 254
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 119
    [user_no_answer_sms] => 119
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996131
    [create_date] => 1764996131
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996137,"compaign_read_start_time":1764996142,"compaign_read_complete_time":1764996144,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996184}
    [action_time] => {"api_allot_time":1764996137,"compaign_read_start_time":1764996142,"compaign_read_complete_time":1764996144,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81194_06122025_101217AM_135
    [common_name] => u29720_81194_06122025_101217AM_135
    [52] => 1764908751_u29720_voice.wav
    [voice_file] => 1764908751_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68503
    [temp_group_table] => contacts_temp_group_68503
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996423
    [last_credit_update_time] => 1764996423
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81194
\compaign_type : Rans per 28.07315 
ans sms 947
dnd sms 0

require answer perrequire answer per : 266

user answer per : 91
below is the redis data 175 UPDATE voice_compaign_detail_81194 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 175 Total Failed : 226 no_answer_count : 76 Busy count :58 congestion_count : 27 failed_count : 65UPDATE voice_compaign_detail_81194 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 UPDATE voice_compaign_detail_81194 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_81194 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81194 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='266', `user_busy_sms`='140', `user_congestion_sms`='27', `user_failed_sms`='319', `user_hangup_sms`='0', `user_no_answer_sms`='195', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81194 LIMIT 1 


Time Diff : 0.257

Array
(
    [0] => 81195
    [compaign_id] => 81195
    [1] => u29720
    [user_id] => u29720
    [2] => 68508,
    [group_ids] => 68508,
    [3] => 
    [sender_id] => 
    [4] => Narkuda.mp3
    [filename] => Narkuda.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996131
    [start_date] => 1764996131
    [9] => 0
    [end_date] => 0
    [10] => 919
    [total_sms] => 919
    [11] => 919
    [sent_sms] => 919
    [12] => 0
    [duplicate_sms] => 0
    [13] => 117
    [answered_sms] => 117
    [14] => 80
    [busy_sms] => 80
    [15] => 0
    [congestion_sms] => 0
    [16] => 164
    [failed_sms] => 164
    [17] => 0
    [hangup_sms] => 0
    [18] => 131
    [no_answer_sms] => 131
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 427
    [cutting_sms] => 427
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 117
    [user_answered_sms] => 117
    [27] => 80
    [user_busy_sms] => 80
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 164
    [user_failed_sms] => 164
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 131
    [user_no_answer_sms] => 131
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996131
    [create_date] => 1764996131
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996137,"compaign_read_start_time":1764996145,"compaign_read_complete_time":1764996147,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996184}
    [action_time] => {"api_allot_time":1764996137,"compaign_read_start_time":1764996145,"compaign_read_complete_time":1764996147,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81195_06122025_101217AM_369
    [common_name] => u29720_81195_06122025_101217AM_369
    [52] => 1764908679_u29720_voice.wav
    [voice_file] => 1764908679_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68508
    [temp_group_table] => contacts_temp_group_68508
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996423
    [last_credit_update_time] => 1764996423
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81195
\compaign_type : Rans per 26.86329 
ans sms 919
dnd sms 0

require answer perrequire answer per : 247

user answer per : 117
below is the redis data 130 UPDATE voice_compaign_detail_81195 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 130 Total Failed : 297 no_answer_count : 100 Busy count :77 congestion_count : 36 failed_count : 84UPDATE voice_compaign_detail_81195 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 100 UPDATE voice_compaign_detail_81195 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 77 UPDATE voice_compaign_detail_81195 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81195 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='247', `user_busy_sms`='157', `user_congestion_sms`='36', `user_failed_sms`='248', `user_hangup_sms`='0', `user_no_answer_sms`='231', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81195 LIMIT 1 


Time Diff : 0.267

Array
(
    [0] => 81196
    [compaign_id] => 81196
    [1] => u29720
    [user_id] => u29720
    [2] => 68506,
    [group_ids] => 68506,
    [3] => 
    [sender_id] => 
    [4] => MLKNR CONGRESS.mp3
    [filename] => MLKNR CONGRESS.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996132
    [start_date] => 1764996132
    [9] => 0
    [end_date] => 0
    [10] => 1102
    [total_sms] => 1102
    [11] => 1102
    [sent_sms] => 1102
    [12] => 0
    [duplicate_sms] => 0
    [13] => 133
    [answered_sms] => 133
    [14] => 109
    [busy_sms] => 109
    [15] => 0
    [congestion_sms] => 0
    [16] => 151
    [failed_sms] => 151
    [17] => 0
    [hangup_sms] => 0
    [18] => 188
    [no_answer_sms] => 188
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 521
    [cutting_sms] => 521
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 133
    [user_answered_sms] => 133
    [27] => 109
    [user_busy_sms] => 109
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 151
    [user_failed_sms] => 151
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 188
    [user_no_answer_sms] => 188
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996132
    [create_date] => 1764996132
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996138,"compaign_read_start_time":1764996148,"compaign_read_complete_time":1764996150,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996184}
    [action_time] => {"api_allot_time":1764996138,"compaign_read_start_time":1764996148,"compaign_read_complete_time":1764996150,"compaign_send_start_time":1764996182,"compaign_send_complete_time":1764996184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81196_06122025_101217AM_760
    [common_name] => u29720_81196_06122025_101217AM_760
    [52] => 1764833474_u29720_voice.wav
    [voice_file] => 1764833474_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68506
    [temp_group_table] => contacts_temp_group_68506
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996424
    [last_credit_update_time] => 1764996424
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81196
\compaign_type : Rans per 26.63571 
ans sms 1102
dnd sms 0

require answer perrequire answer per : 294

user answer per : 133
below is the redis data 161 UPDATE voice_compaign_detail_81196 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 161 Total Failed : 360 no_answer_count : 121 Busy count :93 congestion_count : 43 failed_count : 103UPDATE voice_compaign_detail_81196 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 UPDATE voice_compaign_detail_81196 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 93 UPDATE voice_compaign_detail_81196 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81196 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 103 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='294', `user_busy_sms`='202', `user_congestion_sms`='43', `user_failed_sms`='254', `user_hangup_sms`='0', `user_no_answer_sms`='309', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81196 LIMIT 1 


Time Diff : 0.221

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737402'  
Array
(
    [0] => 81197
    [compaign_id] => 81197
    [1] => u29720
    [user_id] => u29720
    [2] => 68509,
    [group_ids] => 68509,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3
    [filename] => Ghanpur Mulugu.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996132
    [start_date] => 1764996132
    [9] => 0
    [end_date] => 0
    [10] => 1320
    [total_sms] => 1320
    [11] => 1320
    [sent_sms] => 1320
    [12] => 0
    [duplicate_sms] => 0
    [13] => 152
    [answered_sms] => 152
    [14] => 132
    [busy_sms] => 132
    [15] => 0
    [congestion_sms] => 0
    [16] => 262
    [failed_sms] => 262
    [17] => 0
    [hangup_sms] => 0
    [18] => 188
    [no_answer_sms] => 188
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 586
    [cutting_sms] => 586
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 152
    [user_answered_sms] => 152
    [27] => 132
    [user_busy_sms] => 132
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 262
    [user_failed_sms] => 262
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 188
    [user_no_answer_sms] => 188
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996132
    [create_date] => 1764996132
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996267,"compaign_read_start_time":1764996269,"compaign_read_complete_time":1764996271,"compaign_send_start_time":1764996301,"compaign_send_complete_time":1764996364}
    [action_time] => {"api_allot_time":1764996267,"compaign_read_start_time":1764996269,"compaign_read_complete_time":1764996271,"compaign_send_start_time":1764996301,"compaign_send_complete_time":1764996364}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81197_06122025_101217AM_489
    [common_name] => u29720_81197_06122025_101217AM_489
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68509
    [temp_group_table] => contacts_temp_group_68509
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996541
    [last_credit_update_time] => 1764996541
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81197
\compaign_type : Rans per 27.72667 
ans sms 1320
dnd sms 0

require answer perrequire answer per : 366

user answer per : 152
below is the redis data 214 UPDATE voice_compaign_detail_81197 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 214 Total Failed : 372 no_answer_count : 125 Busy count :96 congestion_count : 45 failed_count : 106UPDATE voice_compaign_detail_81197 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 125 UPDATE voice_compaign_detail_81197 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 96 UPDATE voice_compaign_detail_81197 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_81197 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 106 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='366', `user_busy_sms`='228', `user_congestion_sms`='45', `user_failed_sms`='368', `user_hangup_sms`='0', `user_no_answer_sms`='313', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81197 LIMIT 1 


Time Diff : 0.161

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737461'  
Array
(
    [0] => 81174
    [compaign_id] => 81174
    [1] => u607
    [user_id] => u607
    [2] => 68498,
    [group_ids] => 68498,
    [3] => 
    [sender_id] => 
    [4] => sunitha rudrur.mp3
    [filename] => sunitha rudrur.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996300
    [start_date] => 1764996300
    [9] => 0
    [end_date] => 0
    [10] => 6995
    [total_sms] => 6995
    [11] => 6995
    [sent_sms] => 6995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 538
    [answered_sms] => 538
    [14] => 399
    [busy_sms] => 399
    [15] => 3
    [congestion_sms] => 3
    [16] => 1557
    [failed_sms] => 1557
    [17] => 0
    [hangup_sms] => 0
    [18] => 482
    [no_answer_sms] => 482
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3010
    [cutting_sms] => 3010
    [22] => 1006
    [dnd_sms] => 1006
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 538
    [user_answered_sms] => 538
    [27] => 399
    [user_busy_sms] => 399
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 1557
    [user_failed_sms] => 1557
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 482
    [user_no_answer_sms] => 482
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1006
    [user_dnd_sms] => 1006
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764995132
    [create_date] => 1764995132
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996305,"compaign_read_start_time":1764996307,"compaign_read_complete_time":1764996319,"compaign_send_start_time":1764996362,"compaign_send_complete_time":1764996384}
    [action_time] => {"api_allot_time":1764996305,"compaign_read_start_time":1764996307,"compaign_read_complete_time":1764996319,"compaign_send_start_time":1764996362,"compaign_send_complete_time":1764996384}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81174_06122025_101505AM_993
    [common_name] => u607_81174_06122025_101505AM_993
    [52] => 1764995132_u607_voice.wav
    [voice_file] => 1764995132_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68498
    [temp_group_table] => contacts_temp_group_68498
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996602
    [last_credit_update_time] => 1764996602
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81174
\compaign_type : Rans per 30.94896 
ans sms 6995
dnd sms 1006

require answer perrequire answer per : 1854

user answer per : 538
below is the redis data 1316 /n/r
only no answer and busy will be convert, total number require 1316 /n/r
UPDATE voice_compaign_detail_81174 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 948 UPDATE voice_compaign_detail_81174 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 948 Total Failed : 1768 no_answer_count : 590 Busy count :454 congestion_count : 210 failed_count : 514UPDATE voice_compaign_detail_81174 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 590 UPDATE voice_compaign_detail_81174 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 454 UPDATE voice_compaign_detail_81174 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 210 UPDATE voice_compaign_detail_81174 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 514 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1419', `user_busy_sms`='1402', `user_congestion_sms`='213', `user_failed_sms`='1417', `user_hangup_sms`='0', `user_no_answer_sms`='1538', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1006' WHERE `compaign_id`=81174 LIMIT 1 


Time Diff : 0.038

Array
(
    [0] => 81182
    [compaign_id] => 81182
    [1] => u607
    [user_id] => u607
    [2] => 68501,
    [group_ids] => 68501,
    [3] => 
    [sender_id] => 
    [4] => madhu.mp3
    [filename] => madhu.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996300
    [start_date] => 1764996300
    [9] => 0
    [end_date] => 0
    [10] => 2437
    [total_sms] => 2437
    [11] => 2437
    [sent_sms] => 2437
    [12] => 0
    [duplicate_sms] => 0
    [13] => 271
    [answered_sms] => 271
    [14] => 147
    [busy_sms] => 147
    [15] => 0
    [congestion_sms] => 0
    [16] => 281
    [failed_sms] => 281
    [17] => 0
    [hangup_sms] => 0
    [18] => 242
    [no_answer_sms] => 242
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 909
    [cutting_sms] => 909
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 271
    [user_answered_sms] => 271
    [27] => 147
    [user_busy_sms] => 147
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 281
    [user_failed_sms] => 281
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 242
    [user_no_answer_sms] => 242
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 587
    [user_dnd_sms] => 587
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764995650
    [create_date] => 1764995650
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996305,"compaign_read_start_time":1764996310,"compaign_read_complete_time":1764996314,"compaign_send_start_time":1764996362,"compaign_send_complete_time":1764996366}
    [action_time] => {"api_allot_time":1764996305,"compaign_read_start_time":1764996310,"compaign_read_complete_time":1764996314,"compaign_send_start_time":1764996362,"compaign_send_complete_time":1764996366}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81182_06122025_101505AM_108
    [common_name] => u607_81182_06122025_101505AM_108
    [52] => 1764909279_u607_voice.wav
    [voice_file] => 1764909279_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68501
    [temp_group_table] => contacts_temp_group_68501
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764996603
    [reschedule_last_check_time] => 1764996603
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996602
    [last_credit_update_time] => 1764996602
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764999000}
    [rt_time] => {"1":1764999000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81182
\compaign_type : Rans per 26.22432 
ans sms 2437
dnd sms 587

require answer perrequire answer per : 486

user answer per : 271
below is the redis data 215 /n/r
only no answer and busy will be convert, total number require 215 /n/r
UPDATE voice_compaign_detail_81182 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 170 UPDATE voice_compaign_detail_81182 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 170 Total Failed : 651 no_answer_count : 218 Busy count :168 congestion_count : 78 failed_count : 187UPDATE voice_compaign_detail_81182 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 218 UPDATE voice_compaign_detail_81182 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 168 UPDATE voice_compaign_detail_81182 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 78 UPDATE voice_compaign_detail_81182 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 187 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='486', `user_busy_sms`='406', `user_congestion_sms`='78', `user_failed_sms`='386', `user_hangup_sms`='0', `user_no_answer_sms`='494', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81182 LIMIT 1 


Time Diff : 0.112

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737521'  
Array
(
    [0] => 81200
    [compaign_id] => 81200
    [1] => u179
    [user_id] => u179
    [2] => 68514,
    [group_ids] => 68514,
    [3] => 
    [sender_id] => 
    [4] => RENEWAL VOICE (1).mp3
    [filename] => RENEWAL VOICE (1).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996449
    [start_date] => 1764996449
    [9] => 0
    [end_date] => 0
    [10] => 81
    [total_sms] => 81
    [11] => 81
    [sent_sms] => 81
    [12] => 0
    [duplicate_sms] => 0
    [13] => 26
    [answered_sms] => 26
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 5
    [failed_sms] => 5
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 26
    [user_answered_sms] => 26
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 5
    [user_failed_sms] => 5
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 18
    [user_no_answer_sms] => 18
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996449
    [create_date] => 1764996449
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996454,"compaign_read_start_time":1764996455,"compaign_read_complete_time":1764996456,"compaign_send_start_time":1764996481,"compaign_send_complete_time":1764996482}
    [action_time] => {"api_allot_time":1764996454,"compaign_read_start_time":1764996455,"compaign_read_complete_time":1764996456,"compaign_send_start_time":1764996481,"compaign_send_complete_time":1764996482}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81200_06122025_101734AM_696
    [common_name] => u179_81200_06122025_101734AM_696
    [52] => 1731645953_u179_voice.wav
    [voice_file] => 1731645953_u179_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68514
    [temp_group_table] => contacts_temp_group_68514
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764996603
    [reschedule_last_check_time] => 1764996603
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996721
    [last_credit_update_time] => 1764996721
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764997200,"2":1764998100}
    [rt_time] => {"1":1764997200,"2":1764998100}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 81200
\compaign_type : Rans per 29.90473 
ans sms 81
dnd sms 13

require answer perrequire answer per : 21

user answer per : 26
Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='26', `user_busy_sms`='19', `user_congestion_sms`='0', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='18', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81200 LIMIT 1 


Time Diff : 2.309

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737641'  
Array
(
    [0] => 81198
    [compaign_id] => 81198
    [1] => u607
    [user_id] => u607
    [2] => 68512,
    [group_ids] => 68512,
    [3] => 
    [sender_id] => 
    [4] => basker (online-audio-converter.com).mp3
    [filename] => basker (online-audio-converter.com).mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996388
    [start_date] => 1764996388
    [9] => 0
    [end_date] => 0
    [10] => 359
    [total_sms] => 359
    [11] => 359
    [sent_sms] => 359
    [12] => 0
    [duplicate_sms] => 0
    [13] => 58
    [answered_sms] => 58
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 53
    [failed_sms] => 53
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 109
    [cutting_sms] => 109
    [22] => 56
    [dnd_sms] => 56
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 58
    [user_answered_sms] => 58
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 53
    [user_failed_sms] => 53
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 52
    [user_no_answer_sms] => 52
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 56
    [user_dnd_sms] => 56
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996388
    [create_date] => 1764996388
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996523,"compaign_read_start_time":1764996542,"compaign_read_complete_time":1764996542,"compaign_send_start_time":1764996602,"compaign_send_complete_time":1764996603}
    [action_time] => {"api_allot_time":1764996523,"compaign_read_start_time":1764996542,"compaign_read_complete_time":1764996542,"compaign_send_start_time":1764996602,"compaign_send_complete_time":1764996603}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81198_06122025_101633AM_279
    [common_name] => u607_81198_06122025_101633AM_279
    [52] => 1764909617_u607_voice.wav
    [voice_file] => 1764909617_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68512
    [temp_group_table] => contacts_temp_group_68512
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996841
    [last_credit_update_time] => 1764996841
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764998100}
    [rt_time] => {"1":1764998100}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81198
\compaign_type : Rans per 30.178 
ans sms 359
dnd sms 56

require answer perrequire answer per : 92

user answer per : 58
below is the redis data 34 /n/r
only no answer and busy will be convert, total number require 34 /n/r
UPDATE voice_compaign_detail_81198 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81198 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 Total Failed : 78 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_81198 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81198 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81198 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81198 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='92', `user_busy_sms`='63', `user_congestion_sms`='10', `user_failed_sms`='54', `user_hangup_sms`='0', `user_no_answer_sms`='84', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='56' WHERE `compaign_id`=81198 LIMIT 1 


Time Diff : 0.588

Array
(
    [0] => 81201
    [compaign_id] => 81201
    [1] => u29711
    [user_id] => u29711
    [2] => 68515,
    [group_ids] => 68515,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Ptt 2025-12-02 at 2.57.46 PM.mp3
    [filename] => WhatsApp Ptt 2025-12-02 at 2.57.46 PM.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996485
    [start_date] => 1764996485
    [9] => 0
    [end_date] => 0
    [10] => 1137
    [total_sms] => 1137
    [11] => 1137
    [sent_sms] => 1137
    [12] => 0
    [duplicate_sms] => 0
    [13] => 193
    [answered_sms] => 193
    [14] => 65
    [busy_sms] => 65
    [15] => 0
    [congestion_sms] => 0
    [16] => 228
    [failed_sms] => 228
    [17] => 0
    [hangup_sms] => 0
    [18] => 112
    [no_answer_sms] => 112
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 539
    [cutting_sms] => 539
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 193
    [user_answered_sms] => 193
    [27] => 65
    [user_busy_sms] => 65
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 228
    [user_failed_sms] => 228
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 112
    [user_no_answer_sms] => 112
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29711
    [created_by] => u29711
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996485
    [create_date] => 1764996485
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996492,"compaign_read_start_time":1764996493,"compaign_read_complete_time":1764996494,"compaign_send_start_time":1764996542,"compaign_send_complete_time":1764996555}
    [action_time] => {"api_allot_time":1764996492,"compaign_read_start_time":1764996493,"compaign_read_complete_time":1764996494,"compaign_send_start_time":1764996542,"compaign_send_complete_time":1764996555}
    [50] => 0
    [compaign_file] => 0
    [51] => u29711_81201_06122025_101811AM_142
    [common_name] => u29711_81201_06122025_101811AM_142
    [52] => 1764669696_u29711_voice.wav
    [voice_file] => 1764669696_u29711_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68515
    [temp_group_table] => contacts_temp_group_68515
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996784
    [last_credit_update_time] => 1764996784
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1919
    [user_voice_plan_id] => 1919
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr181,u29711
    [uphierarchy] => admin,sr181,u29711
    [113] => 
    [extra_params_json] => 
)


Compaign : 81201
\compaign_type : Rans per 25.12266 
ans sms 1137
dnd sms 0

require answer perrequire answer per : 286

user answer per : 193
below is the redis data 93 UPDATE voice_compaign_detail_81201 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 93 Total Failed : 446 no_answer_count : 149 Busy count :115 congestion_count : 53 failed_count : 129UPDATE voice_compaign_detail_81201 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 149 UPDATE voice_compaign_detail_81201 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 115 UPDATE voice_compaign_detail_81201 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81201 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 129 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='286', `user_busy_sms`='180', `user_congestion_sms`='53', `user_failed_sms`='357', `user_hangup_sms`='0', `user_no_answer_sms`='261', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81201 LIMIT 1 


Time Diff : 0.223

Array
(
    [0] => 81202
    [compaign_id] => 81202
    [1] => u607
    [user_id] => u607
    [2] => 68516,
    [group_ids] => 68516,
    [3] => 
    [sender_id] => 
    [4] => gopal_bejgaon.mp3
    [filename] => gopal_bejgaon.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996578
    [start_date] => 1764996578
    [9] => 0
    [end_date] => 0
    [10] => 807
    [total_sms] => 807
    [11] => 807
    [sent_sms] => 807
    [12] => 0
    [duplicate_sms] => 0
    [13] => 82
    [answered_sms] => 82
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 194
    [failed_sms] => 194
    [17] => 0
    [hangup_sms] => 0
    [18] => 70
    [no_answer_sms] => 70
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 326
    [cutting_sms] => 326
    [22] => 92
    [dnd_sms] => 92
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 82
    [user_answered_sms] => 82
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 194
    [user_failed_sms] => 194
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 70
    [user_no_answer_sms] => 70
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 92
    [user_dnd_sms] => 92
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996578
    [create_date] => 1764996578
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996584,"compaign_read_start_time":1764996586,"compaign_read_complete_time":1764996589,"compaign_send_start_time":1764996602,"compaign_send_complete_time":1764996664}
    [action_time] => {"api_allot_time":1764996584,"compaign_read_start_time":1764996586,"compaign_read_complete_time":1764996589,"compaign_send_start_time":1764996602,"compaign_send_complete_time":1764996664}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81202_06122025_101943AM_609
    [common_name] => u607_81202_06122025_101943AM_609
    [52] => 1764915195_u607_voice.wav
    [voice_file] => 1764915195_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68516
    [temp_group_table] => contacts_temp_group_68516
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764996841
    [last_credit_update_time] => 1764996841
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764999900}
    [rt_time] => {"1":1764999900}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81202
\compaign_type : Rans per 26.97049 
ans sms 807
dnd sms 92

require answer perrequire answer per : 193

user answer per : 82
below is the redis data 111 /n/r
only no answer and busy will be convert, total number require 111 /n/r
UPDATE voice_compaign_detail_81202 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 89 UPDATE voice_compaign_detail_81202 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 89 Total Failed : 214 no_answer_count : 72 Busy count :55 congestion_count : 26 failed_count : 61UPDATE voice_compaign_detail_81202 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81202 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81202 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81202 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='193', `user_busy_sms`='144', `user_congestion_sms`='26', `user_failed_sms`='189', `user_hangup_sms`='0', `user_no_answer_sms`='163', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='92' WHERE `compaign_id`=81202 LIMIT 1 


Time Diff : 0.19

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737821'  
Array
(
    [0] => 81204
    [compaign_id] => 81204
    [1] => u607
    [user_id] => u607
    [2] => 68517,
    [group_ids] => 68517,
    [3] => 
    [sender_id] => 
    [4] => enkepalli.mp3
    [filename] => enkepalli.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996704
    [start_date] => 1764996704
    [9] => 0
    [end_date] => 0
    [10] => 518
    [total_sms] => 518
    [11] => 518
    [sent_sms] => 518
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 89
    [failed_sms] => 89
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 177
    [cutting_sms] => 177
    [22] => 84
    [dnd_sms] => 84
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 76
    [user_answered_sms] => 76
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 89
    [user_failed_sms] => 89
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 47
    [user_no_answer_sms] => 47
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 84
    [user_dnd_sms] => 84
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996704
    [create_date] => 1764996704
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996710,"compaign_read_start_time":1764996721,"compaign_read_complete_time":1764996723,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996843}
    [action_time] => {"api_allot_time":1764996710,"compaign_read_start_time":1764996721,"compaign_read_complete_time":1764996723,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996843}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81204_06122025_102149AM_165
    [common_name] => u607_81204_06122025_102149AM_165
    [52] => 1764845149_u607_voice.wav
    [voice_file] => 1764845149_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68517
    [temp_group_table] => contacts_temp_group_68517
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764996903
    [reschedule_last_check_time] => 1764996903
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997021
    [last_credit_update_time] => 1764997021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764999000}
    [rt_time] => {"1":1764999000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81204
\compaign_type : Rans per 29.96797 
ans sms 518
dnd sms 84

require answer perrequire answer per : 131

user answer per : 76
below is the redis data 55 /n/r
only no answer and busy will be convert, total number require 55 /n/r
UPDATE voice_compaign_detail_81204 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81204 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 40 Total Failed : 127 no_answer_count : 43 Busy count :33 congestion_count : 16 failed_count : 35UPDATE voice_compaign_detail_81204 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81204 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81204 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81204 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='131', `user_busy_sms`='90', `user_congestion_sms`='16', `user_failed_sms`='94', `user_hangup_sms`='0', `user_no_answer_sms`='103', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81204 LIMIT 1 


Time Diff : 0.293

Array
(
    [0] => 81208
    [compaign_id] => 81208
    [1] => u29720
    [user_id] => u29720
    [2] => 68523,
    [group_ids] => 68523,
    [3] => 
    [sender_id] => 
    [4] => Mylaram Congress.mp3
    [filename] => Mylaram Congress.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996723
    [start_date] => 1764996723
    [9] => 0
    [end_date] => 0
    [10] => 319
    [total_sms] => 319
    [11] => 319
    [sent_sms] => 319
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 52
    [busy_sms] => 52
    [15] => 0
    [congestion_sms] => 0
    [16] => 72
    [failed_sms] => 72
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 122
    [cutting_sms] => 122
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 52
    [user_busy_sms] => 52
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 72
    [user_failed_sms] => 72
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 50
    [user_no_answer_sms] => 50
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996723
    [create_date] => 1764996723
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996736,"compaign_read_complete_time":1764996737,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996791}
    [action_time] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996736,"compaign_read_complete_time":1764996737,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996791}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81208_06122025_102209AM_413
    [common_name] => u29720_81208_06122025_102209AM_413
    [52] => 1764835204_u29720_voice.wav
    [voice_file] => 1764835204_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68523
    [temp_group_table] => contacts_temp_group_68523
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997021
    [last_credit_update_time] => 1764997021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81208
\compaign_type : Rans per 25.98527 
ans sms 319
dnd sms 0

require answer perrequire answer per : 83

user answer per : 23
below is the redis data 60 UPDATE voice_compaign_detail_81208 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 60 Total Failed : 62 no_answer_count : 21 Busy count :16 congestion_count : 8 failed_count : 17UPDATE voice_compaign_detail_81208 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81208 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81208 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81208 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='83', `user_busy_sms`='68', `user_congestion_sms`='8', `user_failed_sms`='89', `user_hangup_sms`='0', `user_no_answer_sms`='71', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81208 LIMIT 1 


Time Diff : 0.661

Array
(
    [0] => 81209
    [compaign_id] => 81209
    [1] => u29720
    [user_id] => u29720
    [2] => 68520,
    [group_ids] => 68520,
    [3] => 
    [sender_id] => 
    [4] => Narkuda.mp3
    [filename] => Narkuda.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996724
    [start_date] => 1764996724
    [9] => 0
    [end_date] => 0
    [10] => 672
    [total_sms] => 672
    [11] => 672
    [sent_sms] => 672
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 70
    [busy_sms] => 70
    [15] => 0
    [congestion_sms] => 0
    [16] => 147
    [failed_sms] => 147
    [17] => 0
    [hangup_sms] => 0
    [18] => 80
    [no_answer_sms] => 80
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 310
    [cutting_sms] => 310
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 70
    [user_busy_sms] => 70
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 147
    [user_failed_sms] => 147
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 80
    [user_no_answer_sms] => 80
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996724
    [create_date] => 1764996724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996739,"compaign_read_complete_time":1764996741,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996791}
    [action_time] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996739,"compaign_read_complete_time":1764996741,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996791}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81209_06122025_102209AM_518
    [common_name] => u29720_81209_06122025_102209AM_518
    [52] => 1764908679_u29720_voice.wav
    [voice_file] => 1764908679_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68520
    [temp_group_table] => contacts_temp_group_68520
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997021
    [last_credit_update_time] => 1764997021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81209
\compaign_type : Rans per 26.32073 
ans sms 672
dnd sms 0

require answer perrequire answer per : 177

user answer per : 65
below is the redis data 112 UPDATE voice_compaign_detail_81209 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 112 Total Failed : 198 no_answer_count : 67 Busy count :51 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_81209 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_81209 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81209 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81209 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='121', `user_congestion_sms`='24', `user_failed_sms`='203', `user_hangup_sms`='0', `user_no_answer_sms`='147', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81209 LIMIT 1 


Time Diff : 0.313

Array
(
    [0] => 81210
    [compaign_id] => 81210
    [1] => u29720
    [user_id] => u29720
    [2] => 68521,
    [group_ids] => 68521,
    [3] => 
    [sender_id] => 
    [4] => Palamakol.mp3
    [filename] => Palamakol.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996724
    [start_date] => 1764996724
    [9] => 0
    [end_date] => 0
    [10] => 681
    [total_sms] => 681
    [11] => 681
    [sent_sms] => 681
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 79
    [busy_sms] => 79
    [15] => 0
    [congestion_sms] => 0
    [16] => 179
    [failed_sms] => 179
    [17] => 0
    [hangup_sms] => 0
    [18] => 86
    [no_answer_sms] => 86
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 285
    [cutting_sms] => 285
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 52
    [user_answered_sms] => 52
    [27] => 79
    [user_busy_sms] => 79
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 179
    [user_failed_sms] => 179
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 86
    [user_no_answer_sms] => 86
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996724
    [create_date] => 1764996724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996742,"compaign_read_complete_time":1764996744,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996791}
    [action_time] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996742,"compaign_read_complete_time":1764996744,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996791}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81210_06122025_102209AM_950
    [common_name] => u29720_81210_06122025_102209AM_950
    [52] => 1764908751_u29720_voice.wav
    [voice_file] => 1764908751_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68521
    [temp_group_table] => contacts_temp_group_68521
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997021
    [last_credit_update_time] => 1764997021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81210
\compaign_type : Rans per 26.33529 
ans sms 681
dnd sms 0

require answer perrequire answer per : 180

user answer per : 52
below is the redis data 128 UPDATE voice_compaign_detail_81210 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 128 Total Failed : 157 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 44UPDATE voice_compaign_detail_81210 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81210 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81210 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81210 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='180', `user_busy_sms`='120', `user_congestion_sms`='19', `user_failed_sms`='223', `user_hangup_sms`='0', `user_no_answer_sms`='139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81210 LIMIT 1 


Time Diff : 0.31

Array
(
    [0] => 81211
    [compaign_id] => 81211
    [1] => u29720
    [user_id] => u29720
    [2] => 68522,
    [group_ids] => 68522,
    [3] => 
    [sender_id] => 
    [4] => MLKNR CONGRESS.mp3
    [filename] => MLKNR CONGRESS.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996724
    [start_date] => 1764996724
    [9] => 0
    [end_date] => 0
    [10] => 808
    [total_sms] => 808
    [11] => 808
    [sent_sms] => 808
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 97
    [busy_sms] => 97
    [15] => 0
    [congestion_sms] => 0
    [16] => 127
    [failed_sms] => 127
    [17] => 0
    [hangup_sms] => 0
    [18] => 147
    [no_answer_sms] => 147
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 356
    [cutting_sms] => 356
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 81
    [user_answered_sms] => 81
    [27] => 97
    [user_busy_sms] => 97
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 127
    [user_failed_sms] => 127
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 147
    [user_no_answer_sms] => 147
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996724
    [create_date] => 1764996724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996745,"compaign_read_complete_time":1764996747,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996792}
    [action_time] => {"api_allot_time":1764996730,"compaign_read_start_time":1764996745,"compaign_read_complete_time":1764996747,"compaign_send_start_time":1764996782,"compaign_send_complete_time":1764996792}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81211_06122025_102209AM_322
    [common_name] => u29720_81211_06122025_102209AM_322
    [52] => 1764833474_u29720_voice.wav
    [voice_file] => 1764833474_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68522
    [temp_group_table] => contacts_temp_group_68522
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997021
    [last_credit_update_time] => 1764997021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81211
\compaign_type : Rans per 30.61893 
ans sms 808
dnd sms 0

require answer perrequire answer per : 248

user answer per : 81
below is the redis data 167 UPDATE voice_compaign_detail_81211 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 167 Total Failed : 189 no_answer_count : 64 Busy count :49 congestion_count : 23 failed_count : 53UPDATE voice_compaign_detail_81211 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81211 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_81211 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81211 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='248', `user_busy_sms`='146', `user_congestion_sms`='23', `user_failed_sms`='180', `user_hangup_sms`='0', `user_no_answer_sms`='211', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81211 LIMIT 1 


Time Diff : 0.261

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737887'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764737941'  
Array
(
    [0] => 81207
    [compaign_id] => 81207
    [1] => u29720
    [user_id] => u29720
    [2] => 68518,
    [group_ids] => 68518,
    [3] => 
    [sender_id] => 
    [4] => Karkapally.mp3
    [filename] => Karkapally.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996722
    [start_date] => 1764996722
    [9] => 0
    [end_date] => 0
    [10] => 151
    [total_sms] => 151
    [11] => 151
    [sent_sms] => 151
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 53
    [failed_sms] => 53
    [17] => 0
    [hangup_sms] => 0
    [18] => 26
    [no_answer_sms] => 26
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 53
    [user_failed_sms] => 53
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 26
    [user_no_answer_sms] => 26
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996722
    [create_date] => 1764996722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996857,"compaign_read_start_time":1764996859,"compaign_read_complete_time":1764996860,"compaign_send_start_time":1764996902,"compaign_send_complete_time":1764996905}
    [action_time] => {"api_allot_time":1764996857,"compaign_read_start_time":1764996859,"compaign_read_complete_time":1764996860,"compaign_send_start_time":1764996902,"compaign_send_complete_time":1764996905}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81207_06122025_102207AM_455
    [common_name] => u29720_81207_06122025_102207AM_455
    [52] => 1764993087_u29720_voice.wav
    [voice_file] => 1764993087_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68518
    [temp_group_table] => contacts_temp_group_68518
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997087
    [last_credit_update_time] => 1764997087
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81207
\compaign_type : Rans per 25.54758 
ans sms 151
dnd sms 0

require answer perrequire answer per : 39

user answer per : 16
below is the redis data 23 UPDATE voice_compaign_detail_81207 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='39', `user_busy_sms`='33', `user_congestion_sms`='0', `user_failed_sms`='53', `user_hangup_sms`='0', `user_no_answer_sms`='26', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81207 LIMIT 1 


Time Diff : 1.391

Array
(
    [0] => 81212
    [compaign_id] => 81212
    [1] => u29720
    [user_id] => u29720
    [2] => 68519,
    [group_ids] => 68519,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3
    [filename] => Ghanpur Mulugu.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764996725
    [start_date] => 1764996725
    [9] => 0
    [end_date] => 0
    [10] => 954
    [total_sms] => 954
    [11] => 954
    [sent_sms] => 954
    [12] => 0
    [duplicate_sms] => 0
    [13] => 87
    [answered_sms] => 87
    [14] => 107
    [busy_sms] => 107
    [15] => 0
    [congestion_sms] => 0
    [16] => 224
    [failed_sms] => 224
    [17] => 0
    [hangup_sms] => 0
    [18] => 104
    [no_answer_sms] => 104
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 432
    [cutting_sms] => 432
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 87
    [user_answered_sms] => 87
    [27] => 107
    [user_busy_sms] => 107
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 224
    [user_failed_sms] => 224
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 104
    [user_no_answer_sms] => 104
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764996725
    [create_date] => 1764996725
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764996861,"compaign_read_start_time":1764996862,"compaign_read_complete_time":1764996864,"compaign_send_start_time":1764996902,"compaign_send_complete_time":1764996907}
    [action_time] => {"api_allot_time":1764996861,"compaign_read_start_time":1764996862,"compaign_read_complete_time":1764996864,"compaign_send_start_time":1764996902,"compaign_send_complete_time":1764996907}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81212_06122025_102211AM_149
    [common_name] => u29720_81212_06122025_102211AM_149
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68519
    [temp_group_table] => contacts_temp_group_68519
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997087
    [last_credit_update_time] => 1764997087
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81212
\compaign_type : Rans per 25.50909 
ans sms 954
dnd sms 0

require answer perrequire answer per : 244

user answer per : 87
below is the redis data 157 UPDATE voice_compaign_detail_81212 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 157 Total Failed : 275 no_answer_count : 92 Busy count :71 congestion_count : 33 failed_count : 79UPDATE voice_compaign_detail_81212 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_81212 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81212 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81212 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='244', `user_busy_sms`='178', `user_congestion_sms`='33', `user_failed_sms`='303', `user_hangup_sms`='0', `user_no_answer_sms`='196', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81212 LIMIT 1 


Time Diff : 0.22

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738361'  
Array
(
    [0] => 81175
    [compaign_id] => 81175
    [1] => u607
    [user_id] => u607
    [2] => 68499,
    [group_ids] => 68499,
    [3] => 
    [sender_id] => 
    [4] => v.sailaja_vanaparthy_voice .mp3
    [filename] => v.sailaja_vanaparthy_voice .mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764997200
    [start_date] => 1764997200
    [9] => 0
    [end_date] => 0
    [10] => 1489
    [total_sms] => 1489
    [11] => 1489
    [sent_sms] => 1489
    [12] => 0
    [duplicate_sms] => 0
    [13] => 161
    [answered_sms] => 161
    [14] => 68
    [busy_sms] => 68
    [15] => 0
    [congestion_sms] => 0
    [16] => 250
    [failed_sms] => 250
    [17] => 0
    [hangup_sms] => 0
    [18] => 131
    [no_answer_sms] => 131
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 595
    [cutting_sms] => 595
    [22] => 284
    [dnd_sms] => 284
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 161
    [user_answered_sms] => 161
    [27] => 68
    [user_busy_sms] => 68
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 250
    [user_failed_sms] => 250
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 131
    [user_no_answer_sms] => 131
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 284
    [user_dnd_sms] => 284
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764995365
    [create_date] => 1764995365
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764997206,"compaign_read_start_time":1764997208,"compaign_read_complete_time":1764997210,"compaign_send_start_time":1764997261,"compaign_send_complete_time":1764997329}
    [action_time] => {"api_allot_time":1764997206,"compaign_read_start_time":1764997208,"compaign_read_complete_time":1764997210,"compaign_send_start_time":1764997261,"compaign_send_complete_time":1764997329}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81175_06122025_103005AM_145
    [common_name] => u607_81175_06122025_103005AM_145
    [52] => 1764836392_u607_voice.wav
    [voice_file] => 1764836392_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68499
    [temp_group_table] => contacts_temp_group_68499
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997502
    [last_credit_update_time] => 1764997502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81175
\compaign_type : Rans per 28.98985 
ans sms 1489
dnd sms 284

require answer perrequire answer per : 350

user answer per : 161
below is the redis data 189 /n/r
only no answer and busy will be convert, total number require 189 /n/r
UPDATE voice_compaign_detail_81175 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 133 UPDATE voice_compaign_detail_81175 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 133 Total Failed : 404 no_answer_count : 135 Busy count :104 congestion_count : 48 failed_count : 117UPDATE voice_compaign_detail_81175 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 135 UPDATE voice_compaign_detail_81175 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 104 UPDATE voice_compaign_detail_81175 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81175 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='350', `user_busy_sms`='243', `user_congestion_sms`='48', `user_failed_sms`='292', `user_hangup_sms`='0', `user_no_answer_sms`='272', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='284' WHERE `compaign_id`=81175 LIMIT 1 


Time Diff : 0.142

Array
(
    [0] => 81179
    [compaign_id] => 81179
    [1] => u607
    [user_id] => u607
    [2] => 68500,
    [group_ids] => 68500,
    [3] => 
    [sender_id] => 
    [4] => Manthapuri Palle Santosh Goud Voice.mp3
    [filename] => Manthapuri Palle Santosh Goud Voice.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764997200
    [start_date] => 1764997200
    [9] => 0
    [end_date] => 0
    [10] => 891
    [total_sms] => 891
    [11] => 891
    [sent_sms] => 891
    [12] => 0
    [duplicate_sms] => 0
    [13] => 127
    [answered_sms] => 127
    [14] => 53
    [busy_sms] => 53
    [15] => 0
    [congestion_sms] => 0
    [16] => 155
    [failed_sms] => 155
    [17] => 0
    [hangup_sms] => 0
    [18] => 99
    [no_answer_sms] => 99
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 314
    [cutting_sms] => 314
    [22] => 143
    [dnd_sms] => 143
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 127
    [user_answered_sms] => 127
    [27] => 53
    [user_busy_sms] => 53
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 155
    [user_failed_sms] => 155
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 99
    [user_no_answer_sms] => 99
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 143
    [user_dnd_sms] => 143
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764995492
    [create_date] => 1764995492
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764997206,"compaign_read_start_time":1764997211,"compaign_read_complete_time":1764997213,"compaign_send_start_time":1764997261,"compaign_send_complete_time":1764997263}
    [action_time] => {"api_allot_time":1764997206,"compaign_read_start_time":1764997211,"compaign_read_complete_time":1764997213,"compaign_send_start_time":1764997261,"compaign_send_complete_time":1764997263}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81179_06122025_103005AM_573
    [common_name] => u607_81179_06122025_103005AM_573
    [52] => 1764835356_u607_voice.wav
    [voice_file] => 1764835356_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68500
    [temp_group_table] => contacts_temp_group_68500
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764997503
    [reschedule_last_check_time] => 1764997503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997502
    [last_credit_update_time] => 1764997502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764999000}
    [rt_time] => {"1":1764999000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81179
\compaign_type : Rans per 29.90809 
ans sms 891
dnd sms 143

require answer perrequire answer per : 224

user answer per : 127
below is the redis data 97 /n/r
only no answer and busy will be convert, total number require 97 /n/r
UPDATE voice_compaign_detail_81179 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81179 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 71 Total Failed : 212 no_answer_count : 71 Busy count :55 congestion_count : 26 failed_count : 60UPDATE voice_compaign_detail_81179 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81179 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81179 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81179 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='224', `user_busy_sms`='145', `user_congestion_sms`='26', `user_failed_sms`='175', `user_hangup_sms`='0', `user_no_answer_sms`='178', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='143' WHERE `compaign_id`=81179 LIMIT 1 


Time Diff : 0.285

Array
(
    [0] => 81219
    [compaign_id] => 81219
    [1] => u179
    [user_id] => u179
    [2] => 68530,
    [group_ids] => 68530,
    [3] => 
    [sender_id] => 
    [4] => RENEWAL VOICE (1).mp3
    [filename] => RENEWAL VOICE (1).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764997200
    [start_date] => 1764997200
    [9] => 0
    [end_date] => 0
    [10] => 55
    [total_sms] => 55
    [11] => 55
    [sent_sms] => 55
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 16
    [busy_sms] => 16
    [15] => 0
    [congestion_sms] => 0
    [16] => 4
    [failed_sms] => 4
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 16
    [user_busy_sms] => 16
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 4
    [user_failed_sms] => 4
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 15
    [user_no_answer_sms] => 15
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1764997021
    [create_date] => 1764997021
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764997206,"compaign_read_start_time":1764997214,"compaign_read_complete_time":1764997214,"compaign_send_start_time":1764997261,"compaign_send_complete_time":1764997262}
    [action_time] => {"api_allot_time":1764997206,"compaign_read_start_time":1764997214,"compaign_read_complete_time":1764997214,"compaign_send_start_time":1764997261,"compaign_send_complete_time":1764997262}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81219_06122025_103005AM_704
    [common_name] => u179_81219_06122025_103005AM_704
    [52] => 1731645953_u179_voice.wav
    [voice_file] => 1731645953_u179_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68530
    [temp_group_table] => contacts_temp_group_68530
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764997502
    [last_credit_update_time] => 1764997502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 81219
\compaign_type : Rans per 25.13324 
ans sms 55
dnd sms 13

require answer perrequire answer per : 11

user answer per : 7
below is the redis data 4 /n/r
only no answer and busy will be convert, total number require 4 /n/r
UPDATE voice_compaign_detail_81219 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81219 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='11', `user_busy_sms`='14', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81219 LIMIT 1 


Time Diff : 4.618

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738841'  
Array
(
    [0] => 81236
    [compaign_id] => 81236
    [1] => u371
    [user_id] => u371
    [2] => 66881,
    [group_ids] => 66881,
    [3] => 
    [sender_id] => 
    [4] => Navipet Manasa CV S.mp3
    [filename] => Navipet Manasa CV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764997754
    [start_date] => 1764997754
    [9] => 0
    [end_date] => 0
    [10] => 1855
    [total_sms] => 1855
    [11] => 1855
    [sent_sms] => 1855
    [12] => 0
    [duplicate_sms] => 0
    [13] => 230
    [answered_sms] => 230
    [14] => 117
    [busy_sms] => 117
    [15] => 0
    [congestion_sms] => 0
    [16] => 423
    [failed_sms] => 423
    [17] => 0
    [hangup_sms] => 0
    [18] => 224
    [no_answer_sms] => 224
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 861
    [cutting_sms] => 861
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 0
    [user_failed_sms] => 0
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764997754
    [create_date] => 1764997754
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764997759,"compaign_read_start_time":1764997762,"compaign_read_complete_time":1764997765,"compaign_send_start_time":1764997802,"compaign_send_complete_time":1764997815}
    [action_time] => {"api_allot_time":1764997759,"compaign_read_start_time":1764997762,"compaign_read_complete_time":1764997765,"compaign_send_start_time":1764997802,"compaign_send_complete_time":1764997815}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81236_06122025_103919AM_608
    [common_name] => u371_81236_06122025_103919AM_608
    [52] => 1764997754_u371_voice.wav
    [voice_file] => 1764997754_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66881
    [temp_group_table] => contacts_temp_group_66881
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998041
    [last_credit_update_time] => 1764998041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81236
\compaign_type : Rans per 27.44145 
ans sms 1855
dnd sms 0

require answer perrequire answer per : 510

user answer per : 230
below is the redis data 280 /n/r
only no answer and busy will be convert, total number require 280 /n/r
UPDATE voice_compaign_detail_81236 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 219 UPDATE voice_compaign_detail_81236 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 219 Total Failed : 576 no_answer_count : 193 Busy count :148 congestion_count : 69 failed_count : 166UPDATE voice_compaign_detail_81236 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 193 UPDATE voice_compaign_detail_81236 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 148 UPDATE voice_compaign_detail_81236 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_81236 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 166 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='510', `user_busy_sms`='387', `user_congestion_sms`='69', `user_failed_sms`='436', `user_hangup_sms`='0', `user_no_answer_sms`='453', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81236 LIMIT 1 


Time Diff : 0.104

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738901'  
Array
(
    [0] => 81237
    [compaign_id] => 81237
    [1] => u607
    [user_id] => u607
    [2] => 68543,
    [group_ids] => 68543,
    [3] => 
    [sender_id] => 
    [4] => anitha_parupally.mp3
    [filename] => anitha_parupally.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764997777
    [start_date] => 1764997777
    [9] => 0
    [end_date] => 0
    [10] => 1247
    [total_sms] => 1247
    [11] => 1247
    [sent_sms] => 1247
    [12] => 0
    [duplicate_sms] => 0
    [13] => 134
    [answered_sms] => 134
    [14] => 77
    [busy_sms] => 77
    [15] => 0
    [congestion_sms] => 0
    [16] => 253
    [failed_sms] => 253
    [17] => 0
    [hangup_sms] => 0
    [18] => 124
    [no_answer_sms] => 124
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 484
    [cutting_sms] => 484
    [22] => 175
    [dnd_sms] => 175
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 134
    [user_answered_sms] => 134
    [27] => 77
    [user_busy_sms] => 77
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 253
    [user_failed_sms] => 253
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 124
    [user_no_answer_sms] => 124
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 175
    [user_dnd_sms] => 175
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1764997776
    [create_date] => 1764997776
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764997783,"compaign_read_start_time":1764997786,"compaign_read_complete_time":1764997788,"compaign_send_start_time":1764997802,"compaign_send_complete_time":1764997804}
    [action_time] => {"api_allot_time":1764997783,"compaign_read_start_time":1764997786,"compaign_read_complete_time":1764997788,"compaign_send_start_time":1764997802,"compaign_send_complete_time":1764997804}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81237_06122025_103943AM_951
    [common_name] => u607_81237_06122025_103943AM_951
    [52] => 1764919501_u607_voice.wav
    [voice_file] => 1764919501_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68543
    [temp_group_table] => contacts_temp_group_68543
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998041
    [last_credit_update_time] => 1764998041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764998100}
    [rt_time] => {"1":1764998100}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81237
\compaign_type : Rans per 28.44128 
ans sms 1247
dnd sms 175

require answer perrequire answer per : 305

user answer per : 134
below is the redis data 171 /n/r
only no answer and busy will be convert, total number require 171 /n/r
UPDATE voice_compaign_detail_81237 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 129 UPDATE voice_compaign_detail_81237 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 129 Total Failed : 314 no_answer_count : 105 Busy count :81 congestion_count : 38 failed_count : 90UPDATE voice_compaign_detail_81237 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 105 UPDATE voice_compaign_detail_81237 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 81 UPDATE voice_compaign_detail_81237 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81237 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='305', `user_busy_sms`='220', `user_congestion_sms`='38', `user_failed_sms`='255', `user_hangup_sms`='0', `user_no_answer_sms`='254', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='175' WHERE `compaign_id`=81237 LIMIT 1 


Time Diff : 0.219

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764738962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739082'  
Array
(
    [0] => 81241
    [compaign_id] => 81241
    [1] => u607
    [user_id] => u607
    [2] => 68547,
    [group_ids] => 68547,
    [3] => 
    [sender_id] => 
    [4] => malupally_srinivas.mp3
    [filename] => malupally_srinivas.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764997942
    [start_date] => 1764997942
    [9] => 0
    [end_date] => 0
    [10] => 1299
    [total_sms] => 1299
    [11] => 1299
    [sent_sms] => 1299
    [12] => 0
    [duplicate_sms] => 0
    [13] => 164
    [answered_sms] => 164
    [14] => 73
    [busy_sms] => 73
    [15] => 0
    [congestion_sms] => 0
    [16] => 260
    [failed_sms] => 260
    [17] => 0
    [hangup_sms] => 0
    [18] => 110
    [no_answer_sms] => 110
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 504
    [cutting_sms] => 504
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 164
    [user_answered_sms] => 164
    [27] => 73
    [user_busy_sms] => 73
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 260
    [user_failed_sms] => 260
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 110
    [user_no_answer_sms] => 110
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 188
    [user_dnd_sms] => 188
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1764997942
    [create_date] => 1764997942
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764997948,"compaign_read_start_time":1764997948,"compaign_read_complete_time":1764997951,"compaign_send_start_time":1764997982,"compaign_send_complete_time":1764997987}
    [action_time] => {"api_allot_time":1764997948,"compaign_read_start_time":1764997948,"compaign_read_complete_time":1764997951,"compaign_send_start_time":1764997982,"compaign_send_complete_time":1764997987}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81241_06122025_104228AM_822
    [common_name] => u607_81241_06122025_104228AM_822
    [52] => 1764997942_u607_voice.wav
    [voice_file] => 1764997942_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68547
    [temp_group_table] => contacts_temp_group_68547
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764998103
    [reschedule_last_check_time] => 1764998103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998221
    [last_credit_update_time] => 1764998221
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764999000}
    [rt_time] => {"1":1764999000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81241
\compaign_type : Rans per 27.36393 
ans sms 1299
dnd sms 188

require answer perrequire answer per : 305

user answer per : 164
below is the redis data 141 /n/r
only no answer and busy will be convert, total number require 141 /n/r
UPDATE voice_compaign_detail_81241 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 109 UPDATE voice_compaign_detail_81241 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 109 Total Failed : 355 no_answer_count : 119 Busy count :92 congestion_count : 43 failed_count : 101UPDATE voice_compaign_detail_81241 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_81241 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_81241 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81241 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 101 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='305', `user_busy_sms`='214', `user_congestion_sms`='43', `user_failed_sms`='292', `user_hangup_sms`='0', `user_no_answer_sms`='257', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81241 LIMIT 1 


Time Diff : 0.209

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739201'  
Array
(
    [0] => 81243
    [compaign_id] => 81243
    [1] => u29695
    [user_id] => u29695
    [2] => 68475,
    [group_ids] => 68475,
    [3] => 
    [sender_id] => 
    [4] => Ailapoor CV.mp3
    [filename] => Ailapoor CV.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998024
    [start_date] => 1764998024
    [9] => 0
    [end_date] => 0
    [10] => 1193
    [total_sms] => 1193
    [11] => 1193
    [sent_sms] => 1193
    [12] => 0
    [duplicate_sms] => 0
    [13] => 174
    [answered_sms] => 174
    [14] => 76
    [busy_sms] => 76
    [15] => 0
    [congestion_sms] => 0
    [16] => 269
    [failed_sms] => 269
    [17] => 0
    [hangup_sms] => 0
    [18] => 135
    [no_answer_sms] => 135
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 539
    [cutting_sms] => 539
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 174
    [user_answered_sms] => 174
    [27] => 76
    [user_busy_sms] => 76
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 269
    [user_failed_sms] => 269
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 135
    [user_no_answer_sms] => 135
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998024
    [create_date] => 1764998024
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998030,"compaign_read_start_time":1764998042,"compaign_read_complete_time":1764998043,"compaign_send_start_time":1764998102,"compaign_send_complete_time":1764998108}
    [action_time] => {"api_allot_time":1764998030,"compaign_read_start_time":1764998042,"compaign_read_complete_time":1764998043,"compaign_send_start_time":1764998102,"compaign_send_complete_time":1764998108}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81243_06122025_104350AM_876
    [common_name] => u29695_81243_06122025_104350AM_876
    [52] => 1764998024_u29695_voice.wav
    [voice_file] => 1764998024_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68475
    [temp_group_table] => contacts_temp_group_68475
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998344
    [last_credit_update_time] => 1764998344
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81243
\compaign_type : Rans per 26.77103 
ans sms 1193
dnd sms 0

require answer perrequire answer per : 320

user answer per : 174
below is the redis data 146 UPDATE voice_compaign_detail_81243 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 146 Total Failed : 393 no_answer_count : 132 Busy count :101 congestion_count : 47 failed_count : 113UPDATE voice_compaign_detail_81243 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 132 UPDATE voice_compaign_detail_81243 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 101 UPDATE voice_compaign_detail_81243 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81243 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 113 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='320', `user_busy_sms`='177', `user_congestion_sms`='47', `user_failed_sms`='382', `user_hangup_sms`='0', `user_no_answer_sms`='267', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81243 LIMIT 1 


Time Diff : 0.212

Array
(
    [0] => 81244
    [compaign_id] => 81244
    [1] => u607
    [user_id] => u607
    [2] => 68549,
    [group_ids] => 68549,
    [3] => 
    [sender_id] => 
    [4] => dataipally (online-audio-converter.com).mp3
    [filename] => dataipally (online-audio-converter.com).mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998043
    [start_date] => 1764998043
    [9] => 0
    [end_date] => 0
    [10] => 541
    [total_sms] => 541
    [11] => 541
    [sent_sms] => 541
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 69
    [failed_sms] => 69
    [17] => 0
    [hangup_sms] => 0
    [18] => 87
    [no_answer_sms] => 87
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 207
    [cutting_sms] => 207
    [22] => 72
    [dnd_sms] => 72
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 69
    [user_failed_sms] => 69
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 87
    [user_no_answer_sms] => 87
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 72
    [user_dnd_sms] => 72
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998043
    [create_date] => 1764998043
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998050,"compaign_read_start_time":1764998050,"compaign_read_complete_time":1764998051,"compaign_send_start_time":1764998102,"compaign_send_complete_time":1764998106}
    [action_time] => {"api_allot_time":1764998050,"compaign_read_start_time":1764998050,"compaign_read_complete_time":1764998051,"compaign_send_start_time":1764998102,"compaign_send_complete_time":1764998106}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81244_06122025_104409AM_352
    [common_name] => u607_81244_06122025_104409AM_352
    [52] => 1764998043_u607_voice.wav
    [voice_file] => 1764998043_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68549
    [temp_group_table] => contacts_temp_group_68549
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998345
    [last_credit_update_time] => 1764998345
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1764999900}
    [rt_time] => {"1":1764999900}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81244
\compaign_type : Rans per 25.68183 
ans sms 541
dnd sms 72

require answer perrequire answer per : 121

user answer per : 75
below is the redis data 46 /n/r
only no answer and busy will be convert, total number require 46 /n/r
UPDATE voice_compaign_detail_81244 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81244 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 37 Total Failed : 147 no_answer_count : 50 Busy count :38 congestion_count : 18 failed_count : 41UPDATE voice_compaign_detail_81244 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_81244 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81244 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81244 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='121', `user_busy_sms`='94', `user_congestion_sms`='18', `user_failed_sms`='96', `user_hangup_sms`='0', `user_no_answer_sms`='140', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='72' WHERE `compaign_id`=81244 LIMIT 1 


Time Diff : 0.501

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739381'  
Array
(
    [0] => 81220
    [compaign_id] => 81220
    [1] => u607
    [user_id] => u607
    [2] => 68533,
    [group_ids] => 68533,
    [3] => 
    [sender_id] => 
    [4] => basker (online-audio-converter.com).mp3
    [filename] => basker (online-audio-converter.com).mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998100
    [start_date] => 1764998100
    [9] => 0
    [end_date] => 0
    [10] => 267
    [total_sms] => 267
    [11] => 267
    [sent_sms] => 267
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 61
    [failed_sms] => 61
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 68
    [cutting_sms] => 68
    [22] => 56
    [dnd_sms] => 56
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 61
    [user_failed_sms] => 61
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 28
    [user_no_answer_sms] => 28
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 56
    [user_dnd_sms] => 56
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764997022
    [create_date] => 1764997022
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998235,"compaign_read_start_time":1764998282,"compaign_read_complete_time":1764998283,"compaign_send_start_time":1764998341,"compaign_send_complete_time":1764998349}
    [action_time] => {"api_allot_time":1764998235,"compaign_read_start_time":1764998282,"compaign_read_complete_time":1764998283,"compaign_send_start_time":1764998341,"compaign_send_complete_time":1764998349}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81220_06122025_104505AM_781
    [common_name] => u607_81220_06122025_104505AM_781
    [52] => 1764909617_u607_voice.wav
    [voice_file] => 1764909617_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68533
    [temp_group_table] => contacts_temp_group_68533
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998522
    [last_credit_update_time] => 1764998522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81220
\compaign_type : Rans per 26.12462 
ans sms 267
dnd sms 56

require answer perrequire answer per : 56

user answer per : 22
below is the redis data 34 /n/r
only no answer and busy will be convert, total number require 34 /n/r
UPDATE voice_compaign_detail_81220 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81220 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 Total Failed : 37 no_answer_count : 13 Busy count :10 congestion_count : 5 failed_count : 9UPDATE voice_compaign_detail_81220 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81220 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81220 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81220 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='56', `user_busy_sms`='52', `user_congestion_sms`='5', `user_failed_sms`='45', `user_hangup_sms`='0', `user_no_answer_sms`='53', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='56' WHERE `compaign_id`=81220 LIMIT 1 


Time Diff : 0.787

Array
(
    [0] => 81249
    [compaign_id] => 81249
    [1] => u607
    [user_id] => u607
    [2] => 68550,
    [group_ids] => 68550,
    [3] => 
    [sender_id] => 
    [4] => anitha_parupally.mp3
    [filename] => anitha_parupally.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998100
    [start_date] => 1764998100
    [9] => 0
    [end_date] => 0
    [10] => 942
    [total_sms] => 942
    [11] => 942
    [sent_sms] => 942
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 207
    [failed_sms] => 207
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 378
    [cutting_sms] => 378
    [22] => 175
    [dnd_sms] => 175
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 81
    [user_answered_sms] => 81
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 207
    [user_failed_sms] => 207
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 58
    [user_no_answer_sms] => 58
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 175
    [user_dnd_sms] => 175
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764998225
    [create_date] => 1764998225
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998228,"compaign_read_start_time":1764998230,"compaign_read_complete_time":1764998232,"compaign_send_start_time":1764998282,"compaign_send_complete_time":1764998284}
    [action_time] => {"api_allot_time":1764998228,"compaign_read_start_time":1764998230,"compaign_read_complete_time":1764998232,"compaign_send_start_time":1764998282,"compaign_send_complete_time":1764998284}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81249_06122025_104707AM_799
    [common_name] => u607_81249_06122025_104707AM_799
    [52] => 1764919501_u607_voice.wav
    [voice_file] => 1764919501_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68550
    [temp_group_table] => contacts_temp_group_68550
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998522
    [last_credit_update_time] => 1764998522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81249
\compaign_type : Rans per 26.44423 
ans sms 942
dnd sms 175

require answer perrequire answer per : 203

user answer per : 81
below is the redis data 122 /n/r
only no answer and busy will be convert, total number require 122 /n/r
UPDATE voice_compaign_detail_81249 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_81249 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 88 Total Failed : 265 no_answer_count : 89 Busy count :68 congestion_count : 32 failed_count : 76UPDATE voice_compaign_detail_81249 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 89 UPDATE voice_compaign_detail_81249 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 UPDATE voice_compaign_detail_81249 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81249 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='182', `user_busy_sms`='156', `user_congestion_sms`='32', `user_failed_sms`='220', `user_hangup_sms`='0', `user_no_answer_sms`='177', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='175' WHERE `compaign_id`=81249 LIMIT 1 


Time Diff : 0.288

Array
(
    [0] => 81252
    [compaign_id] => 81252
    [1] => u371
    [user_id] => u371
    [2] => 67138,
    [group_ids] => 67138,
    [3] => 
    [sender_id] => 
    [4] => Lingapoor CV S.mp3
    [filename] => Lingapoor CV S.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998273
    [start_date] => 1764998273
    [9] => 0
    [end_date] => 0
    [10] => 268
    [total_sms] => 268
    [11] => 268
    [sent_sms] => 268
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 65
    [failed_sms] => 65
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 93
    [cutting_sms] => 93
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 52
    [user_answered_sms] => 52
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 65
    [user_failed_sms] => 65
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 36
    [user_no_answer_sms] => 36
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998273
    [create_date] => 1764998273
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998283,"compaign_read_start_time":1764998285,"compaign_read_complete_time":1764998285,"compaign_send_start_time":1764998341,"compaign_send_complete_time":1764998349}
    [action_time] => {"api_allot_time":1764998283,"compaign_read_start_time":1764998285,"compaign_read_complete_time":1764998285,"compaign_send_start_time":1764998341,"compaign_send_complete_time":1764998349}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81252_06122025_104802AM_982
    [common_name] => u371_81252_06122025_104802AM_982
    [52] => 1764998273_u371_voice.wav
    [voice_file] => 1764998273_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_67138
    [temp_group_table] => contacts_temp_group_67138
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998581
    [last_credit_update_time] => 1764998581
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81252
\compaign_type : Rans per 29.75045 
ans sms 268
dnd sms 0

require answer perrequire answer per : 80

user answer per : 52
below is the redis data 28 /n/r
only no answer and busy will be convert, total number require 28 /n/r
UPDATE voice_compaign_detail_81252 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81252 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 Total Failed : 65 no_answer_count : 22 Busy count :17 congestion_count : 8 failed_count : 18UPDATE voice_compaign_detail_81252 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81252 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81252 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81252 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='80', `user_busy_sms`='48', `user_congestion_sms`='8', `user_failed_sms`='71', `user_hangup_sms`='0', `user_no_answer_sms`='61', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81252 LIMIT 1 


Time Diff : 0.787

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739501'  
Array
(
    [0] => 81251
    [compaign_id] => 81251
    [1] => u371
    [user_id] => u371
    [2] => 67061,
    [group_ids] => 67061,
    [3] => 
    [sender_id] => 
    [4] => Hunsa Sanju CV S.mp3
    [filename] => Hunsa Sanju CV S.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998255
    [start_date] => 1764998255
    [9] => 0
    [end_date] => 0
    [10] => 643
    [total_sms] => 643
    [11] => 643
    [sent_sms] => 643
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 255
    [failed_sms] => 255
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 289
    [cutting_sms] => 289
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 255
    [user_failed_sms] => 255
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 65
    [user_no_answer_sms] => 65
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998255
    [create_date] => 1764998255
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998393,"compaign_read_start_time":1764998401,"compaign_read_complete_time":1764998402,"compaign_send_start_time":1764998462,"compaign_send_complete_time":1764998463}
    [action_time] => {"api_allot_time":1764998393,"compaign_read_start_time":1764998401,"compaign_read_complete_time":1764998402,"compaign_send_start_time":1764998462,"compaign_send_complete_time":1764998463}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81251_06122025_104741AM_755
    [common_name] => u371_81251_06122025_104741AM_755
    [52] => 1764998255_u371_voice.wav
    [voice_file] => 1764998255_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_67061
    [temp_group_table] => contacts_temp_group_67061
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998642
    [last_credit_update_time] => 1764998642
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81251
\compaign_type : Rans per 28.53468 
ans sms 643
dnd sms 0

require answer perrequire answer per : 184

user answer per : 3
below is the redis data 181 /n/r
only no answer and busy will be convert, total number require 181 /n/r
UPDATE voice_compaign_detail_81251 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 133 UPDATE voice_compaign_detail_81251 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 133 Total Failed : 148 no_answer_count : 50 Busy count :38 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_81251 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_81251 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81251 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81251 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='99', `user_busy_sms`='171', `user_congestion_sms`='18', `user_failed_sms`='172', `user_hangup_sms`='0', `user_no_answer_sms`='183', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81251 LIMIT 1 


Time Diff : 0.328

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739561'  
Array
(
    [0] => 81253
    [compaign_id] => 81253
    [1] => u29722
    [user_id] => u29722
    [2] => 68554,
    [group_ids] => 68554,
    [3] => 
    [sender_id] => 
    [4] => Lyagala Mahipal Voice.mp3
    [filename] => Lyagala Mahipal Voice.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998470
    [start_date] => 1764998470
    [9] => 0
    [end_date] => 0
    [10] => 2425
    [total_sms] => 2425
    [11] => 2425
    [sent_sms] => 2425
    [12] => 0
    [duplicate_sms] => 0
    [13] => 197
    [answered_sms] => 197
    [14] => 124
    [busy_sms] => 124
    [15] => 0
    [congestion_sms] => 0
    [16] => 819
    [failed_sms] => 819
    [17] => 0
    [hangup_sms] => 0
    [18] => 145
    [no_answer_sms] => 145
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1140
    [cutting_sms] => 1140
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 197
    [user_answered_sms] => 197
    [27] => 124
    [user_busy_sms] => 124
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 819
    [user_failed_sms] => 819
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 145
    [user_no_answer_sms] => 145
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998469
    [create_date] => 1764998469
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998476,"compaign_read_start_time":1764998476,"compaign_read_complete_time":1764998480,"compaign_send_start_time":1764998522,"compaign_send_complete_time":1764998527}
    [action_time] => {"api_allot_time":1764998476,"compaign_read_start_time":1764998476,"compaign_read_complete_time":1764998480,"compaign_send_start_time":1764998522,"compaign_send_complete_time":1764998527}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81253_06122025_105115AM_585
    [common_name] => u29722_81253_06122025_105115AM_585
    [52] => 1764844248_u29722_voice.wav
    [voice_file] => 1764844248_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68554
    [temp_group_table] => contacts_temp_group_68554
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998761
    [last_credit_update_time] => 1764998761
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81253
\compaign_type : Rans per 26.01721 
ans sms 2425
dnd sms 0

require answer perrequire answer per : 631

user answer per : 197
below is the redis data 434 UPDATE voice_compaign_detail_81253 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 434 Total Failed : 706 no_answer_count : 236 Busy count :182 congestion_count : 84 failed_count : 204UPDATE voice_compaign_detail_81253 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 236 UPDATE voice_compaign_detail_81253 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 182 UPDATE voice_compaign_detail_81253 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 UPDATE voice_compaign_detail_81253 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 204 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='631', `user_busy_sms`='306', `user_congestion_sms`='84', `user_failed_sms`='1023', `user_hangup_sms`='0', `user_no_answer_sms`='381', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81253 LIMIT 1 


Time Diff : 0.08

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739681'  
Array
(
    [0] => 81256
    [compaign_id] => 81256
    [1] => u29722
    [user_id] => u29722
    [2] => 68555,
    [group_ids] => 68555,
    [3] => 
    [sender_id] => 
    [4] => Mettu Vijaya Ramulu Tadwai.mp3
    [filename] => Mettu Vijaya Ramulu Tadwai.mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998526
    [start_date] => 1764998526
    [9] => 0
    [end_date] => 0
    [10] => 1077
    [total_sms] => 1077
    [11] => 1077
    [sent_sms] => 1077
    [12] => 0
    [duplicate_sms] => 0
    [13] => 131
    [answered_sms] => 131
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 372
    [failed_sms] => 372
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 466
    [cutting_sms] => 466
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 131
    [user_answered_sms] => 131
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 372
    [user_failed_sms] => 372
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 65
    [user_no_answer_sms] => 65
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998526
    [create_date] => 1764998526
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998532,"compaign_read_start_time":1764998534,"compaign_read_complete_time":1764998535,"compaign_send_start_time":1764998581,"compaign_send_complete_time":1764998585}
    [action_time] => {"api_allot_time":1764998532,"compaign_read_start_time":1764998534,"compaign_read_complete_time":1764998535,"compaign_send_start_time":1764998581,"compaign_send_complete_time":1764998585}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81256_06122025_105212AM_432
    [common_name] => u29722_81256_06122025_105212AM_432
    [52] => 1764838271_u29722_voice.wav
    [voice_file] => 1764838271_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68555
    [temp_group_table] => contacts_temp_group_68555
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998822
    [last_credit_update_time] => 1764998822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81256
\compaign_type : Rans per 27.07458 
ans sms 1077
dnd sms 0

require answer perrequire answer per : 292

user answer per : 131
below is the redis data 161 UPDATE voice_compaign_detail_81256 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 161 Total Failed : 305 no_answer_count : 102 Busy count :79 congestion_count : 37 failed_count : 87UPDATE voice_compaign_detail_81256 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_81256 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_81256 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81256 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='292', `user_busy_sms`='122', `user_congestion_sms`='37', `user_failed_sms`='459', `user_hangup_sms`='0', `user_no_answer_sms`='167', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81256 LIMIT 1 


Time Diff : 0.227

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739801'  
Array
(
    [0] => 81259
    [compaign_id] => 81259
    [1] => u29695
    [user_id] => u29695
    [2] => 68474,
    [group_ids] => 68474,
    [3] => 
    [sender_id] => 
    [4] => Mantheni DV.mp3
    [filename] => Mantheni DV.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998697
    [start_date] => 1764998697
    [9] => 0
    [end_date] => 0
    [10] => 812
    [total_sms] => 812
    [11] => 812
    [sent_sms] => 812
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 235
    [failed_sms] => 235
    [17] => 0
    [hangup_sms] => 0
    [18] => 70
    [no_answer_sms] => 70
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 362
    [cutting_sms] => 362
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 96
    [user_answered_sms] => 96
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 235
    [user_failed_sms] => 235
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 70
    [user_no_answer_sms] => 70
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998697
    [create_date] => 1764998697
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998704,"compaign_read_start_time":1764998704,"compaign_read_complete_time":1764998705,"compaign_send_start_time":1764998762,"compaign_send_complete_time":1764998764}
    [action_time] => {"api_allot_time":1764998704,"compaign_read_start_time":1764998704,"compaign_read_complete_time":1764998705,"compaign_send_start_time":1764998762,"compaign_send_complete_time":1764998764}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81259_06122025_105503AM_594
    [common_name] => u29695_81259_06122025_105503AM_594
    [52] => 1764998697_u29695_voice.wav
    [voice_file] => 1764998697_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68474
    [temp_group_table] => contacts_temp_group_68474
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764998943
    [last_credit_update_time] => 1764998943
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81259
\compaign_type : Rans per 30.11767 
ans sms 812
dnd sms 0

require answer perrequire answer per : 245

user answer per : 96
below is the redis data 149 UPDATE voice_compaign_detail_81259 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 149 Total Failed : 213 no_answer_count : 72 Busy count :55 congestion_count : 26 failed_count : 60UPDATE voice_compaign_detail_81259 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81259 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81259 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81259 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='245', `user_busy_sms`='104', `user_congestion_sms`='26', `user_failed_sms`='295', `user_hangup_sms`='0', `user_no_answer_sms`='142', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81259 LIMIT 1 


Time Diff : 0.26

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764739981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740041'  
Array
(
    [0] => 81261
    [compaign_id] => 81261
    [1] => u29695
    [user_id] => u29695
    [2] => 68472,
    [group_ids] => 68472,
    [3] => 
    [sender_id] => 
    [4] => Gunjili DV.mp3
    [filename] => Gunjili DV.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764998779
    [start_date] => 1764998779
    [9] => 0
    [end_date] => 0
    [10] => 240
    [total_sms] => 240
    [11] => 240
    [sent_sms] => 240
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 106
    [failed_sms] => 106
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 72
    [cutting_sms] => 72
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 106
    [user_failed_sms] => 106
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 30
    [user_no_answer_sms] => 30
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1764998779
    [create_date] => 1764998779
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764998917,"compaign_read_start_time":1764998917,"compaign_read_complete_time":1764998918,"compaign_send_start_time":1764998942,"compaign_send_complete_time":1764998950}
    [action_time] => {"api_allot_time":1764998917,"compaign_read_start_time":1764998917,"compaign_read_complete_time":1764998918,"compaign_send_start_time":1764998942,"compaign_send_complete_time":1764998950}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81261_06122025_105625AM_233
    [common_name] => u29695_81261_06122025_105625AM_233
    [52] => 1764998779_u29695_voice.wav
    [voice_file] => 1764998779_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68472
    [temp_group_table] => contacts_temp_group_68472
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999181
    [last_credit_update_time] => 1764999181
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81261
\compaign_type : Rans per 30.27832 
ans sms 240
dnd sms 0

require answer perrequire answer per : 73

user answer per : 1
below is the redis data 72 UPDATE voice_compaign_detail_81261 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 72 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='73', `user_busy_sms`='31', `user_congestion_sms`='0', `user_failed_sms`='106', `user_hangup_sms`='0', `user_no_answer_sms`='30', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81261 LIMIT 1 


Time Diff : 1.05

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740102'  
Array
(
    [0] => 81222
    [compaign_id] => 81222
    [1] => u607
    [user_id] => u607
    [2] => 68532,
    [group_ids] => 68532,
    [3] => 
    [sender_id] => 
    [4] => madhu.mp3
    [filename] => madhu.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999000
    [start_date] => 1764999000
    [9] => 0
    [end_date] => 0
    [10] => 1951
    [total_sms] => 1951
    [11] => 1951
    [sent_sms] => 1951
    [12] => 0
    [duplicate_sms] => 0
    [13] => 156
    [answered_sms] => 156
    [14] => 102
    [busy_sms] => 102
    [15] => 0
    [congestion_sms] => 0
    [16] => 238
    [failed_sms] => 238
    [17] => 0
    [hangup_sms] => 0
    [18] => 158
    [no_answer_sms] => 158
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 710
    [cutting_sms] => 710
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 156
    [user_answered_sms] => 156
    [27] => 102
    [user_busy_sms] => 102
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 238
    [user_failed_sms] => 238
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 158
    [user_no_answer_sms] => 158
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 587
    [user_dnd_sms] => 587
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764997028
    [create_date] => 1764997028
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999006,"compaign_read_start_time":1764999007,"compaign_read_complete_time":1764999012,"compaign_send_start_time":1764999061,"compaign_send_complete_time":1764999083}
    [action_time] => {"api_allot_time":1764999006,"compaign_read_start_time":1764999007,"compaign_read_complete_time":1764999012,"compaign_send_start_time":1764999061,"compaign_send_complete_time":1764999083}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81222_06122025_110005AM_349
    [common_name] => u607_81222_06122025_110005AM_349
    [52] => 1764909279_u607_voice.wav
    [voice_file] => 1764909279_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68532
    [temp_group_table] => contacts_temp_group_68532
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999302
    [last_credit_update_time] => 1764999302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81222
\compaign_type : Rans per 30.56698 
ans sms 1951
dnd sms 587

require answer perrequire answer per : 417

user answer per : 156
below is the redis data 261 /n/r
only no answer and busy will be convert, total number require 261 /n/r
UPDATE voice_compaign_detail_81222 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 209 UPDATE voice_compaign_detail_81222 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 209 Total Failed : 393 no_answer_count : 132 Busy count :101 congestion_count : 47 failed_count : 113UPDATE voice_compaign_detail_81222 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 132 UPDATE voice_compaign_detail_81222 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 101 UPDATE voice_compaign_detail_81222 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81222 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 113 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='416', `user_busy_sms`='310', `user_congestion_sms`='47', `user_failed_sms`='250', `user_hangup_sms`='0', `user_no_answer_sms`='341', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81222 LIMIT 1 


Time Diff : 0.099

Array
(
    [0] => 81226
    [compaign_id] => 81226
    [1] => u607
    [user_id] => u607
    [2] => 68534,
    [group_ids] => 68534,
    [3] => 
    [sender_id] => 
    [4] => enkepalli.mp3
    [filename] => enkepalli.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999000
    [start_date] => 1764999000
    [9] => 0
    [end_date] => 0
    [10] => 387
    [total_sms] => 387
    [11] => 387
    [sent_sms] => 387
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 80
    [failed_sms] => 80
    [17] => 0
    [hangup_sms] => 0
    [18] => 26
    [no_answer_sms] => 26
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 121
    [cutting_sms] => 121
    [22] => 84
    [dnd_sms] => 84
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 80
    [user_failed_sms] => 80
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 26
    [user_no_answer_sms] => 26
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 84
    [user_dnd_sms] => 84
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764997328
    [create_date] => 1764997328
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999006,"compaign_read_start_time":1764999010,"compaign_read_complete_time":1764999011,"compaign_send_start_time":1764999061,"compaign_send_complete_time":1764999080}
    [action_time] => {"api_allot_time":1764999006,"compaign_read_start_time":1764999010,"compaign_read_complete_time":1764999011,"compaign_send_start_time":1764999061,"compaign_send_complete_time":1764999080}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81226_06122025_110005AM_191
    [common_name] => u607_81226_06122025_110005AM_191
    [52] => 1764845149_u607_voice.wav
    [voice_file] => 1764845149_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68534
    [temp_group_table] => contacts_temp_group_68534
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999302
    [last_credit_update_time] => 1764999302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81226
\compaign_type : Rans per 30.41202 
ans sms 387
dnd sms 84

require answer perrequire answer per : 93

user answer per : 41
below is the redis data 52 /n/r
only no answer and busy will be convert, total number require 52 /n/r
UPDATE voice_compaign_detail_81226 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81226 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 Total Failed : 72 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_81226 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81226 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81226 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81226 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='93', `user_busy_sms`='63', `user_congestion_sms`='9', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='68', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81226 LIMIT 1 


Time Diff : 0.463

Array
(
    [0] => 81255
    [compaign_id] => 81255
    [1] => u607
    [user_id] => u607
    [2] => 68556,
    [group_ids] => 68556,
    [3] => 
    [sender_id] => 
    [4] => malupally_srinivas.mp3
    [filename] => malupally_srinivas.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999000
    [start_date] => 1764999000
    [9] => 0
    [end_date] => 0
    [10] => 994
    [total_sms] => 994
    [11] => 994
    [sent_sms] => 994
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 65
    [busy_sms] => 65
    [15] => 0
    [congestion_sms] => 0
    [16] => 251
    [failed_sms] => 251
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 357
    [cutting_sms] => 357
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 65
    [user_busy_sms] => 65
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 251
    [user_failed_sms] => 251
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 58
    [user_no_answer_sms] => 58
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 188
    [user_dnd_sms] => 188
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764998526
    [create_date] => 1764998526
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999006,"compaign_read_start_time":1764999025,"compaign_read_complete_time":1764999028,"compaign_send_start_time":1764999061,"compaign_send_complete_time":1764999082}
    [action_time] => {"api_allot_time":1764999006,"compaign_read_start_time":1764999025,"compaign_read_complete_time":1764999028,"compaign_send_start_time":1764999061,"compaign_send_complete_time":1764999082}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81255_06122025_110005AM_286
    [common_name] => u607_81255_06122025_110005AM_286
    [52] => 1764997942_u607_voice.wav
    [voice_file] => 1764997942_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68556
    [temp_group_table] => contacts_temp_group_68556
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999302
    [last_credit_update_time] => 1764999302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81255
\compaign_type : Rans per 26.96372 
ans sms 994
dnd sms 188

require answer perrequire answer per : 218

user answer per : 75
below is the redis data 143 /n/r
only no answer and busy will be convert, total number require 143 /n/r
UPDATE voice_compaign_detail_81255 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 101 UPDATE voice_compaign_detail_81255 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 101 Total Failed : 257 no_answer_count : 86 Busy count :66 congestion_count : 31 failed_count : 74UPDATE voice_compaign_detail_81255 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 86 UPDATE voice_compaign_detail_81255 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 66 UPDATE voice_compaign_detail_81255 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81255 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 74 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='198', `user_busy_sms`='167', `user_congestion_sms`='31', `user_failed_sms`='223', `user_hangup_sms`='0', `user_no_answer_sms`='187', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81255 LIMIT 1 


Time Diff : 0.194

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740161'  
Array
(
    [0] => 81266
    [compaign_id] => 81266
    [1] => u371
    [user_id] => u371
    [2] => 66963,
    [group_ids] => 66963,
    [3] => 
    [sender_id] => 
    [4] => Jadi Jamalpur CV S.mp3
    [filename] => Jadi Jamalpur CV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999043
    [start_date] => 1764999043
    [9] => 0
    [end_date] => 0
    [10] => 324
    [total_sms] => 324
    [11] => 324
    [sent_sms] => 324
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 104
    [failed_sms] => 104
    [17] => 0
    [hangup_sms] => 0
    [18] => 42
    [no_answer_sms] => 42
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 108
    [cutting_sms] => 108
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 104
    [user_failed_sms] => 104
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 42
    [user_no_answer_sms] => 42
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999043
    [create_date] => 1764999043
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999050,"compaign_read_start_time":1764999061,"compaign_read_complete_time":1764999062,"compaign_send_start_time":1764999122,"compaign_send_complete_time":1764999123}
    [action_time] => {"api_allot_time":1764999050,"compaign_read_start_time":1764999061,"compaign_read_complete_time":1764999062,"compaign_send_start_time":1764999122,"compaign_send_complete_time":1764999123}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81266_06122025_110049AM_494
    [common_name] => u371_81266_06122025_110049AM_494
    [52] => 1764999043_u371_voice.wav
    [voice_file] => 1764999043_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66963
    [temp_group_table] => contacts_temp_group_66963
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999361
    [last_credit_update_time] => 1764999361
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81266
\compaign_type : Rans per 27.38641 
ans sms 324
dnd sms 0

require answer perrequire answer per : 89

user answer per : 42
below is the redis data 47 /n/r
only no answer and busy will be convert, total number require 47 /n/r
UPDATE voice_compaign_detail_81266 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81266 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 37 Total Failed : 71 no_answer_count : 24 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_81266 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81266 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81266 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81266 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='89', `user_busy_sms`='68', `user_congestion_sms`='9', `user_failed_sms`='86', `user_hangup_sms`='0', `user_no_answer_sms`='72', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81266 LIMIT 1 


Time Diff : 0.654

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740281'  
Array
(
    [0] => 81240
    [compaign_id] => 81240
    [1] => u607
    [user_id] => u607
    [2] => 68546,
    [group_ids] => 68546,
    [3] => 
    [sender_id] => 
    [4] => Manthapuri Palle Santosh Goud Voice.mp3
    [filename] => Manthapuri Palle Santosh Goud Voice.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999000
    [start_date] => 1764999000
    [9] => 0
    [end_date] => 0
    [10] => 667
    [total_sms] => 667
    [11] => 667
    [sent_sms] => 667
    [12] => 0
    [duplicate_sms] => 0
    [13] => 71
    [answered_sms] => 71
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 138
    [failed_sms] => 138
    [17] => 0
    [hangup_sms] => 0
    [18] => 57
    [no_answer_sms] => 57
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 224
    [cutting_sms] => 224
    [22] => 143
    [dnd_sms] => 143
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 71
    [user_answered_sms] => 71
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 138
    [user_failed_sms] => 138
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 57
    [user_no_answer_sms] => 57
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 143
    [user_dnd_sms] => 143
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764997924
    [create_date] => 1764997924
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999136,"compaign_read_start_time":1764999181,"compaign_read_complete_time":1764999182,"compaign_send_start_time":1764999241,"compaign_send_complete_time":1764999243}
    [action_time] => {"api_allot_time":1764999136,"compaign_read_start_time":1764999181,"compaign_read_complete_time":1764999182,"compaign_send_start_time":1764999241,"compaign_send_complete_time":1764999243}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81240_06122025_110005AM_391
    [common_name] => u607_81240_06122025_110005AM_391
    [52] => 1764835356_u607_voice.wav
    [voice_file] => 1764835356_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68546
    [temp_group_table] => contacts_temp_group_68546
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999422
    [last_credit_update_time] => 1764999422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81240
\compaign_type : Rans per 30.58302 
ans sms 667
dnd sms 143

require answer perrequire answer per : 161

user answer per : 71
below is the redis data 90 /n/r
only no answer and busy will be convert, total number require 90 /n/r
UPDATE voice_compaign_detail_81240 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81240 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 72 Total Failed : 130 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_81240 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81240 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81240 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81240 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='106', `user_congestion_sms`='16', `user_failed_sms`='124', `user_hangup_sms`='0', `user_no_answer_sms`='117', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='143' WHERE `compaign_id`=81240 LIMIT 1 


Time Diff : 0.318

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740401'  
Array
(
    [0] => 81269
    [compaign_id] => 81269
    [1] => u29720
    [user_id] => u29720
    [2] => 68561,
    [group_ids] => 68561,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3(1)
    [filename] => Ghanpur Mulugu.mp3(1)
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999329
    [start_date] => 1764999329
    [9] => 0
    [end_date] => 0
    [10] => 450
    [total_sms] => 450
    [11] => 450
    [sent_sms] => 450
    [12] => 0
    [duplicate_sms] => 0
    [13] => 95
    [answered_sms] => 95
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 28
    [failed_sms] => 28
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 164
    [cutting_sms] => 164
    [22] => 66
    [dnd_sms] => 66
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 95
    [user_answered_sms] => 95
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28
    [user_failed_sms] => 28
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 65
    [user_no_answer_sms] => 65
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 66
    [user_dnd_sms] => 66
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999329
    [create_date] => 1764999329
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999336,"compaign_read_start_time":1764999337,"compaign_read_complete_time":1764999340,"compaign_send_start_time":1764999362,"compaign_send_complete_time":1764999363}
    [action_time] => {"api_allot_time":1764999336,"compaign_read_start_time":1764999337,"compaign_read_complete_time":1764999340,"compaign_send_start_time":1764999362,"compaign_send_complete_time":1764999363}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81269_06122025_110535AM_994
    [common_name] => u29720_81269_06122025_110535AM_994
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68561
    [temp_group_table] => contacts_temp_group_68561
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999601
    [last_credit_update_time] => 1764999601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81269
\compaign_type : Rans per 29.41074 
ans sms 450
dnd sms 66

require answer perrequire answer per : 113

user answer per : 95
below is the redis data 18 UPDATE voice_compaign_detail_81269 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 18 Total Failed : 146 no_answer_count : 49 Busy count :38 congestion_count : 18 failed_count : 41UPDATE voice_compaign_detail_81269 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_81269 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81269 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81269 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='113', `user_busy_sms`='70', `user_congestion_sms`='18', `user_failed_sms`='69', `user_hangup_sms`='0', `user_no_answer_sms`='114', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='66' WHERE `compaign_id`=81269 LIMIT 1 


Time Diff : 0.469

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740641'  
Array
(
    [0] => 81270
    [compaign_id] => 81270
    [1] => u29710
    [user_id] => u29710
    [2] => 68562,
    [group_ids] => 68562,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 14.02.15.wav
    [filename] => WhatsApp Audio 2025-12-02 at 14.02.15.wav
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999417
    [start_date] => 1764999417
    [9] => 0
    [end_date] => 0
    [10] => 56
    [total_sms] => 56
    [11] => 56
    [sent_sms] => 56
    [12] => 0
    [duplicate_sms] => 0
    [13] => 26
    [answered_sms] => 26
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 13
    [failed_sms] => 13
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 26
    [user_answered_sms] => 26
    [27] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 13
    [user_failed_sms] => 13
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 10
    [user_no_answer_sms] => 10
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29710
    [created_by] => u29710
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999417
    [create_date] => 1764999417
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999422,"compaign_read_start_time":1764999425,"compaign_read_complete_time":1764999425,"compaign_send_start_time":1764999481,"compaign_send_complete_time":1764999482}
    [action_time] => {"api_allot_time":1764999422,"compaign_read_start_time":1764999425,"compaign_read_complete_time":1764999425,"compaign_send_start_time":1764999481,"compaign_send_complete_time":1764999482}
    [50] => 0
    [compaign_file] => 0
    [51] => u29710_81270_06122025_110702AM_622
    [common_name] => u29710_81270_06122025_110702AM_622
    [52] => 1764664751_u29710_voice.wav
    [voice_file] => 1764664751_u29710_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68562
    [temp_group_table] => contacts_temp_group_68562
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 3
    [credit_seq] => 3
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1764999781
    [last_credit_update_time] => 1764999781
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1916
    [user_voice_plan_id] => 1916
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr33,sr101,sr147,u29710
    [uphierarchy] => admin,sr33,sr101,sr147,u29710
    [113] => 
    [extra_params_json] => 
)


Compaign : 81270
\compaign_type : Rans per 29.76636 
ans sms 56
dnd sms 0

require answer perrequire answer per : 17

user answer per : 26
Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='26', `user_busy_sms`='7', `user_congestion_sms`='0', `user_failed_sms`='13', `user_hangup_sms`='0', `user_no_answer_sms`='10', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81270 LIMIT 1 


Time Diff : 5.571

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740882'  
Array
(
    [0] => 81274
    [compaign_id] => 81274
    [1] => u29410
    [user_id] => u29410
    [2] => 68564,
    [group_ids] => 68564,
    [3] => 
    [sender_id] => 
    [4] => IVR Voice Recoder.mp3(1)
    [filename] => IVR Voice Recoder.mp3(1)
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999703
    [start_date] => 1764999703
    [9] => 0
    [end_date] => 0
    [10] => 699
    [total_sms] => 699
    [11] => 699
    [sent_sms] => 699
    [12] => 0
    [duplicate_sms] => 0
    [13] => 103
    [answered_sms] => 103
    [14] => 71
    [busy_sms] => 71
    [15] => 0
    [congestion_sms] => 0
    [16] => 47
    [failed_sms] => 47
    [17] => 0
    [hangup_sms] => 0
    [18] => 154
    [no_answer_sms] => 154
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 324
    [cutting_sms] => 324
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 103
    [user_answered_sms] => 103
    [27] => 71
    [user_busy_sms] => 71
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 47
    [user_failed_sms] => 47
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 154
    [user_no_answer_sms] => 154
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29410
    [created_by] => u29410
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999702
    [create_date] => 1764999702
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999710,"compaign_read_start_time":1764999722,"compaign_read_complete_time":1764999723,"compaign_send_start_time":1764999781,"compaign_send_complete_time":1764999792}
    [action_time] => {"api_allot_time":1764999710,"compaign_read_start_time":1764999722,"compaign_read_complete_time":1764999723,"compaign_send_start_time":1764999781,"compaign_send_complete_time":1764999792}
    [50] => 0
    [compaign_file] => 0
    [51] => u29410_81274_06122025_111149AM_424
    [common_name] => u29410_81274_06122025_111149AM_424
    [52] => 1764651230_u29410_voice.wav
    [voice_file] => 1764651230_u29410_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68564
    [temp_group_table] => contacts_temp_group_68564
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 5
    [reschedule_max] => 5
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 5
    [reschedule_remaining] => 5
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1764999904
    [reschedule_last_check_time] => 1764999904
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000022
    [last_credit_update_time] => 1765000022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1813
    [user_voice_plan_id] => 1813
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 10
    [dtmf_wait_time] => 10
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr27,sr57,u29410
    [uphierarchy] => admin,sr27,sr57,u29410
    [113] => 
    [extra_params_json] => 
)


Compaign : 81274
\compaign_type : Rans per 25.79595 
ans sms 699
dnd sms 0

require answer perrequire answer per : 181

user answer per : 103
below is the redis data 78 UPDATE voice_compaign_detail_81274 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 78 Total Failed : 246 no_answer_count : 83 Busy count :64 congestion_count : 30 failed_count : 69UPDATE voice_compaign_detail_81274 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_81274 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81274 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81274 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='181', `user_busy_sms`='135', `user_congestion_sms`='30', `user_failed_sms`='116', `user_hangup_sms`='0', `user_no_answer_sms`='237', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81274 LIMIT 1 


Time Diff : 0.391

Array
(
    [0] => 81275
    [compaign_id] => 81275
    [1] => u29720
    [user_id] => u29720
    [2] => 68565,
    [group_ids] => 68565,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3(1)
    [filename] => Ghanpur Mulugu.mp3(1)
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999723
    [start_date] => 1764999723
    [9] => 0
    [end_date] => 0
    [10] => 271
    [total_sms] => 271
    [11] => 271
    [sent_sms] => 271
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 23
    [failed_sms] => 23
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 84
    [cutting_sms] => 84
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 78
    [user_answered_sms] => 78
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 23
    [user_failed_sms] => 23
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 52
    [user_no_answer_sms] => 52
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999723
    [create_date] => 1764999723
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999728,"compaign_read_start_time":1764999731,"compaign_read_complete_time":1764999731,"compaign_send_start_time":1764999781,"compaign_send_complete_time":1764999791}
    [action_time] => {"api_allot_time":1764999728,"compaign_read_start_time":1764999731,"compaign_read_complete_time":1764999731,"compaign_send_start_time":1764999781,"compaign_send_complete_time":1764999791}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81275_06122025_111208AM_257
    [common_name] => u29720_81275_06122025_111208AM_257
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68565
    [temp_group_table] => contacts_temp_group_68565
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000022
    [last_credit_update_time] => 1765000022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81275
\compaign_type : Rans per 28.71727 
ans sms 271
dnd sms 0

require answer perrequire answer per : 78

user answer per : 78
Total Failed : 84 no_answer_count : 29 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_81275 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81275 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81275 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81275 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='78', `user_busy_sms`='56', `user_congestion_sms`='10', `user_failed_sms`='46', `user_hangup_sms`='0', `user_no_answer_sms`='81', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81275 LIMIT 1 


Time Diff : 0.934

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764740941'  
Array
(
    [0] => 81277
    [compaign_id] => 81277
    [1] => u371
    [user_id] => u371
    [2] => 68480,
    [group_ids] => 68480,
    [3] => 
    [sender_id] => 
    [4] => Eklaspur CV S.mp3
    [filename] => Eklaspur CV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999727
    [start_date] => 1764999727
    [9] => 0
    [end_date] => 0
    [10] => 83
    [total_sms] => 83
    [11] => 83
    [sent_sms] => 83
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 40
    [failed_sms] => 40
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 40
    [user_failed_sms] => 40
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 20
    [user_no_answer_sms] => 20
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999727
    [create_date] => 1764999727
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999732,"compaign_read_start_time":1764999734,"compaign_read_complete_time":1764999734,"compaign_send_start_time":1764999781,"compaign_send_complete_time":1764999790}
    [action_time] => {"api_allot_time":1764999732,"compaign_read_start_time":1764999734,"compaign_read_complete_time":1764999734,"compaign_send_start_time":1764999781,"compaign_send_complete_time":1764999790}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81277_06122025_111212AM_393
    [common_name] => u371_81277_06122025_111212AM_393
    [52] => 1764999727_u371_voice.wav
    [voice_file] => 1764999727_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68480
    [temp_group_table] => contacts_temp_group_68480
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 3
    [credit_seq] => 3
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000082
    [last_credit_update_time] => 1765000082
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81277
\compaign_type : Rans per 25.0166 
ans sms 83
dnd sms 0

require answer perrequire answer per : 21

user answer per : 18
below is the redis data 3 /n/r
only no answer and busy will be convert, total number require 3 /n/r
UPDATE voice_compaign_detail_81277 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81277 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='21', `user_busy_sms`='8', `user_congestion_sms`='0', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81277 LIMIT 1 


Time Diff : 3.988

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741061'  
Array
(
    [0] => 81279
    [compaign_id] => 81279
    [1] => u371
    [user_id] => u371
    [2] => 68465,
    [group_ids] => 68465,
    [3] => 
    [sender_id] => 
    [4] => Binola CV S.mp3
    [filename] => Binola CV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999891
    [start_date] => 1764999891
    [9] => 0
    [end_date] => 0
    [10] => 155
    [total_sms] => 155
    [11] => 155
    [sent_sms] => 155
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 46
    [failed_sms] => 46
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 28
    [cutting_sms] => 28
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 46
    [user_failed_sms] => 46
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 34
    [user_no_answer_sms] => 34
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999891
    [create_date] => 1764999891
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999902,"compaign_read_start_time":1764999905,"compaign_read_complete_time":1764999905,"compaign_send_start_time":1764999961,"compaign_send_complete_time":1764999962}
    [action_time] => {"api_allot_time":1764999902,"compaign_read_start_time":1764999905,"compaign_read_complete_time":1764999905,"compaign_send_start_time":1764999961,"compaign_send_complete_time":1764999962}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81279_06122025_111502AM_844
    [common_name] => u371_81279_06122025_111502AM_844
    [52] => 1764999891_u371_voice.wav
    [voice_file] => 1764999891_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68465
    [temp_group_table] => contacts_temp_group_68465
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000202
    [last_credit_update_time] => 1765000202
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81279
\compaign_type : Rans per 29.35329 
ans sms 155
dnd sms 0

require answer perrequire answer per : 46

user answer per : 35
below is the redis data 11 /n/r
only no answer and busy will be convert, total number require 11 /n/r
UPDATE voice_compaign_detail_81279 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81279 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8 Total Failed : 20 no_answer_count : 7 Busy count :6 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_81279 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81279 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81279 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81279 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='46', `user_busy_sms`='22', `user_congestion_sms`='3', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='42', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81279 LIMIT 1 


Time Diff : 1.626

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741121'  
Array
(
    [0] => 81278
    [compaign_id] => 81278
    [1] => u371
    [user_id] => u371
    [2] => 68477,
    [group_ids] => 68477,
    [3] => 
    [sender_id] => 
    [4] => Yadapally DV.mp3
    [filename] => Yadapally DV.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999860
    [start_date] => 1764999860
    [9] => 0
    [end_date] => 0
    [10] => 1659
    [total_sms] => 1659
    [11] => 1659
    [sent_sms] => 1659
    [12] => 0
    [duplicate_sms] => 0
    [13] => 13
    [answered_sms] => 13
    [14] => 100
    [busy_sms] => 100
    [15] => 0
    [congestion_sms] => 0
    [16] => 587
    [failed_sms] => 587
    [17] => 0
    [hangup_sms] => 0
    [18] => 195
    [no_answer_sms] => 195
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 764
    [cutting_sms] => 764
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 13
    [user_answered_sms] => 13
    [27] => 100
    [user_busy_sms] => 100
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 587
    [user_failed_sms] => 587
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 195
    [user_no_answer_sms] => 195
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999860
    [create_date] => 1764999860
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999995,"compaign_read_start_time":1765000022,"compaign_read_complete_time":1765000024,"compaign_send_start_time":1765000082,"compaign_send_complete_time":1765000086}
    [action_time] => {"api_allot_time":1764999995,"compaign_read_start_time":1765000022,"compaign_read_complete_time":1765000024,"compaign_send_start_time":1765000082,"compaign_send_complete_time":1765000086}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81278_06122025_111425AM_131
    [common_name] => u371_81278_06122025_111425AM_131
    [52] => 1764999860_u371_voice.wav
    [voice_file] => 1764999860_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68477
    [temp_group_table] => contacts_temp_group_68477
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000321
    [last_credit_update_time] => 1765000321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81278
\compaign_type : Rans per 25.06736 
ans sms 1659
dnd sms 0

require answer perrequire answer per : 416

user answer per : 13
below is the redis data 403 /n/r
only no answer and busy will be convert, total number require 403 /n/r
UPDATE voice_compaign_detail_81278 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 283 UPDATE voice_compaign_detail_81278 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 283 Total Failed : 452 no_answer_count : 151 Busy count :116 congestion_count : 54 failed_count : 131UPDATE voice_compaign_detail_81278 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 151 UPDATE voice_compaign_detail_81278 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 116 UPDATE voice_compaign_detail_81278 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81278 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 131 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='308', `user_busy_sms`='399', `user_congestion_sms`='54', `user_failed_sms`='464', `user_hangup_sms`='0', `user_no_answer_sms`='434', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81278 LIMIT 1 


Time Diff : 0.127

Array
(
    [0] => 81263
    [compaign_id] => 81263
    [1] => u607
    [user_id] => u607
    [2] => 68558,
    [group_ids] => 68558,
    [3] => 
    [sender_id] => 
    [4] => dataipally (online-audio-converter.com).mp3
    [filename] => dataipally (online-audio-converter.com).mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999900
    [start_date] => 1764999900
    [9] => 0
    [end_date] => 0
    [10] => 420
    [total_sms] => 420
    [11] => 420
    [sent_sms] => 420
    [12] => 0
    [duplicate_sms] => 0
    [13] => 55
    [answered_sms] => 55
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 72
    [failed_sms] => 72
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 138
    [cutting_sms] => 138
    [22] => 72
    [dnd_sms] => 72
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 55
    [user_answered_sms] => 55
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 72
    [user_failed_sms] => 72
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 52
    [user_no_answer_sms] => 52
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 72
    [user_dnd_sms] => 72
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764998824
    [create_date] => 1764998824
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999906,"compaign_read_start_time":1764999964,"compaign_read_complete_time":1764999965,"compaign_send_start_time":1765000022,"compaign_send_complete_time":1765000029}
    [action_time] => {"api_allot_time":1764999906,"compaign_read_start_time":1764999964,"compaign_read_complete_time":1764999965,"compaign_send_start_time":1765000022,"compaign_send_complete_time":1765000029}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81263_06122025_111506AM_682
    [common_name] => u607_81263_06122025_111506AM_682
    [52] => 1764998043_u607_voice.wav
    [voice_file] => 1764998043_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68558
    [temp_group_table] => contacts_temp_group_68558
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000261
    [last_credit_update_time] => 1765000261
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81263
\compaign_type : Rans per 29.05861 
ans sms 420
dnd sms 72

require answer perrequire answer per : 102

user answer per : 55
below is the redis data 47 /n/r
only no answer and busy will be convert, total number require 47 /n/r
UPDATE voice_compaign_detail_81263 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81263 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 38 Total Failed : 89 no_answer_count : 30 Busy count :23 congestion_count : 11 failed_count : 25UPDATE voice_compaign_detail_81263 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81263 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81263 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81263 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='102', `user_busy_sms`='74', `user_congestion_sms`='11', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='91', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='72' WHERE `compaign_id`=81263 LIMIT 1 


Time Diff : 0.648

Array
(
    [0] => 81280
    [compaign_id] => 81280
    [1] => u371
    [user_id] => u371
    [2] => 68463,
    [group_ids] => 68463,
    [3] => 
    [sender_id] => 
    [4] => Salampad CV S.mp3
    [filename] => Salampad CV S.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999967
    [start_date] => 1764999967
    [9] => 0
    [end_date] => 0
    [10] => 324
    [total_sms] => 324
    [11] => 324
    [sent_sms] => 324
    [12] => 0
    [duplicate_sms] => 0
    [13] => 49
    [answered_sms] => 49
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 101
    [failed_sms] => 101
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 117
    [cutting_sms] => 117
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 49
    [user_answered_sms] => 49
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 101
    [user_failed_sms] => 101
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 36
    [user_no_answer_sms] => 36
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1764999967
    [create_date] => 1764999967
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1764999974,"compaign_read_start_time":1764999976,"compaign_read_complete_time":1764999977,"compaign_send_start_time":1765000022,"compaign_send_complete_time":1765000029}
    [action_time] => {"api_allot_time":1764999974,"compaign_read_start_time":1764999976,"compaign_read_complete_time":1764999977,"compaign_send_start_time":1765000022,"compaign_send_complete_time":1765000029}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81280_06122025_111613AM_514
    [common_name] => u371_81280_06122025_111613AM_514
    [52] => 1764999967_u371_voice.wav
    [voice_file] => 1764999967_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68463
    [temp_group_table] => contacts_temp_group_68463
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000261
    [last_credit_update_time] => 1765000261
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81280
\compaign_type : Rans per 26.08629 
ans sms 324
dnd sms 0

require answer perrequire answer per : 85

user answer per : 49
below is the redis data 36 /n/r
only no answer and busy will be convert, total number require 36 /n/r
UPDATE voice_compaign_detail_81280 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81280 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 Total Failed : 87 no_answer_count : 30 Busy count :23 congestion_count : 11 failed_count : 23UPDATE voice_compaign_detail_81280 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81280 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81280 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81280 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='85', `user_busy_sms`='58', `user_congestion_sms`='11', `user_failed_sms`='98', `user_hangup_sms`='0', `user_no_answer_sms`='72', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81280 LIMIT 1 


Time Diff : 0.836

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741241'  
Array
(
    [0] => 81221
    [compaign_id] => 81221
    [1] => u607
    [user_id] => u607
    [2] => 68531,
    [group_ids] => 68531,
    [3] => 
    [sender_id] => 
    [4] => gopal_bejgaon.mp3
    [filename] => gopal_bejgaon.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1764999900
    [start_date] => 1764999900
    [9] => 0
    [end_date] => 0
    [10] => 614
    [total_sms] => 614
    [11] => 614
    [sent_sms] => 614
    [12] => 0
    [duplicate_sms] => 0
    [13] => 47
    [answered_sms] => 47
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 194
    [failed_sms] => 194
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 215
    [cutting_sms] => 215
    [22] => 92
    [dnd_sms] => 92
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 47
    [user_answered_sms] => 47
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 194
    [user_failed_sms] => 194
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 35
    [user_no_answer_sms] => 35
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 92
    [user_dnd_sms] => 92
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1764997023
    [create_date] => 1764997023
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765000036,"compaign_read_start_time":1765000082,"compaign_read_complete_time":1765000083,"compaign_send_start_time":1765000142,"compaign_send_complete_time":1765000143}
    [action_time] => {"api_allot_time":1765000036,"compaign_read_start_time":1765000082,"compaign_read_complete_time":1765000083,"compaign_send_start_time":1765000142,"compaign_send_complete_time":1765000143}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81221_06122025_111506AM_424
    [common_name] => u607_81221_06122025_111506AM_424
    [52] => 1764915195_u607_voice.wav
    [voice_file] => 1764915195_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68531
    [temp_group_table] => contacts_temp_group_68531
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000382
    [last_credit_update_time] => 1765000382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81221
\compaign_type : Rans per 26.327 
ans sms 614
dnd sms 92

require answer perrequire answer per : 138

user answer per : 47
below is the redis data 91 /n/r
only no answer and busy will be convert, total number require 91 /n/r
UPDATE voice_compaign_detail_81221 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_81221 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 67 Total Failed : 138 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_81221 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81221 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81221 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81221 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='113', `user_busy_sms`='103', `user_congestion_sms`='17', `user_failed_sms`='175', `user_hangup_sms`='0', `user_no_answer_sms`='114', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='92' WHERE `compaign_id`=81221 LIMIT 1 


Time Diff : 0.443

Array
(
    [0] => 81285
    [compaign_id] => 81285
    [1] => u371
    [user_id] => u371
    [2] => 68289,
    [group_ids] => 68289,
    [3] => 
    [sender_id] => 
    [4] => Abangapatnam CV S.mp3
    [filename] => Abangapatnam CV S.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765000077
    [start_date] => 1765000077
    [9] => 0
    [end_date] => 0
    [10] => 349
    [total_sms] => 349
    [11] => 349
    [sent_sms] => 349
    [12] => 0
    [duplicate_sms] => 0
    [13] => 73
    [answered_sms] => 73
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 73
    [no_answer_sms] => 73
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 125
    [cutting_sms] => 125
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 73
    [user_answered_sms] => 73
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 49
    [user_failed_sms] => 49
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 73
    [user_no_answer_sms] => 73
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765000077
    [create_date] => 1765000077
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765000082,"compaign_read_start_time":1765000085,"compaign_read_complete_time":1765000085,"compaign_send_start_time":1765000142,"compaign_send_complete_time":1765000143}
    [action_time] => {"api_allot_time":1765000082,"compaign_read_start_time":1765000085,"compaign_read_complete_time":1765000085,"compaign_send_start_time":1765000142,"compaign_send_complete_time":1765000143}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81285_06122025_111802AM_208
    [common_name] => u371_81285_06122025_111802AM_208
    [52] => 1765000077_u371_voice.wav
    [voice_file] => 1765000077_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68289
    [temp_group_table] => contacts_temp_group_68289
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000382
    [last_credit_update_time] => 1765000382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81285
\compaign_type : Rans per 26.60087 
ans sms 349
dnd sms 0

require answer perrequire answer per : 93

user answer per : 73
below is the redis data 20 /n/r
only no answer and busy will be convert, total number require 20 /n/r
UPDATE voice_compaign_detail_81285 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81285 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 Total Failed : 99 no_answer_count : 34 Busy count :26 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_81285 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81285 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81285 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81285 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='93', `user_busy_sms`='69', `user_congestion_sms`='12', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='105', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81285 LIMIT 1 


Time Diff : 0.779

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741302'  
Array
(
    [0] => 81286
    [compaign_id] => 81286
    [1] => u371
    [user_id] => u371
    [2] => 68199,
    [group_ids] => 68199,
    [3] => 
    [sender_id] => 
    [4] => Naleshwar DV.mp3
    [filename] => Naleshwar DV.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765000134
    [start_date] => 1765000134
    [9] => 0
    [end_date] => 0
    [10] => 654
    [total_sms] => 654
    [11] => 654
    [sent_sms] => 654
    [12] => 0
    [duplicate_sms] => 0
    [13] => 104
    [answered_sms] => 104
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 148
    [failed_sms] => 148
    [17] => 0
    [hangup_sms] => 0
    [18] => 79
    [no_answer_sms] => 79
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 286
    [cutting_sms] => 286
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 104
    [user_answered_sms] => 104
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 148
    [user_failed_sms] => 148
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 79
    [user_no_answer_sms] => 79
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765000134
    [create_date] => 1765000134
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765000142,"compaign_read_start_time":1765000144,"compaign_read_complete_time":1765000145,"compaign_send_start_time":1765000202,"compaign_send_complete_time":1765000205}
    [action_time] => {"api_allot_time":1765000142,"compaign_read_start_time":1765000144,"compaign_read_complete_time":1765000145,"compaign_send_start_time":1765000202,"compaign_send_complete_time":1765000205}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81286_06122025_111902AM_882
    [common_name] => u371_81286_06122025_111902AM_882
    [52] => 1765000134_u371_voice.wav
    [voice_file] => 1765000134_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68199
    [temp_group_table] => contacts_temp_group_68199
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000441
    [last_credit_update_time] => 1765000441
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81286
\compaign_type : Rans per 30.33349 
ans sms 654
dnd sms 0

require answer perrequire answer per : 199

user answer per : 104
below is the redis data 95 /n/r
only no answer and busy will be convert, total number require 95 /n/r
UPDATE voice_compaign_detail_81286 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81286 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 71 Total Failed : 191 no_answer_count : 64 Busy count :50 congestion_count : 23 failed_count : 54UPDATE voice_compaign_detail_81286 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81286 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_81286 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81286 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='199', `user_busy_sms`='125', `user_congestion_sms`='23', `user_failed_sms`='155', `user_hangup_sms`='0', `user_no_answer_sms`='152', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81286 LIMIT 1 


Time Diff : 0.414

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741361'  
Array
(
    [0] => 81287
    [compaign_id] => 81287
    [1] => u371
    [user_id] => u371
    [2] => 68134,
    [group_ids] => 68134,
    [3] => 
    [sender_id] => 
    [4] => Biknoor CV S.mp3
    [filename] => Biknoor CV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765000211
    [start_date] => 1765000211
    [9] => 0
    [end_date] => 0
    [10] => 2086
    [total_sms] => 2086
    [11] => 2086
    [sent_sms] => 2086
    [12] => 0
    [duplicate_sms] => 0
    [13] => 282
    [answered_sms] => 282
    [14] => 121
    [busy_sms] => 121
    [15] => 0
    [congestion_sms] => 0
    [16] => 463
    [failed_sms] => 463
    [17] => 0
    [hangup_sms] => 0
    [18] => 225
    [no_answer_sms] => 225
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 995
    [cutting_sms] => 995
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 282
    [user_answered_sms] => 282
    [27] => 121
    [user_busy_sms] => 121
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 463
    [user_failed_sms] => 463
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 225
    [user_no_answer_sms] => 225
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765000211
    [create_date] => 1765000211
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765000216,"compaign_read_start_time":1765000217,"compaign_read_complete_time":1765000220,"compaign_send_start_time":1765000261,"compaign_send_complete_time":1765000266}
    [action_time] => {"api_allot_time":1765000216,"compaign_read_start_time":1765000217,"compaign_read_complete_time":1765000220,"compaign_send_start_time":1765000261,"compaign_send_complete_time":1765000266}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81287_06122025_112016AM_392
    [common_name] => u371_81287_06122025_112016AM_392
    [52] => 1765000211_u371_voice.wav
    [voice_file] => 1765000211_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68134
    [temp_group_table] => contacts_temp_group_68134
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000502
    [last_credit_update_time] => 1765000502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81287
\compaign_type : Rans per 27.26434 
ans sms 2086
dnd sms 0

require answer perrequire answer per : 569

user answer per : 282
below is the redis data 287 /n/r
only no answer and busy will be convert, total number require 287 /n/r
UPDATE voice_compaign_detail_81287 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 219 UPDATE voice_compaign_detail_81287 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 219 Total Failed : 693 no_answer_count : 232 Busy count :178 congestion_count : 83 failed_count : 200UPDATE voice_compaign_detail_81287 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 232 UPDATE voice_compaign_detail_81287 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 178 UPDATE voice_compaign_detail_81287 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_81287 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 200 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='569', `user_busy_sms`='417', `user_congestion_sms`='83', `user_failed_sms`='527', `user_hangup_sms`='0', `user_no_answer_sms`='490', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81287 LIMIT 1 


Time Diff : 0.13

Array
(
    [0] => 81288
    [compaign_id] => 81288
    [1] => u371
    [user_id] => u371
    [2] => 66881,
    [group_ids] => 66881,
    [3] => 
    [sender_id] => 
    [4] => Navipet Rekha CV.mp3
    [filename] => Navipet Rekha CV.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765000278
    [start_date] => 1765000278
    [9] => 0
    [end_date] => 0
    [10] => 1855
    [total_sms] => 1855
    [11] => 1855
    [sent_sms] => 1855
    [12] => 0
    [duplicate_sms] => 0
    [13] => 213
    [answered_sms] => 213
    [14] => 138
    [busy_sms] => 138
    [15] => 0
    [congestion_sms] => 0
    [16] => 430
    [failed_sms] => 430
    [17] => 0
    [hangup_sms] => 0
    [18] => 226
    [no_answer_sms] => 226
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 848
    [cutting_sms] => 848
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 213
    [user_answered_sms] => 213
    [27] => 138
    [user_busy_sms] => 138
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 430
    [user_failed_sms] => 430
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 226
    [user_no_answer_sms] => 226
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765000278
    [create_date] => 1765000278
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765000283,"compaign_read_start_time":1765000285,"compaign_read_complete_time":1765000287,"compaign_send_start_time":1765000322,"compaign_send_complete_time":1765000335}
    [action_time] => {"api_allot_time":1765000283,"compaign_read_start_time":1765000285,"compaign_read_complete_time":1765000287,"compaign_send_start_time":1765000322,"compaign_send_complete_time":1765000335}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81288_06122025_112123AM_360
    [common_name] => u371_81288_06122025_112123AM_360
    [52] => 1765000278_u371_voice.wav
    [voice_file] => 1765000278_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66881
    [temp_group_table] => contacts_temp_group_66881
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000502
    [last_credit_update_time] => 1765000502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81288
\compaign_type : Rans per 28.50298 
ans sms 1855
dnd sms 0

require answer perrequire answer per : 529

user answer per : 213
below is the redis data 316 /n/r
only no answer and busy will be convert, total number require 316 /n/r
UPDATE voice_compaign_detail_81288 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 222 UPDATE voice_compaign_detail_81288 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 222 Total Failed : 534 no_answer_count : 179 Busy count :138 congestion_count : 64 failed_count : 153UPDATE voice_compaign_detail_81288 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 179 UPDATE voice_compaign_detail_81288 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_81288 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81288 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 153 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='529', `user_busy_sms`='377', `user_congestion_sms`='64', `user_failed_sms`='453', `user_hangup_sms`='0', `user_no_answer_sms`='432', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81288 LIMIT 1 


Time Diff : 0.114

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741421'  
Array
(
    [0] => 81289
    [compaign_id] => 81289
    [1] => u29720
    [user_id] => u29720
    [2] => 68570,
    [group_ids] => 68570,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3(1)
    [filename] => Ghanpur Mulugu.mp3(1)
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765000322
    [start_date] => 1765000322
    [9] => 0
    [end_date] => 0
    [10] => 193
    [total_sms] => 193
    [11] => 193
    [sent_sms] => 193
    [12] => 0
    [duplicate_sms] => 0
    [13] => 38
    [answered_sms] => 38
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 21
    [failed_sms] => 21
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 57
    [cutting_sms] => 57
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 0
    [user_failed_sms] => 0
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765000322
    [create_date] => 1765000322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765000328,"compaign_read_start_time":1765000330,"compaign_read_complete_time":1765000331,"compaign_send_start_time":1765000382,"compaign_send_complete_time":1765000387}
    [action_time] => {"api_allot_time":1765000328,"compaign_read_start_time":1765000330,"compaign_read_complete_time":1765000331,"compaign_send_start_time":1765000382,"compaign_send_complete_time":1765000387}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81289_06122025_112208AM_663
    [common_name] => u29720_81289_06122025_112208AM_663
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68570
    [temp_group_table] => contacts_temp_group_68570
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765000621
    [last_credit_update_time] => 1765000621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81289
\compaign_type : Rans per 26.17299 
ans sms 193
dnd sms 0

require answer perrequire answer per : 51

user answer per : 38
below is the redis data 13 UPDATE voice_compaign_detail_81289 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13 Total Failed : 44 no_answer_count : 15 Busy count :12 congestion_count : 6 failed_count : 11UPDATE voice_compaign_detail_81289 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81289 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81289 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81289 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='51', `user_busy_sms`='38', `user_congestion_sms`='6', `user_failed_sms`='32', `user_hangup_sms`='0', `user_no_answer_sms`='66', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81289 LIMIT 1 


Time Diff : 1.088

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741607'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764741962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742142'  
Array
(
    [0] => 81297
    [compaign_id] => 81297
    [1] => sr31
    [user_id] => sr31
    [2] => 68573,
    [group_ids] => 68573,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765000981
    [start_date] => 1765000981
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20
    [cutting_sms] => 20
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 23
    [user_no_answer_sms] => 23
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 0
    [isScheduled] => 0
    [39] => 1765000981
    [create_date] => 1765000981
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765000987,"compaign_read_start_time":1765000990,"compaign_read_complete_time":1765000990,"compaign_send_start_time":1765001041,"compaign_send_complete_time":1765001042}
    [action_time] => {"api_allot_time":1765000987,"compaign_read_start_time":1765000990,"compaign_read_complete_time":1765000990,"compaign_send_start_time":1765001041,"compaign_send_complete_time":1765001042}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81297_06122025_113307AM_864
    [common_name] => sr31_81297_06122025_113307AM_864
    [52] => 1765000981_sr31_voice.wav
    [voice_file] => 1765000981_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68573
    [temp_group_table] => contacts_temp_group_68573
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 3
    [reschedule_max] => 3
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 3
    [reschedule_remaining] => 3
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765001103
    [reschedule_last_check_time] => 1765001103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765001281
    [last_credit_update_time] => 1765001281
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765001700,"2":1765002600,"3":1765003500}
    [rt_time] => {"1":1765001700,"2":1765002600,"3":1765003500}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81297
\compaign_type : Rans per 28.50636 
ans sms 169
dnd sms 69

require answer perrequire answer per : 29

user answer per : 23
below is the redis data 6 /n/r
only no answer and busy will be convert, total number require 6 /n/r
UPDATE voice_compaign_detail_81297 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81297 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5 Total Failed : 14 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_81297 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81297 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81297 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81297 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='29', `user_busy_sms`='28', `user_congestion_sms`='2', `user_failed_sms`='11', `user_hangup_sms`='0', `user_no_answer_sms`='30', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81297 LIMIT 1 


Time Diff : 1.491

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742321'  
Array
(
    [0] => 81300
    [compaign_id] => 81300
    [1] => u607
    [user_id] => u607
    [2] => 68575,
    [group_ids] => 68575,
    [3] => 
    [sender_id] => 
    [4] => malupally_srinivas.mp3
    [filename] => malupally_srinivas.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765001224
    [start_date] => 1765001224
    [9] => 0
    [end_date] => 0
    [10] => 796
    [total_sms] => 796
    [11] => 796
    [sent_sms] => 796
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 230
    [failed_sms] => 230
    [17] => 0
    [hangup_sms] => 0
    [18] => 21
    [no_answer_sms] => 21
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 280
    [cutting_sms] => 280
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 230
    [user_failed_sms] => 230
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 21
    [user_no_answer_sms] => 21
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 188
    [user_dnd_sms] => 188
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765001224
    [create_date] => 1765001224
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765001230,"compaign_read_start_time":1765001233,"compaign_read_complete_time":1765001235,"compaign_send_start_time":1765001282,"compaign_send_complete_time":1765001283}
    [action_time] => {"api_allot_time":1765001230,"compaign_read_start_time":1765001233,"compaign_read_complete_time":1765001235,"compaign_send_start_time":1765001282,"compaign_send_complete_time":1765001283}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81300_06122025_113709AM_166
    [common_name] => u607_81300_06122025_113709AM_166
    [52] => 1764997942_u607_voice.wav
    [voice_file] => 1764997942_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68575
    [temp_group_table] => contacts_temp_group_68575
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765001462
    [last_credit_update_time] => 1765001462
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81300
\compaign_type : Rans per 28.35494 
ans sms 796
dnd sms 188

require answer perrequire answer per : 173

user answer per : 42
below is the redis data 131 /n/r
only no answer and busy will be convert, total number require 131 /n/r
UPDATE voice_compaign_detail_81300 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 105 UPDATE voice_compaign_detail_81300 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 105 Total Failed : 155 no_answer_count : 52 Busy count :40 congestion_count : 19 failed_count : 44UPDATE voice_compaign_detail_81300 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81300 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81300 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81300 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='98', `user_busy_sms`='145', `user_congestion_sms`='19', `user_failed_sms`='189', `user_hangup_sms`='0', `user_no_answer_sms`='157', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81300 LIMIT 1 


Time Diff : 0.265

Array
(
    [0] => 81301
    [compaign_id] => 81301
    [1] => u607
    [user_id] => u607
    [2] => 68577,
    [group_ids] => 68577,
    [3] => 
    [sender_id] => 
    [4] => narender_muttharam .mp3
    [filename] => narender_muttharam .mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765001227
    [start_date] => 1765001227
    [9] => 0
    [end_date] => 0
    [10] => 485
    [total_sms] => 485
    [11] => 485
    [sent_sms] => 485
    [12] => 0
    [duplicate_sms] => 0
    [13] => 95
    [answered_sms] => 95
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 74
    [no_answer_sms] => 74
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 155
    [cutting_sms] => 155
    [22] => 73
    [dnd_sms] => 73
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 95
    [user_answered_sms] => 95
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 74
    [user_no_answer_sms] => 74
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 73
    [user_dnd_sms] => 73
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765001227
    [create_date] => 1765001227
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765001234,"compaign_read_start_time":1765001236,"compaign_read_complete_time":1765001237,"compaign_send_start_time":1765001282,"compaign_send_complete_time":1765001283}
    [action_time] => {"api_allot_time":1765001234,"compaign_read_start_time":1765001236,"compaign_read_complete_time":1765001237,"compaign_send_start_time":1765001282,"compaign_send_complete_time":1765001283}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81301_06122025_113714AM_141
    [common_name] => u607_81301_06122025_113714AM_141
    [52] => 1765001227_u607_voice.wav
    [voice_file] => 1765001227_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68577
    [temp_group_table] => contacts_temp_group_68577
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765001403
    [reschedule_last_check_time] => 1765001403
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765001462
    [last_credit_update_time] => 1765001462
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765002600}
    [rt_time] => {"1":1765002600}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81301
\compaign_type : Rans per 29.20968 
ans sms 485
dnd sms 73

require answer perrequire answer per : 121

user answer per : 95
below is the redis data 26 /n/r
only no answer and busy will be convert, total number require 26 /n/r
UPDATE voice_compaign_detail_81301 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81301 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 Total Failed : 124 no_answer_count : 42 Busy count :32 congestion_count : 15 failed_count : 35UPDATE voice_compaign_detail_81301 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81301 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81301 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81301 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='121', `user_busy_sms`='76', `user_congestion_sms`='15', `user_failed_sms`='79', `user_hangup_sms`='0', `user_no_answer_sms`='121', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='73' WHERE `compaign_id`=81301 LIMIT 1 


Time Diff : 0.437

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742381'  
Array
(
    [0] => 81304
    [compaign_id] => 81304
    [1] => u898
    [user_id] => u898
    [2] => 68579,
    [group_ids] => 68579,
    [3] => 
    [sender_id] => 
    [4] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [filename] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765001293
    [start_date] => 1765001293
    [9] => 0
    [end_date] => 0
    [10] => 327
    [total_sms] => 327
    [11] => 327
    [sent_sms] => 327
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 66
    [busy_sms] => 66
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [17] => 0
    [hangup_sms] => 0
    [18] => 54
    [no_answer_sms] => 54
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 107
    [cutting_sms] => 107
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 66
    [user_busy_sms] => 66
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 48
    [user_failed_sms] => 48
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 54
    [user_no_answer_sms] => 54
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765001293
    [create_date] => 1765001293
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765001300,"compaign_read_start_time":1765001302,"compaign_read_complete_time":1765001304,"compaign_send_start_time":1765001342,"compaign_send_complete_time":1765001343}
    [action_time] => {"api_allot_time":1765001300,"compaign_read_start_time":1765001302,"compaign_read_complete_time":1765001304,"compaign_send_start_time":1765001342,"compaign_send_complete_time":1765001343}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81304_06122025_113819AM_734
    [common_name] => u898_81304_06122025_113819AM_734
    [52] => 1764916326_u898_voice.wav
    [voice_file] => 1764916326_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68579
    [temp_group_table] => contacts_temp_group_68579
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 5
    [reschedule_max] => 5
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 5
    [reschedule_remaining] => 5
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765001403
    [reschedule_last_check_time] => 1765001403
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765001581
    [last_credit_update_time] => 1765001581
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81304
\compaign_type : Rans per 30.59866 
ans sms 327
dnd sms 10

require answer perrequire answer per : 97

user answer per : 42
below is the redis data 55 UPDATE voice_compaign_detail_81304 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 55 Total Failed : 52 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 13UPDATE voice_compaign_detail_81304 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81304 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81304 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81304 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='97', `user_busy_sms`='80', `user_congestion_sms`='7', `user_failed_sms`='61', `user_hangup_sms`='0', `user_no_answer_sms`='72', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=81304 LIMIT 1 


Time Diff : 0.645

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742501'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 13127
    [total_sms] => 13127
    [11] => 13127
    [sent_sms] => 13127
    [12] => 0
    [duplicate_sms] => 0
    [13] => 101
    [answered_sms] => 101
    [14] => 2995
    [busy_sms] => 2995
    [15] => 0
    [congestion_sms] => 0
    [16] => 9643
    [failed_sms] => 9643
    [17] => 0
    [hangup_sms] => 0
    [18] => 388
    [no_answer_sms] => 388
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 101
    [user_answered_sms] => 101
    [27] => 2995
    [user_busy_sms] => 2995
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9643
    [user_failed_sms] => 9643
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 388
    [user_no_answer_sms] => 388
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 43
    [credit_seq] => 43
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765001642
    [last_credit_update_time] => 1765001642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.07717 
ans sms 13127
dnd sms 0

require answer perrequire answer per : 3817

user answer per : 101
below is the redis data 3716 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3716 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='101', `user_busy_sms`='2995', `user_congestion_sms`='0', `user_failed_sms`='9643', `user_hangup_sms`='0', `user_no_answer_sms`='388', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.478

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742561'  
Array
(
    [0] => 81302
    [compaign_id] => 81302
    [1] => u29654
    [user_id] => u29654
    [2] => 68576,
    [group_ids] => 68576,
    [3] => 
    [sender_id] => 
    [4] => Team 3 Intrested Hindi Instant Commission 15 Sec-doc_U4WDZNMB(1).mp3
    [filename] => Team 3 Intrested Hindi Instant Commission 15 Sec-doc_U4WDZNMB(1).mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765001228
    [start_date] => 1765001228
    [9] => 0
    [end_date] => 0
    [10] => 2492
    [total_sms] => 2492
    [11] => 2492
    [sent_sms] => 2492
    [12] => 0
    [duplicate_sms] => 0
    [13] => 192
    [answered_sms] => 192
    [14] => 184
    [busy_sms] => 184
    [15] => 0
    [congestion_sms] => 0
    [16] => 206
    [failed_sms] => 206
    [17] => 0
    [hangup_sms] => 0
    [18] => 193
    [no_answer_sms] => 193
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 699
    [cutting_sms] => 699
    [22] => 1018
    [dnd_sms] => 1018
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 192
    [user_answered_sms] => 192
    [27] => 184
    [user_busy_sms] => 184
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 206
    [user_failed_sms] => 206
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 193
    [user_no_answer_sms] => 193
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1018
    [user_dnd_sms] => 1018
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29654
    [created_by] => u29654
    [38] => 0
    [isScheduled] => 0
    [39] => 1765001227
    [create_date] => 1765001227
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765001365,"compaign_read_start_time":1765001401,"compaign_read_complete_time":1765001408,"compaign_send_start_time":1765001462,"compaign_send_complete_time":1765001465}
    [action_time] => {"api_allot_time":1765001365,"compaign_read_start_time":1765001401,"compaign_read_complete_time":1765001408,"compaign_send_start_time":1765001462,"compaign_send_complete_time":1765001465}
    [50] => 0
    [compaign_file] => 0
    [51] => u29654_81302_06122025_113714AM_148
    [common_name] => u29654_81302_06122025_113714AM_148
    [52] => 1765001227_u29654_voice.wav
    [voice_file] => 1765001227_u29654_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68576
    [temp_group_table] => contacts_temp_group_68576
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765001703
    [reschedule_last_check_time] => 1765001703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765001701
    [last_credit_update_time] => 1765001701
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1861
    [user_voice_plan_id] => 1861
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 5
    [dtmf_wait_time] => 5
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765001700}
    [rt_time] => {"1":1765001700}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr159,u29654
    [uphierarchy] => admin,sr83,sr159,u29654
    [113] => 
    [extra_params_json] => 
)


Compaign : 81302
\compaign_type : Rans per 27.69608 
ans sms 2492
dnd sms 1018

require answer perrequire answer per : 409

user answer per : 192
below is the redis data 217 UPDATE voice_compaign_detail_81302 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 217 Total Failed : 482 no_answer_count : 161 Busy count :124 congestion_count : 58 failed_count : 139UPDATE voice_compaign_detail_81302 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 161 UPDATE voice_compaign_detail_81302 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_81302 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_81302 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 139 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='409', `user_busy_sms`='308', `user_congestion_sms`='58', `user_failed_sms`='345', `user_hangup_sms`='0', `user_no_answer_sms`='354', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1018' WHERE `compaign_id`=81302 LIMIT 1 


Time Diff : 0.109

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742862'  
Array
(
    [0] => 81312
    [compaign_id] => 81312
    [1] => sr31
    [user_id] => sr31
    [2] => 68584,
    [group_ids] => 68584,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765001700
    [start_date] => 1765001700
    [9] => 0
    [end_date] => 0
    [10] => 140
    [total_sms] => 140
    [11] => 140
    [sent_sms] => 140
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 7
    [cutting_sms] => 7
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 8
    [user_answered_sms] => 8
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 20
    [user_no_answer_sms] => 20
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765001522
    [create_date] => 1765001522
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765001706,"compaign_read_start_time":1765001707,"compaign_read_complete_time":1765001707,"compaign_send_start_time":1765001762,"compaign_send_complete_time":1765001762}
    [action_time] => {"api_allot_time":1765001706,"compaign_read_start_time":1765001707,"compaign_read_complete_time":1765001707,"compaign_send_start_time":1765001762,"compaign_send_complete_time":1765001762}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81312_06122025_114505AM_427
    [common_name] => sr31_81312_06122025_114505AM_427
    [52] => 1765000981_sr31_voice.wav
    [voice_file] => 1765000981_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68584
    [temp_group_table] => contacts_temp_group_68584
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002001
    [last_credit_update_time] => 1765002001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81312
\compaign_type : Rans per 28.33715 
ans sms 140
dnd sms 69

require answer perrequire answer per : 21

user answer per : 8
below is the redis data 13 /n/r
only no answer and busy will be convert, total number require 13 /n/r
UPDATE voice_compaign_detail_81312 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81312 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10 Total Failed : 1 no_answer_count : 1 Busy count :1 congestion_count : 1 failed_count : -2UPDATE voice_compaign_detail_81312 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81312 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81312 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='21', `user_busy_sms`='24', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81312 LIMIT 1 


Time Diff : 1.95

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764742982'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 13799
    [total_sms] => 13799
    [11] => 13799
    [sent_sms] => 13799
    [12] => 0
    [duplicate_sms] => 0
    [13] => 108
    [answered_sms] => 108
    [14] => 3239
    [busy_sms] => 3239
    [15] => 0
    [congestion_sms] => 0
    [16] => 10036
    [failed_sms] => 10036
    [17] => 0
    [hangup_sms] => 0
    [18] => 416
    [no_answer_sms] => 416
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 3239
    [user_busy_sms] => 3239
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 10036
    [user_failed_sms] => 10036
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 416
    [user_no_answer_sms] => 416
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 45
    [credit_seq] => 45
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002125
    [last_credit_update_time] => 1765002125
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.58878 
ans sms 13799
dnd sms 0

require answer perrequire answer per : 3531

user answer per : 108
below is the redis data 3423 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3423 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='108', `user_busy_sms`='3239', `user_congestion_sms`='0', `user_failed_sms`='10036', `user_hangup_sms`='0', `user_no_answer_sms`='416', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.489

Array
(
    [0] => 81317
    [compaign_id] => 81317
    [1] => u898
    [user_id] => u898
    [2] => 68587,
    [group_ids] => 68587,
    [3] => 
    [sender_id] => 
    [4] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [filename] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765001822
    [start_date] => 1765001822
    [9] => 0
    [end_date] => 0
    [10] => 230
    [total_sms] => 230
    [11] => 230
    [sent_sms] => 230
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 64
    [busy_sms] => 64
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 63
    [cutting_sms] => 63
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 64
    [user_busy_sms] => 64
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 38
    [user_no_answer_sms] => 38
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765001822
    [create_date] => 1765001822
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765001828,"compaign_read_start_time":1765001830,"compaign_read_complete_time":1765001832,"compaign_send_start_time":1765001882,"compaign_send_complete_time":1765001883}
    [action_time] => {"api_allot_time":1765001828,"compaign_read_start_time":1765001830,"compaign_read_complete_time":1765001832,"compaign_send_start_time":1765001882,"compaign_send_complete_time":1765001883}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81317_06122025_114708AM_835
    [common_name] => u898_81317_06122025_114708AM_835
    [52] => 1764916326_u898_voice.wav
    [voice_file] => 1764916326_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68587
    [temp_group_table] => contacts_temp_group_68587
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002121
    [last_credit_update_time] => 1765002121
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81317
\compaign_type : Rans per 25.08924 
ans sms 230
dnd sms 10

require answer perrequire answer per : 56

user answer per : 11
below is the redis data 45 UPDATE voice_compaign_detail_81317 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 45 Total Failed : 18 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_81317 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81317 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81317 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81317 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='56', `user_busy_sms`='69', `user_congestion_sms`='3', `user_failed_sms`='47', `user_hangup_sms`='0', `user_no_answer_sms`='45', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=81317 LIMIT 1 


Time Diff : 1.183

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743281'  
Array
(
    [0] => 81320
    [compaign_id] => 81320
    [1] => u29654
    [user_id] => u29654
    [2] => 68590,
    [group_ids] => 68590,
    [3] => 
    [sender_id] => 
    [4] => Team 3 Intrested Hindi Instant Commission 15 Sec-doc_U4WDZNMB(1).mp3
    [filename] => Team 3 Intrested Hindi Instant Commission 15 Sec-doc_U4WDZNMB(1).mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765001700
    [start_date] => 1765001700
    [9] => 0
    [end_date] => 0
    [10] => 2082
    [total_sms] => 2082
    [11] => 2082
    [sent_sms] => 2082
    [12] => 0
    [duplicate_sms] => 0
    [13] => 107
    [answered_sms] => 107
    [14] => 151
    [busy_sms] => 151
    [15] => 0
    [congestion_sms] => 0
    [16] => 153
    [failed_sms] => 153
    [17] => 0
    [hangup_sms] => 0
    [18] => 125
    [no_answer_sms] => 125
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 528
    [cutting_sms] => 528
    [22] => 1018
    [dnd_sms] => 1018
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 107
    [user_answered_sms] => 107
    [27] => 151
    [user_busy_sms] => 151
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 153
    [user_failed_sms] => 153
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 125
    [user_no_answer_sms] => 125
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1018
    [user_dnd_sms] => 1018
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29654
    [created_by] => u29654
    [38] => 1
    [isScheduled] => 1
    [39] => 1765002130
    [create_date] => 1765002130
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765002132,"compaign_read_start_time":1765002133,"compaign_read_complete_time":1765002137,"compaign_send_start_time":1765002182,"compaign_send_complete_time":1765002184}
    [action_time] => {"api_allot_time":1765002132,"compaign_read_start_time":1765002133,"compaign_read_complete_time":1765002137,"compaign_send_start_time":1765002182,"compaign_send_complete_time":1765002184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29654_81320_06122025_115211AM_276
    [common_name] => u29654_81320_06122025_115211AM_276
    [52] => 1765001227_u29654_voice.wav
    [voice_file] => 1765001227_u29654_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68590
    [temp_group_table] => contacts_temp_group_68590
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002421
    [last_credit_update_time] => 1765002421
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1861
    [user_voice_plan_id] => 1861
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 5
    [dtmf_wait_time] => 5
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr159,u29654
    [uphierarchy] => admin,sr83,sr159,u29654
    [113] => 
    [extra_params_json] => 
)


Compaign : 81320
\compaign_type : Rans per 28.14901 
ans sms 2082
dnd sms 1018

require answer perrequire answer per : 300

user answer per : 107
below is the redis data 193 UPDATE voice_compaign_detail_81320 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 193 Total Failed : 335 no_answer_count : 112 Busy count :86 congestion_count : 40 failed_count : 97UPDATE voice_compaign_detail_81320 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 112 UPDATE voice_compaign_detail_81320 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 86 UPDATE voice_compaign_detail_81320 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81320 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 97 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='300', `user_busy_sms`='237', `user_congestion_sms`='40', `user_failed_sms`='250', `user_hangup_sms`='0', `user_no_answer_sms`='237', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1018' WHERE `compaign_id`=81320 LIMIT 1 


Time Diff : 0.131

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743402'  
Array
(
    [0] => 81324
    [compaign_id] => 81324
    [1] => u29722
    [user_id] => u29722
    [2] => 68594,
    [group_ids] => 68594,
    [3] => 
    [sender_id] => 
    [4] => Bandi Praveen Kumar Voice.mp3
    [filename] => Bandi Praveen Kumar Voice.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765002280
    [start_date] => 1765002280
    [9] => 0
    [end_date] => 0
    [10] => 4123
    [total_sms] => 4123
    [11] => 4123
    [sent_sms] => 4123
    [12] => 0
    [duplicate_sms] => 0
    [13] => 360
    [answered_sms] => 360
    [14] => 165
    [busy_sms] => 165
    [15] => 0
    [congestion_sms] => 0
    [16] => 1234
    [failed_sms] => 1234
    [17] => 0
    [hangup_sms] => 0
    [18] => 267
    [no_answer_sms] => 267
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2097
    [cutting_sms] => 2097
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 360
    [user_answered_sms] => 360
    [27] => 165
    [user_busy_sms] => 165
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1234
    [user_failed_sms] => 1234
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 267
    [user_no_answer_sms] => 267
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765002278
    [create_date] => 1765002278
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765002286,"compaign_read_start_time":1765002286,"compaign_read_complete_time":1765002292,"compaign_send_start_time":1765002302,"compaign_send_complete_time":1765002315}
    [action_time] => {"api_allot_time":1765002286,"compaign_read_start_time":1765002286,"compaign_read_complete_time":1765002292,"compaign_send_start_time":1765002302,"compaign_send_complete_time":1765002315}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81324_06122025_115445AM_714
    [common_name] => u29722_81324_06122025_115445AM_714
    [52] => 1764834237_u29722_voice.wav
    [voice_file] => 1764834237_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68594
    [temp_group_table] => contacts_temp_group_68594
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002542
    [last_credit_update_time] => 1765002542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81324
\compaign_type : Rans per 28.64214 
ans sms 4123
dnd sms 0

require answer perrequire answer per : 1181

user answer per : 360
below is the redis data 821 UPDATE voice_compaign_detail_81324 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 821 Total Failed : 1276 no_answer_count : 426 Busy count :328 congestion_count : 152 failed_count : 370UPDATE voice_compaign_detail_81324 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 426 UPDATE voice_compaign_detail_81324 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 328 UPDATE voice_compaign_detail_81324 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 152 UPDATE voice_compaign_detail_81324 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 370 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1181', `user_busy_sms`='493', `user_congestion_sms`='152', `user_failed_sms`='1604', `user_hangup_sms`='0', `user_no_answer_sms`='693', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81324 LIMIT 1 


Time Diff : 0.061

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743581'  
Array
(
    [0] => 81328
    [compaign_id] => 81328
    [1] => u898
    [user_id] => u898
    [2] => 68597,
    [group_ids] => 68597,
    [3] => 
    [sender_id] => 
    [4] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [filename] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765002422
    [start_date] => 1765002422
    [9] => 0
    [end_date] => 0
    [10] => 174
    [total_sms] => 174
    [11] => 174
    [sent_sms] => 174
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 36
    [cutting_sms] => 36
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 28
    [user_no_answer_sms] => 28
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765002422
    [create_date] => 1765002422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765002428,"compaign_read_start_time":1765002430,"compaign_read_complete_time":1765002431,"compaign_send_start_time":1765002482,"compaign_send_complete_time":1765002485}
    [action_time] => {"api_allot_time":1765002428,"compaign_read_start_time":1765002430,"compaign_read_complete_time":1765002431,"compaign_send_start_time":1765002482,"compaign_send_complete_time":1765002485}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81328_06122025_115707AM_660
    [common_name] => u898_81328_06122025_115707AM_660
    [52] => 1764916326_u898_voice.wav
    [voice_file] => 1764916326_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68597
    [temp_group_table] => contacts_temp_group_68597
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002722
    [last_credit_update_time] => 1765002722
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81328
\compaign_type : Rans per 27.59973 
ans sms 174
dnd sms 10

require answer perrequire answer per : 46

user answer per : 5
below is the redis data 41 UPDATE voice_compaign_detail_81328 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 41 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='41', `user_busy_sms`='50', `user_congestion_sms`='0', `user_failed_sms`='45', `user_hangup_sms`='0', `user_no_answer_sms`='28', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=81328 LIMIT 1 


Time Diff : 1.557

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743701'  
Array
(
    [0] => 81318
    [compaign_id] => 81318
    [1] => u607
    [user_id] => u607
    [2] => 68588,
    [group_ids] => 68588,
    [3] => 
    [sender_id] => 
    [4] => narender_muttharam .mp3
    [filename] => narender_muttharam .mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765002600
    [start_date] => 1765002600
    [9] => 0
    [end_date] => 0
    [10] => 364
    [total_sms] => 364
    [11] => 364
    [sent_sms] => 364
    [12] => 0
    [duplicate_sms] => 0
    [13] => 51
    [answered_sms] => 51
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 59
    [failed_sms] => 59
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 106
    [cutting_sms] => 106
    [22] => 73
    [dnd_sms] => 73
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 51
    [user_answered_sms] => 51
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 59
    [user_failed_sms] => 59
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 50
    [user_no_answer_sms] => 50
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 73
    [user_dnd_sms] => 73
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765001823
    [create_date] => 1765001823
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765002606,"compaign_read_start_time":1765002608,"compaign_read_complete_time":1765002610,"compaign_send_start_time":1765002662,"compaign_send_complete_time":1765002663}
    [action_time] => {"api_allot_time":1765002606,"compaign_read_start_time":1765002608,"compaign_read_complete_time":1765002610,"compaign_send_start_time":1765002662,"compaign_send_complete_time":1765002663}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81318_06122025_120006PM_128
    [common_name] => u607_81318_06122025_120006PM_128
    [52] => 1765001227_u607_voice.wav
    [voice_file] => 1765001227_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68588
    [temp_group_table] => contacts_temp_group_68588
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002842
    [last_credit_update_time] => 1765002842
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81318
\compaign_type : Rans per 26.66506 
ans sms 364
dnd sms 73

require answer perrequire answer per : 78

user answer per : 51
below is the redis data 27 /n/r
only no answer and busy will be convert, total number require 27 /n/r
UPDATE voice_compaign_detail_81318 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81318 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 Total Failed : 82 no_answer_count : 28 Busy count :22 congestion_count : 10 failed_count : 22UPDATE voice_compaign_detail_81318 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81318 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81318 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81318 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='78', `user_busy_sms`='57', `user_congestion_sms`='10', `user_failed_sms`='65', `user_hangup_sms`='0', `user_no_answer_sms`='81', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='73' WHERE `compaign_id`=81318 LIMIT 1 


Time Diff : 0.582

Array
(
    [0] => 81327
    [compaign_id] => 81327
    [1] => sr31
    [user_id] => sr31
    [2] => 68598,
    [group_ids] => 68598,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765002600
    [start_date] => 1765002600
    [9] => 0
    [end_date] => 0
    [10] => 119
    [total_sms] => 119
    [11] => 119
    [sent_sms] => 119
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4
    [cutting_sms] => 4
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765002422
    [create_date] => 1765002422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765002607,"compaign_read_start_time":1765002611,"compaign_read_complete_time":1765002611,"compaign_send_start_time":1765002662,"compaign_send_complete_time":1765002662}
    [action_time] => {"api_allot_time":1765002607,"compaign_read_start_time":1765002611,"compaign_read_complete_time":1765002611,"compaign_send_start_time":1765002662,"compaign_send_complete_time":1765002662}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81327_06122025_120006PM_696
    [common_name] => sr31_81327_06122025_120006PM_696
    [52] => 1765000981_sr31_voice.wav
    [voice_file] => 1765000981_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68598
    [temp_group_table] => contacts_temp_group_68598
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002842
    [last_credit_update_time] => 1765002842
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81327
\compaign_type : Rans per 30.56424 
ans sms 119
dnd sms 69

require answer perrequire answer per : 16

user answer per : 2
below is the redis data 14 /n/r
only no answer and busy will be convert, total number require 14 /n/r
UPDATE voice_compaign_detail_81327 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81327 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='16', `user_busy_sms`='17', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81327 LIMIT 1 


Time Diff : 1.773

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743821'  
Array
(
    [0] => 81330
    [compaign_id] => 81330
    [1] => u179
    [user_id] => u179
    [2] => 68599,
    [group_ids] => 68599,
    [3] => 
    [sender_id] => 
    [4] => RENEWAL VOICE (1).mp3
    [filename] => RENEWAL VOICE (1).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765002731
    [start_date] => 1765002731
    [9] => 0
    [end_date] => 0
    [10] => 80
    [total_sms] => 80
    [11] => 80
    [sent_sms] => 80
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 6
    [failed_sms] => 6
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 6
    [user_failed_sms] => 6
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1765002731
    [create_date] => 1765002731
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765002736,"compaign_read_start_time":1765002737,"compaign_read_complete_time":1765002738,"compaign_send_start_time":1765002781,"compaign_send_complete_time":1765002783}
    [action_time] => {"api_allot_time":1765002736,"compaign_read_start_time":1765002737,"compaign_read_complete_time":1765002738,"compaign_send_start_time":1765002781,"compaign_send_complete_time":1765002783}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81330_06122025_120216PM_731
    [common_name] => u179_81330_06122025_120216PM_731
    [52] => 1731645953_u179_voice.wav
    [voice_file] => 1731645953_u179_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68599
    [temp_group_table] => contacts_temp_group_68599
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765002902
    [reschedule_last_check_time] => 1765002902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765002962
    [last_credit_update_time] => 1765002962
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765003500,"2":1765004400}
    [rt_time] => {"1":1765003500,"2":1765004400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 81330
\compaign_type : Rans per 29.66952 
ans sms 80
dnd sms 13

require answer perrequire answer per : 20

user answer per : 23
Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='23', `user_busy_sms`='21', `user_congestion_sms`='0', `user_failed_sms`='6', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81330 LIMIT 1 


Time Diff : 2.65

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764743942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744181'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 15504
    [total_sms] => 15504
    [11] => 15504
    [sent_sms] => 15504
    [12] => 0
    [duplicate_sms] => 0
    [13] => 123
    [answered_sms] => 123
    [14] => 3828
    [busy_sms] => 3828
    [15] => 0
    [congestion_sms] => 0
    [16] => 11052
    [failed_sms] => 11052
    [17] => 0
    [hangup_sms] => 0
    [18] => 501
    [no_answer_sms] => 501
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 123
    [user_answered_sms] => 123
    [27] => 3828
    [user_busy_sms] => 3828
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 11052
    [user_failed_sms] => 11052
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 501
    [user_no_answer_sms] => 501
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 50
    [credit_seq] => 50
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765003322
    [last_credit_update_time] => 1765003322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.35976 
ans sms 15504
dnd sms 0

require answer perrequire answer per : 4397

user answer per : 123
below is the redis data 4274 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4274 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='123', `user_busy_sms`='3828', `user_congestion_sms`='0', `user_failed_sms`='11052', `user_hangup_sms`='0', `user_no_answer_sms`='501', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.513

Array
(
    [0] => 81340
    [compaign_id] => 81340
    [1] => u898
    [user_id] => u898
    [2] => 68604,
    [group_ids] => 68604,
    [3] => 
    [sender_id] => 
    [4] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [filename] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765003027
    [start_date] => 1765003027
    [9] => 0
    [end_date] => 0
    [10] => 133
    [total_sms] => 133
    [11] => 133
    [sent_sms] => 133
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 36
    [failed_sms] => 36
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 18
    [cutting_sms] => 18
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 36
    [user_failed_sms] => 36
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 18
    [user_no_answer_sms] => 18
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765003027
    [create_date] => 1765003027
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765003033,"compaign_read_start_time":1765003036,"compaign_read_complete_time":1765003036,"compaign_send_start_time":1765003082,"compaign_send_complete_time":1765003083}
    [action_time] => {"api_allot_time":1765003033,"compaign_read_start_time":1765003036,"compaign_read_complete_time":1765003036,"compaign_send_start_time":1765003082,"compaign_send_complete_time":1765003083}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81340_06122025_120713PM_576
    [common_name] => u898_81340_06122025_120713PM_576
    [52] => 1764916326_u898_voice.wav
    [voice_file] => 1764916326_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68604
    [temp_group_table] => contacts_temp_group_68604
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765003321
    [last_credit_update_time] => 1765003321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81340
\compaign_type : Rans per 29.84432 
ans sms 133
dnd sms 10

require answer perrequire answer per : 37

user answer per : 5
below is the redis data 32 UPDATE voice_compaign_detail_81340 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='23', `user_busy_sms`='46', `user_congestion_sms`='0', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='18', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=81340 LIMIT 1 


Time Diff : 2.045

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744306'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744547'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744601'  
Array
(
    [0] => 81339
    [compaign_id] => 81339
    [1] => sr31
    [user_id] => sr31
    [2] => 68605,
    [group_ids] => 68605,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765003500
    [start_date] => 1765003500
    [9] => 0
    [end_date] => 0
    [10] => 103
    [total_sms] => 103
    [11] => 103
    [sent_sms] => 103
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 4
    [no_answer_sms] => 4
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 4
    [user_no_answer_sms] => 4
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765003027
    [create_date] => 1765003027
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765003507,"compaign_read_start_time":1765003509,"compaign_read_complete_time":1765003510,"compaign_send_start_time":1765003562,"compaign_send_complete_time":1765003562}
    [action_time] => {"api_allot_time":1765003507,"compaign_read_start_time":1765003509,"compaign_read_complete_time":1765003510,"compaign_send_start_time":1765003562,"compaign_send_complete_time":1765003562}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81339_06122025_121507PM_469
    [common_name] => sr31_81339_06122025_121507PM_469
    [52] => 1765000981_sr31_voice.wav
    [voice_file] => 1765000981_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68605
    [temp_group_table] => contacts_temp_group_68605
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765003748
    [last_credit_update_time] => 1765003748
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81339
\compaign_type : Rans per 25.8645 
ans sms 103
dnd sms 69

require answer perrequire answer per : 9

user answer per : 6
below is the redis data 3 /n/r
only no answer and busy will be convert, total number require 3 /n/r
UPDATE voice_compaign_detail_81339 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81339 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='9', `user_busy_sms`='14', `user_congestion_sms`='0', `user_failed_sms`='6', `user_hangup_sms`='0', `user_no_answer_sms`='5', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81339 LIMIT 1 


Time Diff : 1.845

Array
(
    [0] => 81342
    [compaign_id] => 81342
    [1] => u179
    [user_id] => u179
    [2] => 68607,
    [group_ids] => 68607,
    [3] => 
    [sender_id] => 
    [4] => RENEWAL VOICE (1).mp3
    [filename] => RENEWAL VOICE (1).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765003500
    [start_date] => 1765003500
    [9] => 0
    [end_date] => 0
    [10] => 57
    [total_sms] => 57
    [11] => 57
    [sent_sms] => 57
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 5
    [failed_sms] => 5
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 5
    [user_failed_sms] => 5
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 15
    [user_no_answer_sms] => 15
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1765003322
    [create_date] => 1765003322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765003507,"compaign_read_start_time":1765003512,"compaign_read_complete_time":1765003512,"compaign_send_start_time":1765003562,"compaign_send_complete_time":1765003563}
    [action_time] => {"api_allot_time":1765003507,"compaign_read_start_time":1765003512,"compaign_read_complete_time":1765003512,"compaign_send_start_time":1765003562,"compaign_send_complete_time":1765003563}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81342_06122025_121507PM_193
    [common_name] => u179_81342_06122025_121507PM_193
    [52] => 1731645953_u179_voice.wav
    [voice_file] => 1731645953_u179_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68607
    [temp_group_table] => contacts_temp_group_68607
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765003748
    [last_credit_update_time] => 1765003748
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 81342
\compaign_type : Rans per 28.30816 
ans sms 57
dnd sms 13

require answer perrequire answer per : 13

user answer per : 7
below is the redis data 6 /n/r
only no answer and busy will be convert, total number require 6 /n/r
UPDATE voice_compaign_detail_81342 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81342 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13', `user_busy_sms`='13', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='18', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81342 LIMIT 1 


Time Diff : 3.333

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744722'  
Array
(
    [0] => 81344
    [compaign_id] => 81344
    [1] => u898
    [user_id] => u898
    [2] => 68609,
    [group_ids] => 68609,
    [3] => 
    [sender_id] => 
    [4] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [filename] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765003625
    [start_date] => 1765003625
    [9] => 0
    [end_date] => 0
    [10] => 110
    [total_sms] => 110
    [11] => 110
    [sent_sms] => 110
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 40
    [busy_sms] => 40
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 40
    [user_busy_sms] => 40
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 20
    [user_no_answer_sms] => 20
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765003625
    [create_date] => 1765003625
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765003631,"compaign_read_start_time":1765003633,"compaign_read_complete_time":1765003633,"compaign_send_start_time":1765003682,"compaign_send_complete_time":1765003683}
    [action_time] => {"api_allot_time":1765003631,"compaign_read_start_time":1765003633,"compaign_read_complete_time":1765003633,"compaign_send_start_time":1765003682,"compaign_send_complete_time":1765003683}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81344_06122025_121711PM_223
    [common_name] => u898_81344_06122025_121711PM_223
    [52] => 1764916326_u898_voice.wav
    [voice_file] => 1764916326_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68609
    [temp_group_table] => contacts_temp_group_68609
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765003922
    [last_credit_update_time] => 1765003922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81344
\compaign_type : Rans per 28.2477 
ans sms 110
dnd sms 10

require answer perrequire answer per : 29

user answer per : 1
below is the redis data 28 UPDATE voice_compaign_detail_81344 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3', `user_busy_sms`='40', `user_congestion_sms`='0', `user_failed_sms`='37', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=81344 LIMIT 1 


Time Diff : 1.927

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764744962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745261'  
Array
(
    [0] => 81347
    [compaign_id] => 81347
    [1] => u607
    [user_id] => u607
    [2] => 68612,
    [group_ids] => 68612,
    [3] => 
    [sender_id] => 
    [4] => basker_MADURANAGAR.mp3
    [filename] => basker_MADURANAGAR.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765004098
    [start_date] => 1765004098
    [9] => 0
    [end_date] => 0
    [10] => 1340
    [total_sms] => 1340
    [11] => 1340
    [sent_sms] => 1340
    [12] => 0
    [duplicate_sms] => 0
    [13] => 187
    [answered_sms] => 187
    [14] => 78
    [busy_sms] => 78
    [15] => 0
    [congestion_sms] => 0
    [16] => 132
    [failed_sms] => 132
    [17] => 0
    [hangup_sms] => 0
    [18] => 144
    [no_answer_sms] => 144
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 502
    [cutting_sms] => 502
    [22] => 297
    [dnd_sms] => 297
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 187
    [user_answered_sms] => 187
    [27] => 78
    [user_busy_sms] => 78
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 132
    [user_failed_sms] => 132
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 144
    [user_no_answer_sms] => 144
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 297
    [user_dnd_sms] => 297
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765004097
    [create_date] => 1765004097
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765004104,"compaign_read_start_time":1765004107,"compaign_read_complete_time":1765004111,"compaign_send_start_time":1765004162,"compaign_send_complete_time":1765004165}
    [action_time] => {"api_allot_time":1765004104,"compaign_read_start_time":1765004107,"compaign_read_complete_time":1765004111,"compaign_send_start_time":1765004162,"compaign_send_complete_time":1765004165}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81347_06122025_122503PM_986
    [common_name] => u607_81347_06122025_122503PM_986
    [52] => 1765004097_u607_voice.wav
    [voice_file] => 1765004097_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68612
    [temp_group_table] => contacts_temp_group_68612
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765004403
    [reschedule_last_check_time] => 1765004403
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765004402
    [last_credit_update_time] => 1765004402
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765006200}
    [rt_time] => {"1":1765006200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81347
\compaign_type : Rans per 26.21588 
ans sms 1340
dnd sms 297

require answer perrequire answer per : 274

user answer per : 187
below is the redis data 87 /n/r
only no answer and busy will be convert, total number require 87 /n/r
UPDATE voice_compaign_detail_81347 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_81347 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 61 Total Failed : 398 no_answer_count : 133 Busy count :103 congestion_count : 48 failed_count : 114UPDATE voice_compaign_detail_81347 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 133 UPDATE voice_compaign_detail_81347 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 103 UPDATE voice_compaign_detail_81347 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81347 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 114 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='274', `user_busy_sms`='213', `user_congestion_sms`='48', `user_failed_sms`='228', `user_hangup_sms`='0', `user_no_answer_sms`='280', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='297' WHERE `compaign_id`=81347 LIMIT 1 


Time Diff : 0.186

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745382'  
Array
(
    [0] => 81348
    [compaign_id] => 81348
    [1] => u898
    [user_id] => u898
    [2] => 68613,
    [group_ids] => 68613,
    [3] => 
    [sender_id] => 
    [4] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [filename] => HV  Audio 2025-12-04 at 1.30.31 PM.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765004222
    [start_date] => 1765004222
    [9] => 0
    [end_date] => 0
    [10] => 107
    [total_sms] => 107
    [11] => 107
    [sent_sms] => 107
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 47
    [busy_sms] => 47
    [15] => 0
    [congestion_sms] => 0
    [16] => 34
    [failed_sms] => 34
    [17] => 0
    [hangup_sms] => 0
    [18] => 13
    [no_answer_sms] => 13
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3
    [cutting_sms] => 3
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 47
    [user_busy_sms] => 47
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34
    [user_failed_sms] => 34
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 13
    [user_no_answer_sms] => 13
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765004222
    [create_date] => 1765004222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765004228,"compaign_read_start_time":1765004230,"compaign_read_complete_time":1765004230,"compaign_send_start_time":1765004282,"compaign_send_complete_time":1765004283}
    [action_time] => {"api_allot_time":1765004228,"compaign_read_start_time":1765004230,"compaign_read_complete_time":1765004230,"compaign_send_start_time":1765004282,"compaign_send_complete_time":1765004283}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81348_06122025_122707PM_345
    [common_name] => u898_81348_06122025_122707PM_345
    [52] => 1764916326_u898_voice.wav
    [voice_file] => 1764916326_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68613
    [temp_group_table] => contacts_temp_group_68613
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765004522
    [last_credit_update_time] => 1765004522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81348
\compaign_type : Rans per 26.90648 
ans sms 107
dnd sms 10

require answer perrequire answer per : 27

user answer per : 0
below is the redis data 27 UPDATE voice_compaign_detail_81348 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3', `user_busy_sms`='47', `user_congestion_sms`='0', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='13', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=81348 LIMIT 1 


Time Diff : 2.542

Array
(
    [0] => 81349
    [compaign_id] => 81349
    [1] => u29722
    [user_id] => u29722
    [2] => 68614,
    [group_ids] => 68614,
    [3] => 
    [sender_id] => 
    [4] => jogini sri latha yellaiah.mp3
    [filename] => jogini sri latha yellaiah.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765004238
    [start_date] => 1765004238
    [9] => 0
    [end_date] => 0
    [10] => 3642
    [total_sms] => 3642
    [11] => 3642
    [sent_sms] => 3642
    [12] => 0
    [duplicate_sms] => 0
    [13] => 175
    [answered_sms] => 175
    [14] => 74
    [busy_sms] => 74
    [15] => 0
    [congestion_sms] => 0
    [16] => 1415
    [failed_sms] => 1415
    [17] => 0
    [hangup_sms] => 0
    [18] => 103
    [no_answer_sms] => 103
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1875
    [cutting_sms] => 1875
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 175
    [user_answered_sms] => 175
    [27] => 74
    [user_busy_sms] => 74
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1415
    [user_failed_sms] => 1415
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 103
    [user_no_answer_sms] => 103
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765004238
    [create_date] => 1765004238
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765004244,"compaign_read_start_time":1765004245,"compaign_read_complete_time":1765004252,"compaign_send_start_time":1765004282,"compaign_send_complete_time":1765004289}
    [action_time] => {"api_allot_time":1765004244,"compaign_read_start_time":1765004245,"compaign_read_complete_time":1765004252,"compaign_send_start_time":1765004282,"compaign_send_complete_time":1765004289}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81349_06122025_122723PM_741
    [common_name] => u29722_81349_06122025_122723PM_741
    [52] => 1764836698_u29722_voice.wav
    [voice_file] => 1764836698_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68614
    [temp_group_table] => contacts_temp_group_68614
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765004522
    [last_credit_update_time] => 1765004522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81349
\compaign_type : Rans per 29.21349 
ans sms 3642
dnd sms 0

require answer perrequire answer per : 1064

user answer per : 175
below is the redis data 889 UPDATE voice_compaign_detail_81349 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 889 Total Failed : 986 no_answer_count : 329 Busy count :254 congestion_count : 118 failed_count : 285UPDATE voice_compaign_detail_81349 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 329 UPDATE voice_compaign_detail_81349 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 254 UPDATE voice_compaign_detail_81349 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_81349 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 285 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1064', `user_busy_sms`='328', `user_congestion_sms`='118', `user_failed_sms`='1700', `user_hangup_sms`='0', `user_no_answer_sms`='432', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81349 LIMIT 1 


Time Diff : 0.069

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745446'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745801'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 17898
    [total_sms] => 17898
    [11] => 17898
    [sent_sms] => 17898
    [12] => 0
    [duplicate_sms] => 0
    [13] => 161
    [answered_sms] => 161
    [14] => 4700
    [busy_sms] => 4700
    [15] => 0
    [congestion_sms] => 0
    [16] => 12421
    [failed_sms] => 12421
    [17] => 0
    [hangup_sms] => 0
    [18] => 616
    [no_answer_sms] => 616
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 161
    [user_answered_sms] => 161
    [27] => 4700
    [user_busy_sms] => 4700
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12421
    [user_failed_sms] => 12421
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 616
    [user_no_answer_sms] => 616
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 57
    [credit_seq] => 57
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765004942
    [last_credit_update_time] => 1765004942
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.3156 
ans sms 17898
dnd sms 0

require answer perrequire answer per : 4889

user answer per : 161
below is the redis data 4728 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4728 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='4700', `user_congestion_sms`='0', `user_failed_sms`='12421', `user_hangup_sms`='0', `user_no_answer_sms`='616', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.535

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745861'  
Array
(
    [0] => 81350
    [compaign_id] => 81350
    [1] => u898
    [user_id] => u898
    [2] => 68616,
    [group_ids] => 68616,
    [3] => 
    [sender_id] => 
    [4] => NEW call MP3 (online-audio-converter.com).mp3
    [filename] => NEW call MP3 (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765004720
    [start_date] => 1765004720
    [9] => 0
    [end_date] => 0
    [10] => 280
    [total_sms] => 280
    [11] => 280
    [sent_sms] => 280
    [12] => 0
    [duplicate_sms] => 0
    [13] => 46
    [answered_sms] => 46
    [14] => 63
    [busy_sms] => 63
    [15] => 0
    [congestion_sms] => 0
    [16] => 36
    [failed_sms] => 36
    [17] => 0
    [hangup_sms] => 0
    [18] => 37
    [no_answer_sms] => 37
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 83
    [cutting_sms] => 83
    [22] => 15
    [dnd_sms] => 15
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 46
    [user_answered_sms] => 46
    [27] => 63
    [user_busy_sms] => 63
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 36
    [user_failed_sms] => 36
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 37
    [user_no_answer_sms] => 37
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 15
    [user_dnd_sms] => 15
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765004720
    [create_date] => 1765004720
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765004726,"compaign_read_start_time":1765004728,"compaign_read_complete_time":1765004734,"compaign_send_start_time":1765004761,"compaign_send_complete_time":1765004762}
    [action_time] => {"api_allot_time":1765004726,"compaign_read_start_time":1765004728,"compaign_read_complete_time":1765004734,"compaign_send_start_time":1765004761,"compaign_send_complete_time":1765004762}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81350_06122025_123525PM_307
    [common_name] => u898_81350_06122025_123525PM_307
    [52] => 1751449509_u898_voice.wav
    [voice_file] => 1751449509_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68616
    [temp_group_table] => contacts_temp_group_68616
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 5
    [reschedule_max] => 5
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 5
    [reschedule_remaining] => 5
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765005002
    [reschedule_last_check_time] => 1765005002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005001
    [last_credit_update_time] => 1765005001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81350
\compaign_type : Rans per 29.3787 
ans sms 280
dnd sms 15

require answer perrequire answer per : 78

user answer per : 46
below is the redis data 32 UPDATE voice_compaign_detail_81350 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 51 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 12UPDATE voice_compaign_detail_81350 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81350 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81350 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81350 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='78', `user_busy_sms`='77', `user_congestion_sms`='7', `user_failed_sms`='48', `user_hangup_sms`='0', `user_no_answer_sms`='55', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='15' WHERE `compaign_id`=81350 LIMIT 1 


Time Diff : 0.889

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745922'  
Array
(
    [0] => 81351
    [compaign_id] => 81351
    [1] => u371
    [user_id] => u371
    [2] => 68615,
    [group_ids] => 68615,
    [3] => 
    [sender_id] => 
    [4] => Mokanpally DV S.mp3
    [filename] => Mokanpally DV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765004762
    [start_date] => 1765004762
    [9] => 0
    [end_date] => 0
    [10] => 195
    [total_sms] => 195
    [11] => 195
    [sent_sms] => 195
    [12] => 0
    [duplicate_sms] => 0
    [13] => 30
    [answered_sms] => 30
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 49
    [cutting_sms] => 49
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 30
    [user_answered_sms] => 30
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 27
    [user_no_answer_sms] => 27
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765004762
    [create_date] => 1765004762
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765004768,"compaign_read_start_time":1765004770,"compaign_read_complete_time":1765004771,"compaign_send_start_time":1765004822,"compaign_send_complete_time":1765004823}
    [action_time] => {"api_allot_time":1765004768,"compaign_read_start_time":1765004770,"compaign_read_complete_time":1765004771,"compaign_send_start_time":1765004822,"compaign_send_complete_time":1765004823}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81351_06122025_123607PM_568
    [common_name] => u371_81351_06122025_123607PM_568
    [52] => 1765004087_u371_voice.wav
    [voice_file] => 1765004087_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68615
    [temp_group_table] => contacts_temp_group_68615
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005061
    [last_credit_update_time] => 1765005061
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81351
\compaign_type : Rans per 25.49242 
ans sms 195
dnd sms 0

require answer perrequire answer per : 50

user answer per : 30
below is the redis data 20 /n/r
only no answer and busy will be convert, total number require 20 /n/r
UPDATE voice_compaign_detail_81351 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81351 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 Total Failed : 37 no_answer_count : 13 Busy count :10 congestion_count : 5 failed_count : 9UPDATE voice_compaign_detail_81351 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81351 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81351 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81351 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='50', `user_busy_sms`='38', `user_congestion_sms`='5', `user_failed_sms`='64', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81351 LIMIT 1 


Time Diff : 1.272

Array
(
    [0] => 81352
    [compaign_id] => 81352
    [1] => u29654
    [user_id] => u29654
    [2] => 68618,
    [group_ids] => 68618,
    [3] => 
    [sender_id] => 
    [4] => Team 3 Intrested Hindi Instant Commission 15 Sec.mp3
    [filename] => Team 3 Intrested Hindi Instant Commission 15 Sec.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765004794
    [start_date] => 1765004794
    [9] => 0
    [end_date] => 0
    [10] => 6971
    [total_sms] => 6971
    [11] => 6971
    [sent_sms] => 6971
    [12] => 0
    [duplicate_sms] => 0
    [13] => 523
    [answered_sms] => 523
    [14] => 416
    [busy_sms] => 416
    [15] => 0
    [congestion_sms] => 0
    [16] => 476
    [failed_sms] => 476
    [17] => 0
    [hangup_sms] => 0
    [18] => 669
    [no_answer_sms] => 669
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2189
    [cutting_sms] => 2189
    [22] => 2698
    [dnd_sms] => 2698
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 523
    [user_answered_sms] => 523
    [27] => 416
    [user_busy_sms] => 416
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 476
    [user_failed_sms] => 476
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 669
    [user_no_answer_sms] => 669
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2698
    [user_dnd_sms] => 2698
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29654
    [created_by] => u29654
    [38] => 0
    [isScheduled] => 0
    [39] => 1765004790
    [create_date] => 1765004790
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765004800,"compaign_read_start_time":1765004800,"compaign_read_complete_time":1765004816,"compaign_send_start_time":1765004822,"compaign_send_complete_time":1765004842}
    [action_time] => {"api_allot_time":1765004800,"compaign_read_start_time":1765004800,"compaign_read_complete_time":1765004816,"compaign_send_start_time":1765004822,"compaign_send_complete_time":1765004842}
    [50] => 0
    [compaign_file] => 0
    [51] => u29654_81352_06122025_123639PM_851
    [common_name] => u29654_81352_06122025_123639PM_851
    [52] => 1764050059_u29654_voice.wav
    [voice_file] => 1764050059_u29654_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68618
    [temp_group_table] => contacts_temp_group_68618
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765005002
    [reschedule_last_check_time] => 1765005002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005061
    [last_credit_update_time] => 1765005061
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1861
    [user_voice_plan_id] => 1861
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765006200}
    [rt_time] => {"1":1765006200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr159,u29654
    [uphierarchy] => admin,sr83,sr159,u29654
    [113] => 
    [extra_params_json] => 
)


Compaign : 81352
\compaign_type : Rans per 25.06544 
ans sms 6971
dnd sms 2698

require answer perrequire answer per : 1072

user answer per : 523
below is the redis data 549 UPDATE voice_compaign_detail_81352 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 549 Total Failed : 1640 no_answer_count : 547 Busy count :421 congestion_count : 195 failed_count : 477UPDATE voice_compaign_detail_81352 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 547 UPDATE voice_compaign_detail_81352 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 421 UPDATE voice_compaign_detail_81352 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 195 UPDATE voice_compaign_detail_81352 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 477 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1072', `user_busy_sms`='837', `user_congestion_sms`='195', `user_failed_sms`='953', `user_hangup_sms`='0', `user_no_answer_sms`='1216', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2698' WHERE `compaign_id`=81352 LIMIT 1 


Time Diff : 0.039

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764745981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746102'  
Array
(
    [0] => 81358
    [compaign_id] => 81358
    [1] => u371
    [user_id] => u371
    [2] => 68466,
    [group_ids] => 68466,
    [3] => 
    [sender_id] => 
    [4] => Kotagiri DV S.mp3
    [filename] => Kotagiri DV S.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765004931
    [start_date] => 1765004931
    [9] => 0
    [end_date] => 0
    [10] => 1116
    [total_sms] => 1116
    [11] => 1116
    [sent_sms] => 1116
    [12] => 0
    [duplicate_sms] => 0
    [13] => 140
    [answered_sms] => 140
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 282
    [failed_sms] => 282
    [17] => 0
    [hangup_sms] => 0
    [18] => 113
    [no_answer_sms] => 113
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 533
    [cutting_sms] => 533
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 140
    [user_answered_sms] => 140
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 282
    [user_failed_sms] => 282
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 113
    [user_no_answer_sms] => 113
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765004931
    [create_date] => 1765004931
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765004942,"compaign_read_start_time":1765004945,"compaign_read_complete_time":1765004946,"compaign_send_start_time":1765005001,"compaign_send_complete_time":1765005004}
    [action_time] => {"api_allot_time":1765004942,"compaign_read_start_time":1765004945,"compaign_read_complete_time":1765004946,"compaign_send_start_time":1765005001,"compaign_send_complete_time":1765005004}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81358_06122025_123902PM_723
    [common_name] => u371_81358_06122025_123902PM_723
    [52] => 1765004815_u371_voice.wav
    [voice_file] => 1765004815_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68466
    [temp_group_table] => contacts_temp_group_68466
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005242
    [last_credit_update_time] => 1765005242
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81358
\compaign_type : Rans per 28.76944 
ans sms 1116
dnd sms 0

require answer perrequire answer per : 322

user answer per : 140
below is the redis data 182 /n/r
only no answer and busy will be convert, total number require 182 /n/r
UPDATE voice_compaign_detail_81358 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 133 UPDATE voice_compaign_detail_81358 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 133 Total Failed : 359 no_answer_count : 120 Busy count :93 congestion_count : 43 failed_count : 103UPDATE voice_compaign_detail_81358 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 120 UPDATE voice_compaign_detail_81358 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 93 UPDATE voice_compaign_detail_81358 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81358 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 103 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='301', `user_busy_sms`='226', `user_congestion_sms`='43', `user_failed_sms`='293', `user_hangup_sms`='0', `user_no_answer_sms`='253', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81358 LIMIT 1 


Time Diff : 0.224

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746221'  
Array
(
    [0] => 81360
    [compaign_id] => 81360
    [1] => u371
    [user_id] => u371
    [2] => 66903,
    [group_ids] => 66903,
    [3] => 
    [sender_id] => 
    [4] => Ashajyothi DV.mp3
    [filename] => Ashajyothi DV.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765005068
    [start_date] => 1765005068
    [9] => 0
    [end_date] => 0
    [10] => 588
    [total_sms] => 588
    [11] => 588
    [sent_sms] => 588
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 47
    [busy_sms] => 47
    [15] => 0
    [congestion_sms] => 0
    [16] => 143
    [failed_sms] => 143
    [17] => 0
    [hangup_sms] => 0
    [18] => 76
    [no_answer_sms] => 76
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 237
    [cutting_sms] => 237
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 47
    [user_busy_sms] => 47
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 143
    [user_failed_sms] => 143
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 76
    [user_no_answer_sms] => 76
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765005068
    [create_date] => 1765005068
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765005073,"compaign_read_start_time":1765005076,"compaign_read_complete_time":1765005077,"compaign_send_start_time":1765005122,"compaign_send_complete_time":1765005124}
    [action_time] => {"api_allot_time":1765005073,"compaign_read_start_time":1765005076,"compaign_read_complete_time":1765005077,"compaign_send_start_time":1765005122,"compaign_send_complete_time":1765005124}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81360_06122025_124113PM_821
    [common_name] => u371_81360_06122025_124113PM_821
    [52] => 1765005067_u371_voice.wav
    [voice_file] => 1765005067_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_66903
    [temp_group_table] => contacts_temp_group_66903
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005362
    [last_credit_update_time] => 1765005362
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81360
\compaign_type : Rans per 27.34076 
ans sms 588
dnd sms 0

require answer perrequire answer per : 161

user answer per : 85
below is the redis data 76 /n/r
only no answer and busy will be convert, total number require 76 /n/r
UPDATE voice_compaign_detail_81360 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_81360 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 61 Total Failed : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_81360 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81360 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81360 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81360 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='122', `user_congestion_sms`='19', `user_failed_sms`='143', `user_hangup_sms`='0', `user_no_answer_sms`='143', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81360 LIMIT 1 


Time Diff : 0.461

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746282'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 18605
    [total_sms] => 18605
    [11] => 18605
    [sent_sms] => 18605
    [12] => 0
    [duplicate_sms] => 0
    [13] => 174
    [answered_sms] => 174
    [14] => 4966
    [busy_sms] => 4966
    [15] => 0
    [congestion_sms] => 0
    [16] => 12808
    [failed_sms] => 12808
    [17] => 0
    [hangup_sms] => 0
    [18] => 657
    [no_answer_sms] => 657
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 174
    [user_answered_sms] => 174
    [27] => 4966
    [user_busy_sms] => 4966
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12808
    [user_failed_sms] => 12808
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 657
    [user_no_answer_sms] => 657
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 59
    [credit_seq] => 59
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005422
    [last_credit_update_time] => 1765005422
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.81407 
ans sms 18605
dnd sms 0

require answer perrequire answer per : 5547

user answer per : 174
below is the redis data 5373 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5373 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='174', `user_busy_sms`='4966', `user_congestion_sms`='0', `user_failed_sms`='12808', `user_hangup_sms`='0', `user_no_answer_sms`='657', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.54

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746401'  
Array
(
    [0] => 81362
    [compaign_id] => 81362
    [1] => u29678
    [user_id] => u29678
    [2] => 68621,
    [group_ids] => 68621,
    [3] => 
    [sender_id] => 
    [4] => 6 DEC.wav
    [filename] => 6 DEC.wav
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765005293
    [start_date] => 1765005293
    [9] => 0
    [end_date] => 0
    [10] => 653
    [total_sms] => 653
    [11] => 653
    [sent_sms] => 653
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 63
    [failed_sms] => 63
    [17] => 0
    [hangup_sms] => 0
    [18] => 94
    [no_answer_sms] => 94
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 195
    [cutting_sms] => 195
    [22] => 204
    [dnd_sms] => 204
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 52
    [user_answered_sms] => 52
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 63
    [user_failed_sms] => 63
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 94
    [user_no_answer_sms] => 94
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 204
    [user_dnd_sms] => 204
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29678
    [created_by] => u29678
    [38] => 0
    [isScheduled] => 0
    [39] => 1765005292
    [create_date] => 1765005292
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765005302,"compaign_read_start_time":1765005304,"compaign_read_complete_time":1765005308,"compaign_send_start_time":1765005362,"compaign_send_complete_time":1765005363}
    [action_time] => {"api_allot_time":1765005302,"compaign_read_start_time":1765005304,"compaign_read_complete_time":1765005308,"compaign_send_start_time":1765005362,"compaign_send_complete_time":1765005363}
    [50] => 0
    [compaign_file] => 0
    [51] => u29678_81362_06122025_124502PM_882
    [common_name] => u29678_81362_06122025_124502PM_882
    [52] => 1765005292_u29678_voice.wav
    [voice_file] => 1765005292_u29678_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68621
    [temp_group_table] => contacts_temp_group_68621
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005601
    [last_credit_update_time] => 1765005601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1885
    [user_voice_plan_id] => 1885
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.35
    [pulse_rate] => 0.35
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr53,sr78,u29678
    [uphierarchy] => admin,sr53,sr78,u29678
    [113] => 
    [extra_params_json] => 
)


Compaign : 81362
\compaign_type : Rans per 28.26526 
ans sms 653
dnd sms 204

require answer perrequire answer per : 127

user answer per : 52
below is the redis data 75 UPDATE voice_compaign_detail_81362 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 75 Total Failed : 120 no_answer_count : 41 Busy count :31 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_81362 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81362 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81362 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81362 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='127', `user_busy_sms`='76', `user_congestion_sms`='15', `user_failed_sms`='96', `user_hangup_sms`='0', `user_no_answer_sms`='135', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='204' WHERE `compaign_id`=81362 LIMIT 1 


Time Diff : 0.289

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746462'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 18894
    [total_sms] => 18894
    [11] => 18894
    [sent_sms] => 18894
    [12] => 0
    [duplicate_sms] => 0
    [13] => 180
    [answered_sms] => 180
    [14] => 5070
    [busy_sms] => 5070
    [15] => 0
    [congestion_sms] => 0
    [16] => 12971
    [failed_sms] => 12971
    [17] => 0
    [hangup_sms] => 0
    [18] => 673
    [no_answer_sms] => 673
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 180
    [user_answered_sms] => 180
    [27] => 5070
    [user_busy_sms] => 5070
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12971
    [user_failed_sms] => 12971
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 673
    [user_no_answer_sms] => 673
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 60
    [credit_seq] => 60
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005662
    [last_credit_update_time] => 1765005662
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.64564 
ans sms 18894
dnd sms 0

require answer perrequire answer per : 4846

user answer per : 180
below is the redis data 4666 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4666 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='180', `user_busy_sms`='5070', `user_congestion_sms`='0', `user_failed_sms`='12971', `user_hangup_sms`='0', `user_no_answer_sms`='673', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.541

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746527'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746582'  
Array
(
    [0] => 81364
    [compaign_id] => 81364
    [1] => u898
    [user_id] => u898
    [2] => 68623,
    [group_ids] => 68623,
    [3] => 
    [sender_id] => 
    [4] => NEW call MP3 (online-audio-converter.com).mp3
    [filename] => NEW call MP3 (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765005427
    [start_date] => 1765005427
    [9] => 0
    [end_date] => 0
    [10] => 202
    [total_sms] => 202
    [11] => 202
    [sent_sms] => 202
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 57
    [busy_sms] => 57
    [15] => 0
    [congestion_sms] => 0
    [16] => 39
    [failed_sms] => 39
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 41
    [cutting_sms] => 41
    [22] => 15
    [dnd_sms] => 15
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 57
    [user_busy_sms] => 57
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 39
    [user_failed_sms] => 39
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 28
    [user_no_answer_sms] => 28
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 15
    [user_dnd_sms] => 15
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765005427
    [create_date] => 1765005427
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765005434,"compaign_read_start_time":1765005436,"compaign_read_complete_time":1765005437,"compaign_send_start_time":1765005482,"compaign_send_complete_time":1765005483}
    [action_time] => {"api_allot_time":1765005434,"compaign_read_start_time":1765005436,"compaign_read_complete_time":1765005437,"compaign_send_start_time":1765005482,"compaign_send_complete_time":1765005483}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81364_06122025_124713PM_841
    [common_name] => u898_81364_06122025_124713PM_841
    [52] => 1751449509_u898_voice.wav
    [voice_file] => 1751449509_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68623
    [temp_group_table] => contacts_temp_group_68623
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765005727
    [last_credit_update_time] => 1765005727
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81364
\compaign_type : Rans per 28.42874 
ans sms 202
dnd sms 15

require answer perrequire answer per : 54

user answer per : 22
below is the redis data 32 UPDATE voice_compaign_detail_81364 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 9 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 0UPDATE voice_compaign_detail_81364 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81364 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81364 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='54', `user_busy_sms`='60', `user_congestion_sms`='2', `user_failed_sms`='39', `user_hangup_sms`='0', `user_no_answer_sms`='32', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='15' WHERE `compaign_id`=81364 LIMIT 1 


Time Diff : 1.347

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764746942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747121'  
Array
(
    [0] => 81371
    [compaign_id] => 81371
    [1] => u898
    [user_id] => u898
    [2] => 68627,
    [group_ids] => 68627,
    [3] => 
    [sender_id] => 
    [4] => NEW call MP3 (online-audio-converter.com).mp3
    [filename] => NEW call MP3 (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765006028
    [start_date] => 1765006028
    [9] => 0
    [end_date] => 0
    [10] => 148
    [total_sms] => 148
    [11] => 148
    [sent_sms] => 148
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 51
    [busy_sms] => 51
    [15] => 0
    [congestion_sms] => 0
    [16] => 36
    [failed_sms] => 36
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 24
    [cutting_sms] => 24
    [22] => 15
    [dnd_sms] => 15
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 51
    [user_busy_sms] => 51
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 36
    [user_failed_sms] => 36
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 16
    [user_no_answer_sms] => 16
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 15
    [user_dnd_sms] => 15
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765006028
    [create_date] => 1765006028
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765006034,"compaign_read_start_time":1765006036,"compaign_read_complete_time":1765006037,"compaign_send_start_time":1765006082,"compaign_send_complete_time":1765006082}
    [action_time] => {"api_allot_time":1765006034,"compaign_read_start_time":1765006036,"compaign_read_complete_time":1765006037,"compaign_send_start_time":1765006082,"compaign_send_complete_time":1765006082}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81371_06122025_125713PM_827
    [common_name] => u898_81371_06122025_125713PM_827
    [52] => 1751449509_u898_voice.wav
    [voice_file] => 1751449509_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68627
    [temp_group_table] => contacts_temp_group_68627
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765006262
    [last_credit_update_time] => 1765006262
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81371
\compaign_type : Rans per 28.50223 
ans sms 148
dnd sms 15

require answer perrequire answer per : 38

user answer per : 6
below is the redis data 32 UPDATE voice_compaign_detail_81371 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='30', `user_busy_sms`='51', `user_congestion_sms`='0', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='16', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='15' WHERE `compaign_id`=81371 LIMIT 1 


Time Diff : 1.27

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747182'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 19959
    [total_sms] => 19959
    [11] => 19959
    [sent_sms] => 19959
    [12] => 0
    [duplicate_sms] => 0
    [13] => 193
    [answered_sms] => 193
    [14] => 5462
    [busy_sms] => 5462
    [15] => 0
    [congestion_sms] => 0
    [16] => 13584
    [failed_sms] => 13584
    [17] => 0
    [hangup_sms] => 0
    [18] => 720
    [no_answer_sms] => 720
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 193
    [user_answered_sms] => 193
    [27] => 5462
    [user_busy_sms] => 5462
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 13584
    [user_failed_sms] => 13584
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 720
    [user_no_answer_sms] => 720
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 63
    [credit_seq] => 63
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765006382
    [last_credit_update_time] => 1765006382
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.65361 
ans sms 19959
dnd sms 0

require answer perrequire answer per : 5719

user answer per : 193
below is the redis data 5526 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5526 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='193', `user_busy_sms`='5462', `user_congestion_sms`='0', `user_failed_sms`='13584', `user_hangup_sms`='0', `user_no_answer_sms`='720', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.549

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747362'  
Array
(
    [0] => 81355
    [compaign_id] => 81355
    [1] => u607
    [user_id] => u607
    [2] => 68620,
    [group_ids] => 68620,
    [3] => 
    [sender_id] => 
    [4] => basker_MADURANAGAR.mp3
    [filename] => basker_MADURANAGAR.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765006200
    [start_date] => 1765006200
    [9] => 0
    [end_date] => 0
    [10] => 1066
    [total_sms] => 1066
    [11] => 1066
    [sent_sms] => 1066
    [12] => 0
    [duplicate_sms] => 0
    [13] => 101
    [answered_sms] => 101
    [14] => 66
    [busy_sms] => 66
    [15] => 2
    [congestion_sms] => 2
    [16] => 143
    [failed_sms] => 143
    [17] => 0
    [hangup_sms] => 0
    [18] => 121
    [no_answer_sms] => 121
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 336
    [cutting_sms] => 336
    [22] => 297
    [dnd_sms] => 297
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 101
    [user_answered_sms] => 101
    [27] => 66
    [user_busy_sms] => 66
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 143
    [user_failed_sms] => 143
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 121
    [user_no_answer_sms] => 121
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 297
    [user_dnd_sms] => 297
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765004825
    [create_date] => 1765004825
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765006206,"compaign_read_start_time":1765006207,"compaign_read_complete_time":1765006210,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006264}
    [action_time] => {"api_allot_time":1765006206,"compaign_read_start_time":1765006207,"compaign_read_complete_time":1765006210,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006264}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81355_06122025_010005PM_229
    [common_name] => u607_81355_06122025_010005PM_229
    [52] => 1765004097_u607_voice.wav
    [voice_file] => 1765004097_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68620
    [temp_group_table] => contacts_temp_group_68620
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765006501
    [last_credit_update_time] => 1765006501
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81355
\compaign_type : Rans per 26.66862 
ans sms 1066
dnd sms 297

require answer perrequire answer per : 206

user answer per : 101
below is the redis data 105 /n/r
only no answer and busy will be convert, total number require 105 /n/r
UPDATE voice_compaign_detail_81355 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_81355 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 80 Total Failed : 221 no_answer_count : 74 Busy count :57 congestion_count : 27 failed_count : 63UPDATE voice_compaign_detail_81355 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 74 UPDATE voice_compaign_detail_81355 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_81355 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81355 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='206', `user_busy_sms`='172', `user_congestion_sms`='29', `user_failed_sms`='161', `user_hangup_sms`='0', `user_no_answer_sms`='201', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='297' WHERE `compaign_id`=81355 LIMIT 1 


Time Diff : 0.255

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747722'  
Array
(
    [0] => 81378
    [compaign_id] => 81378
    [1] => u898
    [user_id] => u898
    [2] => 68630,
    [group_ids] => 68630,
    [3] => 
    [sender_id] => 
    [4] => NEW call MP3 (online-audio-converter.com).mp3
    [filename] => NEW call MP3 (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765006622
    [start_date] => 1765006622
    [9] => 0
    [end_date] => 0
    [10] => 118
    [total_sms] => 118
    [11] => 118
    [sent_sms] => 118
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 44
    [busy_sms] => 44
    [15] => 0
    [congestion_sms] => 0
    [16] => 34
    [failed_sms] => 34
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6
    [cutting_sms] => 6
    [22] => 15
    [dnd_sms] => 15
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 44
    [user_busy_sms] => 44
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34
    [user_failed_sms] => 34
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 14
    [user_no_answer_sms] => 14
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 15
    [user_dnd_sms] => 15
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765006622
    [create_date] => 1765006622
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765006628,"compaign_read_start_time":1765006636,"compaign_read_complete_time":1765006636,"compaign_send_start_time":1765006682,"compaign_send_complete_time":1765006682}
    [action_time] => {"api_allot_time":1765006628,"compaign_read_start_time":1765006636,"compaign_read_complete_time":1765006636,"compaign_send_start_time":1765006682,"compaign_send_complete_time":1765006682}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81378_06122025_010707PM_175
    [common_name] => u898_81378_06122025_010707PM_175
    [52] => 1751449509_u898_voice.wav
    [voice_file] => 1751449509_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68630
    [temp_group_table] => contacts_temp_group_68630
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765006921
    [last_credit_update_time] => 1765006921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81378
\compaign_type : Rans per 27.19 
ans sms 118
dnd sms 15

require answer perrequire answer per : 29

user answer per : 5
below is the redis data 24 UPDATE voice_compaign_detail_81378 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 24 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='11', `user_busy_sms`='44', `user_congestion_sms`='0', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='14', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='15' WHERE `compaign_id`=81378 LIMIT 1 


Time Diff : 0.195

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747841'  
Array
(
    [0] => 81372
    [compaign_id] => 81372
    [1] => u6257
    [user_id] => u6257
    [2] => 68628,
    [group_ids] => 68628,
    [3] => 
    [sender_id] => 
    [4] => SW 3day recall.MP3
    [filename] => SW 3day recall.MP3
    [5] => 13
    [duration] => 13
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1765006108
    [start_date] => 1765006108
    [9] => 0
    [end_date] => 0
    [10] => 38766
    [total_sms] => 38766
    [11] => 38766
    [sent_sms] => 38766
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2496
    [answered_sms] => 2496
    [14] => 2313
    [busy_sms] => 2313
    [15] => 20
    [congestion_sms] => 20
    [16] => 1123
    [failed_sms] => 1123
    [17] => 0
    [hangup_sms] => 0
    [18] => 2586
    [no_answer_sms] => 2586
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 26753
    [cutting_sms] => 26753
    [22] => 3475
    [dnd_sms] => 3475
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2496
    [user_answered_sms] => 2496
    [27] => 2313
    [user_busy_sms] => 2313
    [28] => 20
    [user_congestion_sms] => 20
    [29] => 1123
    [user_failed_sms] => 1123
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2586
    [user_no_answer_sms] => 2586
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3475
    [user_dnd_sms] => 3475
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1765006087
    [create_date] => 1765006087
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 75
    [cutting_per] => 75
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765006114,"compaign_read_start_time":1765006115,"compaign_read_complete_time":1765006224,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006358}
    [action_time] => {"api_allot_time":1765006114,"compaign_read_start_time":1765006115,"compaign_read_complete_time":1765006224,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006358}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_81372_06122025_125833PM_529
    [common_name] => u6257_81372_06122025_125833PM_529
    [52] => 1757495763_u6257_voice.wav
    [voice_file] => 1757495763_u6257_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68628
    [temp_group_table] => contacts_temp_group_68628
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765006983
    [last_credit_update_time] => 1765006983
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1471
    [user_voice_plan_id] => 1471
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr7,sr245,u6257
    [uphierarchy] => admin,sr7,sr245,u6257
    [113] => 
    [extra_params_json] => 
)


Compaign : 81372
\compaign_type : Rans per 28.62995 
ans sms 38766
dnd sms 3475

require answer perrequire answer per : 10104

user answer per : 2496
below is the redis data 7608 UPDATE voice_compaign_detail_81372 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7608 Total Failed : 19153 no_answer_count : 6386 Busy count :4915 congestion_count : 2274 failed_count : 5578UPDATE voice_compaign_detail_81372 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6386 UPDATE voice_compaign_detail_81372 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4915 UPDATE voice_compaign_detail_81372 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2274 UPDATE voice_compaign_detail_81372 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5578 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='10104', `user_busy_sms`='7228', `user_congestion_sms`='2286', `user_failed_sms`='6701', `user_hangup_sms`='0', `user_no_answer_sms`='8972', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3475' WHERE `compaign_id`=81372 LIMIT 1 


Time Diff : 0.02

Array
(
    [0] => 81375
    [compaign_id] => 81375
    [1] => u6257
    [user_id] => u6257
    [2] => 68629,
    [group_ids] => 68629,
    [3] => 
    [sender_id] => 
    [4] => JR 3day recall.MP3
    [filename] => JR 3day recall.MP3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1765006159
    [start_date] => 1765006159
    [9] => 0
    [end_date] => 0
    [10] => 32242
    [total_sms] => 32242
    [11] => 32242
    [sent_sms] => 32242
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2114
    [answered_sms] => 2114
    [14] => 1870
    [busy_sms] => 1870
    [15] => 9
    [congestion_sms] => 9
    [16] => 915
    [failed_sms] => 915
    [17] => 0
    [hangup_sms] => 0
    [18] => 2206
    [no_answer_sms] => 2206
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 22240
    [cutting_sms] => 22240
    [22] => 2888
    [dnd_sms] => 2888
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2114
    [user_answered_sms] => 2114
    [27] => 1870
    [user_busy_sms] => 1870
    [28] => 9
    [user_congestion_sms] => 9
    [29] => 915
    [user_failed_sms] => 915
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2206
    [user_no_answer_sms] => 2206
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2888
    [user_dnd_sms] => 2888
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1765006140
    [create_date] => 1765006140
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 75
    [cutting_per] => 75
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765006164,"compaign_read_start_time":1765006166,"compaign_read_complete_time":1765006250,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006338}
    [action_time] => {"api_allot_time":1765006164,"compaign_read_start_time":1765006166,"compaign_read_complete_time":1765006250,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006338}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_81375_06122025_125924PM_568
    [common_name] => u6257_81375_06122025_125924PM_568
    [52] => 1757495835_u6257_voice.wav
    [voice_file] => 1757495835_u6257_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68629
    [temp_group_table] => contacts_temp_group_68629
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765006983
    [last_credit_update_time] => 1765006983
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1471
    [user_voice_plan_id] => 1471
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr7,sr245,u6257
    [uphierarchy] => admin,sr7,sr245,u6257
    [113] => 
    [extra_params_json] => 
)


Compaign : 81375
\compaign_type : Rans per 30.0029 
ans sms 32242
dnd sms 2888

require answer perrequire answer per : 8808

user answer per : 2114
below is the redis data 6694 UPDATE voice_compaign_detail_81375 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6694 Total Failed : 15548 no_answer_count : 5184 Busy count :3990 congestion_count : 1846 failed_count : 4528UPDATE voice_compaign_detail_81375 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5184 UPDATE voice_compaign_detail_81375 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3990 UPDATE voice_compaign_detail_81375 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1846 UPDATE voice_compaign_detail_81375 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4528 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='8808', `user_busy_sms`='5860', `user_congestion_sms`='1853', `user_failed_sms`='5443', `user_hangup_sms`='0', `user_no_answer_sms`='7390', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2888' WHERE `compaign_id`=81375 LIMIT 1 


Time Diff : 0.024

Array
(
    [0] => 81366
    [compaign_id] => 81366
    [1] => u29654
    [user_id] => u29654
    [2] => 68622,
    [group_ids] => 68622,
    [3] => 
    [sender_id] => 
    [4] => Team 3 Intrested Hindi Instant Commission 15 Sec.mp3
    [filename] => Team 3 Intrested Hindi Instant Commission 15 Sec.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765006200
    [start_date] => 1765006200
    [9] => 0
    [end_date] => 0
    [10] => 5899
    [total_sms] => 5899
    [11] => 5899
    [sent_sms] => 5899
    [12] => 0
    [duplicate_sms] => 0
    [13] => 315
    [answered_sms] => 315
    [14] => 340
    [busy_sms] => 340
    [15] => 0
    [congestion_sms] => 0
    [16] => 394
    [failed_sms] => 394
    [17] => 0
    [hangup_sms] => 0
    [18] => 481
    [no_answer_sms] => 481
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1671
    [cutting_sms] => 1671
    [22] => 2698
    [dnd_sms] => 2698
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 315
    [user_answered_sms] => 315
    [27] => 340
    [user_busy_sms] => 340
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 394
    [user_failed_sms] => 394
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 481
    [user_no_answer_sms] => 481
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2698
    [user_dnd_sms] => 2698
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29654
    [created_by] => u29654
    [38] => 1
    [isScheduled] => 1
    [39] => 1765005448
    [create_date] => 1765005448
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765006206,"compaign_read_start_time":1765006210,"compaign_read_complete_time":1765006223,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006270}
    [action_time] => {"api_allot_time":1765006206,"compaign_read_start_time":1765006210,"compaign_read_complete_time":1765006223,"compaign_send_start_time":1765006262,"compaign_send_complete_time":1765006270}
    [50] => 0
    [compaign_file] => 0
    [51] => u29654_81366_06122025_010005PM_517
    [common_name] => u29654_81366_06122025_010005PM_517
    [52] => 1764050059_u29654_voice.wav
    [voice_file] => 1764050059_u29654_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68622
    [temp_group_table] => contacts_temp_group_68622
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 10
    [extension_key] => 10
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765006982
    [last_credit_update_time] => 1765006982
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1861
    [user_voice_plan_id] => 1861
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr159,u29654
    [uphierarchy] => admin,sr83,sr159,u29654
    [113] => 
    [extra_params_json] => 
)


Compaign : 81366
\compaign_type : Rans per 25.87136 
ans sms 5899
dnd sms 2698

require answer perrequire answer per : 829

user answer per : 315
below is the redis data 514 UPDATE voice_compaign_detail_81366 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 514 Total Failed : 1157 no_answer_count : 386 Busy count :297 congestion_count : 138 failed_count : 336UPDATE voice_compaign_detail_81366 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 386 UPDATE voice_compaign_detail_81366 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 297 UPDATE voice_compaign_detail_81366 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_81366 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 336 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='829', `user_busy_sms`='637', `user_congestion_sms`='138', `user_failed_sms`='730', `user_hangup_sms`='0', `user_no_answer_sms`='867', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2698' WHERE `compaign_id`=81366 LIMIT 1 


Time Diff : 0.136

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764747962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748261'  
Array
(
    [0] => 81386
    [compaign_id] => 81386
    [1] => u122
    [user_id] => u122
    [2] => 68637,
    [group_ids] => 68637,
    [3] => 
    [sender_id] => 
    [4] => KTSolutions_VCktdec04.mp3
    [filename] => KTSolutions_VCktdec04.mp3
    [5] => 20
    [duration] => 20
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1765007109
    [start_date] => 1765007109
    [9] => 0
    [end_date] => 0
    [10] => 118
    [total_sms] => 118
    [11] => 118
    [sent_sms] => 118
    [12] => 0
    [duplicate_sms] => 0
    [13] => 46
    [answered_sms] => 46
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 10
    [failed_sms] => 10
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5
    [cutting_sms] => 5
    [22] => 16
    [dnd_sms] => 16
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 46
    [user_answered_sms] => 46
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 10
    [user_failed_sms] => 10
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 29
    [user_no_answer_sms] => 29
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 16
    [user_dnd_sms] => 16
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1765007109
    [create_date] => 1765007109
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765007116,"compaign_read_start_time":1765007116,"compaign_read_complete_time":1765007117,"compaign_send_start_time":1765007162,"compaign_send_complete_time":1765007169}
    [action_time] => {"api_allot_time":1765007116,"compaign_read_start_time":1765007116,"compaign_read_complete_time":1765007117,"compaign_send_start_time":1765007162,"compaign_send_complete_time":1765007169}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_81386_06122025_011515PM_923
    [common_name] => u122_81386_06122025_011515PM_923
    [52] => api_1764849428_u122_voice_117.wav
    [voice_file] => api_1764849428_u122_voice_117.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68637
    [temp_group_table] => contacts_temp_group_68637
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765007402
    [last_credit_update_time] => 1765007402
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 231
    [user_voice_plan_id] => 231
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u122
    [uphierarchy] => admin,u122
    [113] => 
    [extra_params_json] => 
)


Compaign : 81386
\compaign_type : Rans per 26.70568 
ans sms 118
dnd sms 16

require answer perrequire answer per : 28

user answer per : 46
Total Failed : 5 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_81386 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81386 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81386 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='46', `user_busy_sms`='14', `user_congestion_sms`='1', `user_failed_sms`='10', `user_hangup_sms`='0', `user_no_answer_sms`='31', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='16' WHERE `compaign_id`=81386 LIMIT 1 


Time Diff : 2.297

Array
(
    [0] => 81387
    [compaign_id] => 81387
    [1] => u122
    [user_id] => u122
    [2] => 68638,
    [group_ids] => 68638,
    [3] => 
    [sender_id] => 
    [4] => Quick_SMSquick_sms_02_2011.mp3
    [filename] => Quick_SMSquick_sms_02_2011.mp3
    [5] => 17
    [duration] => 17
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1765007163
    [start_date] => 1765007163
    [9] => 0
    [end_date] => 0
    [10] => 267
    [total_sms] => 267
    [11] => 267
    [sent_sms] => 267
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 24
    [failed_sms] => 24
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 62
    [cutting_sms] => 62
    [22] => 52
    [dnd_sms] => 52
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 24
    [user_failed_sms] => 24
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 51
    [user_no_answer_sms] => 51
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 52
    [user_dnd_sms] => 52
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1765007163
    [create_date] => 1765007163
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765007168,"compaign_read_start_time":1765007171,"compaign_read_complete_time":1765007172,"compaign_send_start_time":1765007221,"compaign_send_complete_time":1765007222}
    [action_time] => {"api_allot_time":1765007168,"compaign_read_start_time":1765007171,"compaign_read_complete_time":1765007172,"compaign_send_start_time":1765007221,"compaign_send_complete_time":1765007222}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_81387_06122025_011608PM_265
    [common_name] => u122_81387_06122025_011608PM_265
    [52] => api_1763611674_u122_voice_733.wav
    [voice_file] => api_1763611674_u122_voice_733.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68638
    [temp_group_table] => contacts_temp_group_68638
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765007402
    [last_credit_update_time] => 1765007402
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 231
    [user_voice_plan_id] => 231
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u122
    [uphierarchy] => admin,u122
    [113] => 
    [extra_params_json] => 
)


Compaign : 81387
\compaign_type : Rans per 30.28698 
ans sms 267
dnd sms 52

require answer perrequire answer per : 66

user answer per : 60
below is the redis data 6 /n/r
only no answer and busy will be convert, total number require 6 /n/r
UPDATE voice_compaign_detail_81387 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81387 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5 Total Failed : 55 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 14UPDATE voice_compaign_detail_81387 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81387 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81387 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81387 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='66', `user_busy_sms`='38', `user_congestion_sms`='7', `user_failed_sms`='35', `user_hangup_sms`='0', `user_no_answer_sms`='69', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='52' WHERE `compaign_id`=81387 LIMIT 1 


Time Diff : 0.794

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748381'  
Array
(
    [0] => 81389
    [compaign_id] => 81389
    [1] => u898
    [user_id] => u898
    [2] => 68640,
    [group_ids] => 68640,
    [3] => 
    [sender_id] => 
    [4] => NEW call MP3 (online-audio-converter.com).mp3
    [filename] => NEW call MP3 (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765007222
    [start_date] => 1765007222
    [9] => 0
    [end_date] => 0
    [10] => 107
    [total_sms] => 107
    [11] => 107
    [sent_sms] => 107
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 44
    [busy_sms] => 44
    [15] => 0
    [congestion_sms] => 0
    [16] => 29
    [failed_sms] => 29
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2
    [cutting_sms] => 2
    [22] => 15
    [dnd_sms] => 15
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 44
    [user_busy_sms] => 44
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 29
    [user_failed_sms] => 29
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 15
    [user_no_answer_sms] => 15
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 15
    [user_dnd_sms] => 15
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765007222
    [create_date] => 1765007222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765007228,"compaign_read_start_time":1765007230,"compaign_read_complete_time":1765007231,"compaign_send_start_time":1765007282,"compaign_send_complete_time":1765007283}
    [action_time] => {"api_allot_time":1765007228,"compaign_read_start_time":1765007230,"compaign_read_complete_time":1765007231,"compaign_send_start_time":1765007282,"compaign_send_complete_time":1765007283}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81389_06122025_011707PM_794
    [common_name] => u898_81389_06122025_011707PM_794
    [52] => 1751449509_u898_voice.wav
    [voice_file] => 1751449509_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68640
    [temp_group_table] => contacts_temp_group_68640
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765007521
    [last_credit_update_time] => 1765007521
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81389
\compaign_type : Rans per 26.28914 
ans sms 107
dnd sms 15

require answer perrequire answer per : 25

user answer per : 2
below is the redis data 23 UPDATE voice_compaign_detail_81389 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='4', `user_busy_sms`='44', `user_congestion_sms`='0', `user_failed_sms`='29', `user_hangup_sms`='0', `user_no_answer_sms`='15', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='15' WHERE `compaign_id`=81389 LIMIT 1 


Time Diff : 2.533

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748921'  
Array
(
    [0] => 81393
    [compaign_id] => 81393
    [1] => u898
    [user_id] => u898
    [2] => 68643,
    [group_ids] => 68643,
    [3] => 
    [sender_id] => 
    [4] => NEW call MP3 (online-audio-converter.com).mp3
    [filename] => NEW call MP3 (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765007831
    [start_date] => 1765007831
    [9] => 0
    [end_date] => 0
    [10] => 103
    [total_sms] => 103
    [11] => 103
    [sent_sms] => 103
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 40
    [busy_sms] => 40
    [15] => 0
    [congestion_sms] => 0
    [16] => 32
    [failed_sms] => 32
    [17] => 0
    [hangup_sms] => 0
    [18] => 11
    [no_answer_sms] => 11
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1
    [cutting_sms] => 1
    [22] => 15
    [dnd_sms] => 15
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 40
    [user_busy_sms] => 40
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32
    [user_failed_sms] => 32
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 11
    [user_no_answer_sms] => 11
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 15
    [user_dnd_sms] => 15
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u898
    [created_by] => u898
    [38] => 0
    [isScheduled] => 0
    [39] => 1765007831
    [create_date] => 1765007831
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765007836,"compaign_read_start_time":1765007837,"compaign_read_complete_time":1765007837,"compaign_send_start_time":1765007881,"compaign_send_complete_time":1765007882}
    [action_time] => {"api_allot_time":1765007836,"compaign_read_start_time":1765007837,"compaign_read_complete_time":1765007837,"compaign_send_start_time":1765007881,"compaign_send_complete_time":1765007882}
    [50] => 0
    [compaign_file] => 0
    [51] => u898_81393_06122025_012716PM_510
    [common_name] => u898_81393_06122025_012716PM_510
    [52] => 1751449509_u898_voice.wav
    [voice_file] => 1751449509_u898_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68643
    [temp_group_table] => contacts_temp_group_68643
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765008121
    [last_credit_update_time] => 1765008121
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1380
    [user_voice_plan_id] => 1380
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr40,u898
    [uphierarchy] => admin,sr40,u898
    [113] => 
    [extra_params_json] => 
)


Compaign : 81393
\compaign_type : Rans per 25.30781 
ans sms 103
dnd sms 15

require answer perrequire answer per : 23

user answer per : 4
below is the redis data 19 UPDATE voice_compaign_detail_81393 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 19 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='5', `user_busy_sms`='40', `user_congestion_sms`='0', `user_failed_sms`='32', `user_hangup_sms`='0', `user_no_answer_sms`='11', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='15' WHERE `compaign_id`=81393 LIMIT 1 


Time Diff : 1.816

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764748981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749041'  
Array
(
    [0] => 81394
    [compaign_id] => 81394
    [1] => u83
    [user_id] => u83
    [2] => 68644,
    [group_ids] => 68644,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765007920
    [start_date] => 1765007920
    [9] => 0
    [end_date] => 0
    [10] => 503
    [total_sms] => 503
    [11] => 503
    [sent_sms] => 503
    [12] => 0
    [duplicate_sms] => 0
    [13] => 67
    [answered_sms] => 67
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 76
    [no_answer_sms] => 76
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 146
    [cutting_sms] => 146
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 67
    [user_answered_sms] => 67
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 76
    [user_no_answer_sms] => 76
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765007920
    [create_date] => 1765007920
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765007925,"compaign_read_start_time":1765007926,"compaign_read_complete_time":1765007927,"compaign_send_start_time":1765007942,"compaign_send_complete_time":1765007943}
    [action_time] => {"api_allot_time":1765007925,"compaign_read_start_time":1765007926,"compaign_read_complete_time":1765007927,"compaign_send_start_time":1765007942,"compaign_send_complete_time":1765007943}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81394_06122025_012845PM_909
    [common_name] => u83_81394_06122025_012845PM_909
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68644
    [temp_group_table] => contacts_temp_group_68644
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765008181
    [last_credit_update_time] => 1765008181
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81394
\compaign_type : Rans per 30.44029 
ans sms 503
dnd sms 120

require answer perrequire answer per : 117

user answer per : 67
below is the redis data 50 /n/r
only no answer and busy will be convert, total number require 50 /n/r
UPDATE voice_compaign_detail_81394 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81394 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 36 Total Failed : 92 no_answer_count : 31 Busy count :24 congestion_count : 11 failed_count : 26UPDATE voice_compaign_detail_81394 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81394 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81394 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81394 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='117', `user_busy_sms`='95', `user_congestion_sms`='11', `user_failed_sms`='53', `user_hangup_sms`='0', `user_no_answer_sms`='107', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81394 LIMIT 1 


Time Diff : 0.539

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749706'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764749942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750124'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750781'  
Array
(
    [0] => 81401
    [compaign_id] => 81401
    [1] => u371
    [user_id] => u371
    [2] => 68655,
    [group_ids] => 68655,
    [3] => 
    [sender_id] => 
    [4] => Kotagiri DV S.mp3
    [filename] => Kotagiri DV S.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009630
    [start_date] => 1765009630
    [9] => 0
    [end_date] => 0
    [10] => 1116
    [total_sms] => 1116
    [11] => 1116
    [sent_sms] => 1116
    [12] => 0
    [duplicate_sms] => 0
    [13] => 149
    [answered_sms] => 149
    [14] => 58
    [busy_sms] => 58
    [15] => 2
    [congestion_sms] => 2
    [16] => 275
    [failed_sms] => 275
    [17] => 0
    [hangup_sms] => 0
    [18] => 117
    [no_answer_sms] => 117
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 515
    [cutting_sms] => 515
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 149
    [user_answered_sms] => 149
    [27] => 58
    [user_busy_sms] => 58
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 275
    [user_failed_sms] => 275
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 117
    [user_no_answer_sms] => 117
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009630
    [create_date] => 1765009630
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009636,"compaign_read_start_time":1765009637,"compaign_read_complete_time":1765009639,"compaign_send_start_time":1765009683,"compaign_send_complete_time":1765009692}
    [action_time] => {"api_allot_time":1765009636,"compaign_read_start_time":1765009637,"compaign_read_complete_time":1765009639,"compaign_send_start_time":1765009683,"compaign_send_complete_time":1765009692}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81401_06122025_015716PM_544
    [common_name] => u371_81401_06122025_015716PM_544
    [52] => 1765004815_u371_voice.wav
    [voice_file] => 1765004815_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68655
    [temp_group_table] => contacts_temp_group_68655
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765009922
    [last_credit_update_time] => 1765009922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81401
\compaign_type : Rans per 30.35585 
ans sms 1116
dnd sms 0

require answer perrequire answer per : 339

user answer per : 149
below is the redis data 190 /n/r
only no answer and busy will be convert, total number require 190 /n/r
UPDATE voice_compaign_detail_81401 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 141 UPDATE voice_compaign_detail_81401 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 141 Total Failed : 328 no_answer_count : 110 Busy count :85 congestion_count : 39 failed_count : 94UPDATE voice_compaign_detail_81401 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_81401 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_81401 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81401 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 94 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='324', `user_busy_sms`='226', `user_congestion_sms`='40', `user_failed_sms`='275', `user_hangup_sms`='0', `user_no_answer_sms`='251', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81401 LIMIT 1 


Time Diff : 0.22

Array
(
    [0] => 81402
    [compaign_id] => 81402
    [1] => u371
    [user_id] => u371
    [2] => 68650,
    [group_ids] => 68650,
    [3] => 
    [sender_id] => 
    [4] => Navipet Rekha CV.mp3
    [filename] => Navipet Rekha CV.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009640
    [start_date] => 1765009640
    [9] => 0
    [end_date] => 0
    [10] => 1326
    [total_sms] => 1326
    [11] => 1326
    [sent_sms] => 1326
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 77
    [busy_sms] => 77
    [15] => 1
    [congestion_sms] => 1
    [16] => 374
    [failed_sms] => 374
    [17] => 0
    [hangup_sms] => 0
    [18] => 115
    [no_answer_sms] => 115
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 663
    [cutting_sms] => 663
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 96
    [user_answered_sms] => 96
    [27] => 77
    [user_busy_sms] => 77
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 374
    [user_failed_sms] => 374
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 115
    [user_no_answer_sms] => 115
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009640
    [create_date] => 1765009640
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009646,"compaign_read_start_time":1765009649,"compaign_read_complete_time":1765009653,"compaign_send_start_time":1765009683,"compaign_send_complete_time":1765009693}
    [action_time] => {"api_allot_time":1765009646,"compaign_read_start_time":1765009649,"compaign_read_complete_time":1765009653,"compaign_send_start_time":1765009683,"compaign_send_complete_time":1765009693}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81402_06122025_015726PM_400
    [common_name] => u371_81402_06122025_015726PM_400
    [52] => 1765000278_u371_voice.wav
    [voice_file] => 1765000278_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68650
    [temp_group_table] => contacts_temp_group_68650
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765009922
    [last_credit_update_time] => 1765009922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81402
\compaign_type : Rans per 27.30458 
ans sms 1326
dnd sms 0

require answer perrequire answer per : 363

user answer per : 96
below is the redis data 267 /n/r
only no answer and busy will be convert, total number require 267 /n/r
UPDATE voice_compaign_detail_81402 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 195 UPDATE voice_compaign_detail_81402 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 195 Total Failed : 415 no_answer_count : 139 Busy count :107 congestion_count : 50 failed_count : 119UPDATE voice_compaign_detail_81402 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 139 UPDATE voice_compaign_detail_81402 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 107 UPDATE voice_compaign_detail_81402 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_81402 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='288', `user_busy_sms`='302', `user_congestion_sms`='50', `user_failed_sms`='352', `user_hangup_sms`='0', `user_no_answer_sms`='334', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81402 LIMIT 1 


Time Diff : 0.186

Array
(
    [0] => 81403
    [compaign_id] => 81403
    [1] => u371
    [user_id] => u371
    [2] => 68651,
    [group_ids] => 68651,
    [3] => 
    [sender_id] => 
    [4] => Biknoor CV S.mp3
    [filename] => Biknoor CV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009641
    [start_date] => 1765009641
    [9] => 0
    [end_date] => 0
    [10] => 1517
    [total_sms] => 1517
    [11] => 1517
    [sent_sms] => 1517
    [12] => 0
    [duplicate_sms] => 0
    [13] => 155
    [answered_sms] => 155
    [14] => 71
    [busy_sms] => 71
    [15] => 0
    [congestion_sms] => 0
    [16] => 494
    [failed_sms] => 494
    [17] => 0
    [hangup_sms] => 0
    [18] => 122
    [no_answer_sms] => 122
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 675
    [cutting_sms] => 675
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 155
    [user_answered_sms] => 155
    [27] => 71
    [user_busy_sms] => 71
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 494
    [user_failed_sms] => 494
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 122
    [user_no_answer_sms] => 122
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009641
    [create_date] => 1765009641
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009646,"compaign_read_start_time":1765009652,"compaign_read_complete_time":1765009657,"compaign_send_start_time":1765009683,"compaign_send_complete_time":1765009693}
    [action_time] => {"api_allot_time":1765009646,"compaign_read_start_time":1765009652,"compaign_read_complete_time":1765009657,"compaign_send_start_time":1765009683,"compaign_send_complete_time":1765009693}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81403_06122025_015726PM_185
    [common_name] => u371_81403_06122025_015726PM_185
    [52] => 1765000211_u371_voice.wav
    [voice_file] => 1765000211_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68651
    [temp_group_table] => contacts_temp_group_68651
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765009923
    [last_credit_update_time] => 1765009923
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81403
\compaign_type : Rans per 28.35222 
ans sms 1517
dnd sms 0

require answer perrequire answer per : 431

user answer per : 155
below is the redis data 276 /n/r
only no answer and busy will be convert, total number require 276 /n/r
UPDATE voice_compaign_detail_81403 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 210 UPDATE voice_compaign_detail_81403 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 210 Total Failed : 428 no_answer_count : 143 Busy count :110 congestion_count : 51 failed_count : 124UPDATE voice_compaign_detail_81403 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 143 UPDATE voice_compaign_detail_81403 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_81403 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81403 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='348', `user_busy_sms`='320', `user_congestion_sms`='51', `user_failed_sms`='445', `user_hangup_sms`='0', `user_no_answer_sms`='353', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81403 LIMIT 1 


Time Diff : 0.163

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750841'  
Array
(
    [0] => 81398
    [compaign_id] => 81398
    [1] => u371
    [user_id] => u371
    [2] => 68652,
    [group_ids] => 68652,
    [3] => 
    [sender_id] => 
    [4] => Mokanpally DV S.mp3
    [filename] => Mokanpally DV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009624
    [start_date] => 1765009624
    [9] => 0
    [end_date] => 0
    [10] => 195
    [total_sms] => 195
    [11] => 195
    [sent_sms] => 195
    [12] => 0
    [duplicate_sms] => 0
    [13] => 29
    [answered_sms] => 29
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 72
    [failed_sms] => 72
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 53
    [cutting_sms] => 53
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 29
    [user_answered_sms] => 29
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 72
    [user_failed_sms] => 72
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 23
    [user_no_answer_sms] => 23
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009624
    [create_date] => 1765009624
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009759,"compaign_read_start_time":1765009762,"compaign_read_complete_time":1765009763,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009803}
    [action_time] => {"api_allot_time":1765009759,"compaign_read_start_time":1765009762,"compaign_read_complete_time":1765009763,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009803}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81398_06122025_015710PM_765
    [common_name] => u371_81398_06122025_015710PM_765
    [52] => 1765004087_u371_voice.wav
    [voice_file] => 1765004087_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68652
    [temp_group_table] => contacts_temp_group_68652
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010041
    [last_credit_update_time] => 1765010041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81398
\compaign_type : Rans per 25.29765 
ans sms 195
dnd sms 0

require answer perrequire answer per : 50

user answer per : 29
below is the redis data 21 /n/r
only no answer and busy will be convert, total number require 21 /n/r
UPDATE voice_compaign_detail_81398 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81398 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15 Total Failed : 39 no_answer_count : 14 Busy count :11 congestion_count : 5 failed_count : 9UPDATE voice_compaign_detail_81398 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81398 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81398 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81398 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='50', `user_busy_sms`='37', `user_congestion_sms`='5', `user_failed_sms`='65', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81398 LIMIT 1 


Time Diff : 1.077

Array
(
    [0] => 81399
    [compaign_id] => 81399
    [1] => u371
    [user_id] => u371
    [2] => 68653,
    [group_ids] => 68653,
    [3] => 
    [sender_id] => 
    [4] => Naleshwar DV.mp3
    [filename] => Naleshwar DV.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009625
    [start_date] => 1765009625
    [9] => 0
    [end_date] => 0
    [10] => 455
    [total_sms] => 455
    [11] => 455
    [sent_sms] => 455
    [12] => 0
    [duplicate_sms] => 0
    [13] => 57
    [answered_sms] => 57
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 143
    [failed_sms] => 143
    [17] => 0
    [hangup_sms] => 0
    [18] => 42
    [no_answer_sms] => 42
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 185
    [cutting_sms] => 185
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 57
    [user_answered_sms] => 57
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 143
    [user_failed_sms] => 143
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 42
    [user_no_answer_sms] => 42
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009625
    [create_date] => 1765009625
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009759,"compaign_read_start_time":1765009765,"compaign_read_complete_time":1765009766,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009804}
    [action_time] => {"api_allot_time":1765009759,"compaign_read_start_time":1765009765,"compaign_read_complete_time":1765009766,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009804}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81399_06122025_015710PM_956
    [common_name] => u371_81399_06122025_015710PM_956
    [52] => 1765000134_u371_voice.wav
    [voice_file] => 1765000134_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68653
    [temp_group_table] => contacts_temp_group_68653
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010041
    [last_credit_update_time] => 1765010041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81399
\compaign_type : Rans per 26.38953 
ans sms 455
dnd sms 0

require answer perrequire answer per : 121

user answer per : 57
below is the redis data 64 /n/r
only no answer and busy will be convert, total number require 64 /n/r
UPDATE voice_compaign_detail_81399 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81399 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 52 Total Failed : 128 no_answer_count : 43 Busy count :33 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_81399 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81399 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81399 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81399 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='121', `user_busy_sms`='87', `user_congestion_sms`='16', `user_failed_sms`='132', `user_hangup_sms`='0', `user_no_answer_sms`='99', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81399 LIMIT 1 


Time Diff : 0.462

Array
(
    [0] => 81400
    [compaign_id] => 81400
    [1] => u371
    [user_id] => u371
    [2] => 68654,
    [group_ids] => 68654,
    [3] => 
    [sender_id] => 
    [4] => Ashajyothi DV.mp3
    [filename] => Ashajyothi DV.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009626
    [start_date] => 1765009626
    [9] => 0
    [end_date] => 0
    [10] => 588
    [total_sms] => 588
    [11] => 588
    [sent_sms] => 588
    [12] => 0
    [duplicate_sms] => 0
    [13] => 90
    [answered_sms] => 90
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 132
    [failed_sms] => 132
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 245
    [cutting_sms] => 245
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 0
    [user_failed_sms] => 0
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009626
    [create_date] => 1765009626
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009761,"compaign_read_start_time":1765009768,"compaign_read_complete_time":1765009769,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009804}
    [action_time] => {"api_allot_time":1765009761,"compaign_read_start_time":1765009768,"compaign_read_complete_time":1765009769,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009804}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81400_06122025_015712PM_453
    [common_name] => u371_81400_06122025_015712PM_453
    [52] => 1765005067_u371_voice.wav
    [voice_file] => 1765005067_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68654
    [temp_group_table] => contacts_temp_group_68654
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010041
    [last_credit_update_time] => 1765010041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81400
\compaign_type : Rans per 30.41825 
ans sms 588
dnd sms 0

require answer perrequire answer per : 179

user answer per : 90
below is the redis data 89 /n/r
only no answer and busy will be convert, total number require 89 /n/r
UPDATE voice_compaign_detail_81400 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 70 UPDATE voice_compaign_detail_81400 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 70 Total Failed : 152 no_answer_count : 51 Busy count :40 congestion_count : 19 failed_count : 42UPDATE voice_compaign_detail_81400 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81400 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81400 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81400 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='179', `user_busy_sms`='117', `user_congestion_sms`='19', `user_failed_sms`='127', `user_hangup_sms`='0', `user_no_answer_sms`='146', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81400 LIMIT 1 


Time Diff : 0.361

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750901'  
Array
(
    [0] => 81404
    [compaign_id] => 81404
    [1] => u371
    [user_id] => u371
    [2] => 68656,
    [group_ids] => 68656,
    [3] => 
    [sender_id] => 
    [4] => Hunsa Sanju CV S.mp3
    [filename] => Hunsa Sanju CV S.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009774
    [start_date] => 1765009774
    [9] => 0
    [end_date] => 0
    [10] => 263
    [total_sms] => 263
    [11] => 263
    [sent_sms] => 263
    [12] => 0
    [duplicate_sms] => 0
    [13] => 53
    [answered_sms] => 53
    [14] => 27
    [busy_sms] => 27
    [15] => 0
    [congestion_sms] => 0
    [16] => 56
    [failed_sms] => 56
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 93
    [cutting_sms] => 93
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 53
    [user_answered_sms] => 53
    [27] => 27
    [user_busy_sms] => 27
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 56
    [user_failed_sms] => 56
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 34
    [user_no_answer_sms] => 34
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009774
    [create_date] => 1765009774
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009780,"compaign_read_start_time":1765009781,"compaign_read_complete_time":1765009781,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009803}
    [action_time] => {"api_allot_time":1765009780,"compaign_read_start_time":1765009781,"compaign_read_complete_time":1765009781,"compaign_send_start_time":1765009802,"compaign_send_complete_time":1765009803}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81404_06122025_015939PM_204
    [common_name] => u371_81404_06122025_015939PM_204
    [52] => 1764998255_u371_voice.wav
    [voice_file] => 1764998255_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68656
    [temp_group_table] => contacts_temp_group_68656
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010041
    [last_credit_update_time] => 1765010041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81404
\compaign_type : Rans per 28.18821 
ans sms 263
dnd sms 0

require answer perrequire answer per : 75

user answer per : 53
below is the redis data 22 /n/r
only no answer and busy will be convert, total number require 22 /n/r
UPDATE voice_compaign_detail_81404 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81404 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 Total Failed : 72 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_81404 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81404 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81404 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81404 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='75', `user_busy_sms`='52', `user_congestion_sms`='9', `user_failed_sms`='62', `user_hangup_sms`='0', `user_no_answer_sms`='65', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81404 LIMIT 1 


Time Diff : 1.034

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764750962'  
Array
(
    [0] => 81406
    [compaign_id] => 81406
    [1] => u83
    [user_id] => u83
    [2] => 68658,
    [group_ids] => 68658,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765009927
    [start_date] => 1765009927
    [9] => 0
    [end_date] => 0
    [10] => 386
    [total_sms] => 386
    [11] => 386
    [sent_sms] => 386
    [12] => 0
    [duplicate_sms] => 0
    [13] => 38
    [answered_sms] => 38
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 43
    [failed_sms] => 43
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 101
    [cutting_sms] => 101
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 38
    [user_answered_sms] => 38
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 43
    [user_failed_sms] => 43
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 50
    [user_no_answer_sms] => 50
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765009927
    [create_date] => 1765009927
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765009934,"compaign_read_start_time":1765009937,"compaign_read_complete_time":1765009937,"compaign_send_start_time":1765009981,"compaign_send_complete_time":1765009982}
    [action_time] => {"api_allot_time":1765009934,"compaign_read_start_time":1765009937,"compaign_read_complete_time":1765009937,"compaign_send_start_time":1765009981,"compaign_send_complete_time":1765009982}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81406_06122025_020214PM_588
    [common_name] => u83_81406_06122025_020214PM_588
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68658
    [temp_group_table] => contacts_temp_group_68658
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010162
    [last_credit_update_time] => 1765010162
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81406
\compaign_type : Rans per 26.41389 
ans sms 386
dnd sms 120

require answer perrequire answer per : 71

user answer per : 38
below is the redis data 33 /n/r
only no answer and busy will be convert, total number require 33 /n/r
UPDATE voice_compaign_detail_81406 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81406 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 Total Failed : 65 no_answer_count : 22 Busy count :17 congestion_count : 8 failed_count : 18UPDATE voice_compaign_detail_81406 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81406 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81406 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81406 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='71', `user_busy_sms`='62', `user_congestion_sms`='8', `user_failed_sms`='43', `user_hangup_sms`='0', `user_no_answer_sms`='82', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81406 LIMIT 1 


Time Diff : 0.329

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751321'  
Array
(
    [0] => 81409
    [compaign_id] => 81409
    [1] => u371
    [user_id] => u371
    [2] => 68661,
    [group_ids] => 68661,
    [3] => 
    [sender_id] => 
    [4] => Eklaspur CV S.mp3
    [filename] => Eklaspur CV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765010222
    [start_date] => 1765010222
    [9] => 0
    [end_date] => 0
    [10] => 83
    [total_sms] => 83
    [11] => 83
    [sent_sms] => 83
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 6
    [busy_sms] => 6
    [15] => 0
    [congestion_sms] => 0
    [16] => 38
    [failed_sms] => 38
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 6
    [user_busy_sms] => 6
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 38
    [user_failed_sms] => 38
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765010222
    [create_date] => 1765010222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765010228,"compaign_read_start_time":1765010230,"compaign_read_complete_time":1765010230,"compaign_send_start_time":1765010283,"compaign_send_complete_time":1765010288}
    [action_time] => {"api_allot_time":1765010228,"compaign_read_start_time":1765010230,"compaign_read_complete_time":1765010230,"compaign_send_start_time":1765010283,"compaign_send_complete_time":1765010288}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81409_06122025_020707PM_682
    [common_name] => u371_81409_06122025_020707PM_682
    [52] => 1764999727_u371_voice.wav
    [voice_file] => 1764999727_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68661
    [temp_group_table] => contacts_temp_group_68661
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010462
    [last_credit_update_time] => 1765010462
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81409
\compaign_type : Rans per 25.62842 
ans sms 83
dnd sms 0

require answer perrequire answer per : 22

user answer per : 22
Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='22', `user_busy_sms`='6', `user_congestion_sms`='0', `user_failed_sms`='38', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81409 LIMIT 1 


Time Diff : 2.229

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751382'  
Array
(
    [0] => 81410
    [compaign_id] => 81410
    [1] => u680
    [user_id] => u680
    [2] => 68662,
    [group_ids] => 68662,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765010259
    [start_date] => 1765010259
    [9] => 0
    [end_date] => 0
    [10] => 467
    [total_sms] => 467
    [11] => 467
    [sent_sms] => 467
    [12] => 0
    [duplicate_sms] => 0
    [13] => 86
    [answered_sms] => 86
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 82
    [no_answer_sms] => 82
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 172
    [cutting_sms] => 172
    [22] => 57
    [dnd_sms] => 57
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 86
    [user_answered_sms] => 86
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 82
    [user_no_answer_sms] => 82
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 57
    [user_dnd_sms] => 57
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765010258
    [create_date] => 1765010258
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765010266,"compaign_read_start_time":1765010266,"compaign_read_complete_time":1765010267,"compaign_send_start_time":1765010283,"compaign_send_complete_time":1765010289}
    [action_time] => {"api_allot_time":1765010266,"compaign_read_start_time":1765010266,"compaign_read_complete_time":1765010267,"compaign_send_start_time":1765010283,"compaign_send_complete_time":1765010289}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81410_06122025_020745PM_533
    [common_name] => u680_81410_06122025_020745PM_533
    [52] => 1765010258_u680_voice.wav
    [voice_file] => 1765010258_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68662
    [temp_group_table] => contacts_temp_group_68662
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010521
    [last_credit_update_time] => 1765010521
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81410
\compaign_type : Rans per 25.1129 
ans sms 467
dnd sms 57

require answer perrequire answer per : 103

user answer per : 86
below is the redis data 17 /n/r
only no answer and busy will be convert, total number require 17 /n/r
UPDATE voice_compaign_detail_81410 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81410 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14 Total Failed : 151 no_answer_count : 51 Busy count :39 congestion_count : 18 failed_count : 43UPDATE voice_compaign_detail_81410 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81410 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81410 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81410 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='103', `user_busy_sms`='82', `user_congestion_sms`='18', `user_failed_sms`='73', `user_hangup_sms`='0', `user_no_answer_sms`='134', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='57' WHERE `compaign_id`=81410 LIMIT 1 


Time Diff : 0.574

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751622'  
Array
(
    [0] => 81411
    [compaign_id] => 81411
    [1] => u680
    [user_id] => u680
    [2] => 68664,
    [group_ids] => 68664,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765010499
    [start_date] => 1765010499
    [9] => 0
    [end_date] => 0
    [10] => 142
    [total_sms] => 142
    [11] => 142
    [sent_sms] => 142
    [12] => 0
    [duplicate_sms] => 0
    [13] => 49
    [answered_sms] => 49
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 19
    [cutting_sms] => 19
    [22] => 7
    [dnd_sms] => 7
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 49
    [user_answered_sms] => 49
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 31
    [user_no_answer_sms] => 31
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 7
    [user_dnd_sms] => 7
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765010499
    [create_date] => 1765010499
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765010504,"compaign_read_start_time":1765010507,"compaign_read_complete_time":1765010507,"compaign_send_start_time":1765010522,"compaign_send_complete_time":1765010527}
    [action_time] => {"api_allot_time":1765010504,"compaign_read_start_time":1765010507,"compaign_read_complete_time":1765010507,"compaign_send_start_time":1765010522,"compaign_send_complete_time":1765010527}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81411_06122025_021144PM_821
    [common_name] => u680_81411_06122025_021144PM_821
    [52] => 1765010499_u680_voice.wav
    [voice_file] => 1765010499_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68664
    [temp_group_table] => contacts_temp_group_68664
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010762
    [last_credit_update_time] => 1765010762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81411
\compaign_type : Rans per 29.54639 
ans sms 142
dnd sms 7

require answer perrequire answer per : 40

user answer per : 49
Total Failed : 19 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_81411 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81411 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81411 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81411 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='49', `user_busy_sms`='24', `user_congestion_sms`='3', `user_failed_sms`='21', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=81411 LIMIT 1 


Time Diff : 1.908

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751742'  
Array
(
    [0] => 81413
    [compaign_id] => 81413
    [1] => u680
    [user_id] => u680
    [2] => 68665,
    [group_ids] => 68665,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765010581
    [start_date] => 1765010581
    [9] => 0
    [end_date] => 0
    [10] => 134
    [total_sms] => 134
    [11] => 134
    [sent_sms] => 134
    [12] => 0
    [duplicate_sms] => 0
    [13] => 37
    [answered_sms] => 37
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 10
    [failed_sms] => 10
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 22
    [cutting_sms] => 22
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 37
    [user_answered_sms] => 37
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 10
    [user_failed_sms] => 10
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 27
    [user_no_answer_sms] => 27
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765010581
    [create_date] => 1765010581
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765010588,"compaign_read_start_time":1765010590,"compaign_read_complete_time":1765010591,"compaign_send_start_time":1765010642,"compaign_send_complete_time":1765010643}
    [action_time] => {"api_allot_time":1765010588,"compaign_read_start_time":1765010590,"compaign_read_complete_time":1765010591,"compaign_send_start_time":1765010642,"compaign_send_complete_time":1765010643}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81413_06122025_021308PM_944
    [common_name] => u680_81413_06122025_021308PM_944
    [52] => 1765010581_u680_voice.wav
    [voice_file] => 1765010581_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68665
    [temp_group_table] => contacts_temp_group_68665
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010881
    [last_credit_update_time] => 1765010881
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81413
\compaign_type : Rans per 30.16013 
ans sms 134
dnd sms 13

require answer perrequire answer per : 37

user answer per : 37
Total Failed : 22 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_81413 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81413 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81413 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81413 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='37', `user_busy_sms`='31', `user_congestion_sms`='3', `user_failed_sms`='15', `user_hangup_sms`='0', `user_no_answer_sms`='35', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81413 LIMIT 1 


Time Diff : 2.03

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751801'  
Array
(
    [0] => 81415
    [compaign_id] => 81415
    [1] => u680
    [user_id] => u680
    [2] => 68666,
    [group_ids] => 68666,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765010663
    [start_date] => 1765010663
    [9] => 0
    [end_date] => 0
    [10] => 192
    [total_sms] => 192
    [11] => 192
    [sent_sms] => 192
    [12] => 0
    [duplicate_sms] => 0
    [13] => 50
    [answered_sms] => 50
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 37
    [no_answer_sms] => 37
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 40
    [cutting_sms] => 40
    [22] => 37
    [dnd_sms] => 37
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 50
    [user_answered_sms] => 50
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 37
    [user_no_answer_sms] => 37
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 37
    [user_dnd_sms] => 37
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765010663
    [create_date] => 1765010663
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765010668,"compaign_read_start_time":1765010669,"compaign_read_complete_time":1765010669,"compaign_send_start_time":1765010702,"compaign_send_complete_time":1765010702}
    [action_time] => {"api_allot_time":1765010668,"compaign_read_start_time":1765010669,"compaign_read_complete_time":1765010669,"compaign_send_start_time":1765010702,"compaign_send_complete_time":1765010702}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81415_06122025_021428PM_167
    [common_name] => u680_81415_06122025_021428PM_167
    [52] => 1765010663_u680_voice.wav
    [voice_file] => 1765010663_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68666
    [temp_group_table] => contacts_temp_group_68666
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765010942
    [last_credit_update_time] => 1765010942
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81415
\compaign_type : Rans per 29.25296 
ans sms 192
dnd sms 37

require answer perrequire answer per : 46

user answer per : 50
Total Failed : 40 no_answer_count : 14 Busy count :11 congestion_count : 5 failed_count : 10UPDATE voice_compaign_detail_81415 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81415 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81415 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81415 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='50', `user_busy_sms`='23', `user_congestion_sms`='5', `user_failed_sms`='26', `user_hangup_sms`='0', `user_no_answer_sms`='51', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='37' WHERE `compaign_id`=81415 LIMIT 1 


Time Diff : 1.411

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764751981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752045'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752342'  
Array
(
    [0] => 81420
    [compaign_id] => 81420
    [1] => u29722
    [user_id] => u29722
    [2] => 68668,
    [group_ids] => 68668,
    [3] => 
    [sender_id] => 
    [4] => Padigela Srinivas.mp3
    [filename] => Padigela Srinivas.mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765011220
    [start_date] => 1765011220
    [9] => 0
    [end_date] => 0
    [10] => 4121
    [total_sms] => 4121
    [11] => 4121
    [sent_sms] => 4121
    [12] => 0
    [duplicate_sms] => 0
    [13] => 379
    [answered_sms] => 379
    [14] => 209
    [busy_sms] => 209
    [15] => 0
    [congestion_sms] => 0
    [16] => 1341
    [failed_sms] => 1341
    [17] => 0
    [hangup_sms] => 0
    [18] => 264
    [no_answer_sms] => 264
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1928
    [cutting_sms] => 1928
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 379
    [user_answered_sms] => 379
    [27] => 209
    [user_busy_sms] => 209
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1341
    [user_failed_sms] => 1341
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 264
    [user_no_answer_sms] => 264
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765011218
    [create_date] => 1765011218
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765011226,"compaign_read_start_time":1765011226,"compaign_read_complete_time":1765011234,"compaign_send_start_time":1765011245,"compaign_send_complete_time":1765011255}
    [action_time] => {"api_allot_time":1765011226,"compaign_read_start_time":1765011226,"compaign_read_complete_time":1765011234,"compaign_send_start_time":1765011245,"compaign_send_complete_time":1765011255}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81420_06122025_022345PM_366
    [common_name] => u29722_81420_06122025_022345PM_366
    [52] => 1764995711_u29722_voice.wav
    [voice_file] => 1764995711_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68668
    [temp_group_table] => contacts_temp_group_68668
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765011481
    [last_credit_update_time] => 1765011481
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81420
\compaign_type : Rans per 25.51241 
ans sms 4121
dnd sms 0

require answer perrequire answer per : 1052

user answer per : 379
below is the redis data 673 UPDATE voice_compaign_detail_81420 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 673 Total Failed : 1255 no_answer_count : 419 Busy count :323 congestion_count : 149 failed_count : 364UPDATE voice_compaign_detail_81420 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 419 UPDATE voice_compaign_detail_81420 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 323 UPDATE voice_compaign_detail_81420 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 149 UPDATE voice_compaign_detail_81420 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 364 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1052', `user_busy_sms`='532', `user_congestion_sms`='149', `user_failed_sms`='1705', `user_hangup_sms`='0', `user_no_answer_sms`='683', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81420 LIMIT 1 


Time Diff : 0.06

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752401'  
Array
(
    [0] => 81419
    [compaign_id] => 81419
    [1] => u371
    [user_id] => u371
    [2] => 68667,
    [group_ids] => 68667,
    [3] => 
    [sender_id] => 
    [4] => Hunsa Sanju CV S.mp3
    [filename] => Hunsa Sanju CV S.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765011123
    [start_date] => 1765011123
    [9] => 0
    [end_date] => 0
    [10] => 263
    [total_sms] => 263
    [11] => 263
    [sent_sms] => 263
    [12] => 0
    [duplicate_sms] => 0
    [13] => 56
    [answered_sms] => 56
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 58
    [failed_sms] => 58
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 89
    [cutting_sms] => 89
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 56
    [user_answered_sms] => 56
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 58
    [user_failed_sms] => 58
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 36
    [user_no_answer_sms] => 36
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765011123
    [create_date] => 1765011123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765011259,"compaign_read_start_time":1765011260,"compaign_read_complete_time":1765011260,"compaign_send_start_time":1765011301,"compaign_send_complete_time":1765011312}
    [action_time] => {"api_allot_time":1765011259,"compaign_read_start_time":1765011260,"compaign_read_complete_time":1765011260,"compaign_send_start_time":1765011301,"compaign_send_complete_time":1765011312}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81419_06122025_022208PM_512
    [common_name] => u371_81419_06122025_022208PM_512
    [52] => 1764998255_u371_voice.wav
    [voice_file] => 1764998255_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68667
    [temp_group_table] => contacts_temp_group_68667
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765011542
    [last_credit_update_time] => 1765011542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81419
\compaign_type : Rans per 29.79238 
ans sms 263
dnd sms 0

require answer perrequire answer per : 79

user answer per : 56
below is the redis data 23 /n/r
only no answer and busy will be convert, total number require 23 /n/r
UPDATE voice_compaign_detail_81419 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81419 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 Total Failed : 70 no_answer_count : 24 Busy count :18 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_81419 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81419 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81419 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81419 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='79', `user_busy_sms`='50', `user_congestion_sms`='9', `user_failed_sms`='62', `user_hangup_sms`='0', `user_no_answer_sms`='63', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81419 LIMIT 1 


Time Diff : 0.932

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752526'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764752941'  
Array
(
    [0] => 81425
    [compaign_id] => 81425
    [1] => u371
    [user_id] => u371
    [2] => 68671,
    [group_ids] => 68671,
    [3] => 
    [sender_id] => 
    [4] => Mokanpally DV S.mp3
    [filename] => Mokanpally DV S.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765011881
    [start_date] => 1765011881
    [9] => 0
    [end_date] => 0
    [10] => 375
    [total_sms] => 375
    [11] => 375
    [sent_sms] => 375
    [12] => 0
    [duplicate_sms] => 0
    [13] => 67
    [answered_sms] => 67
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 102
    [failed_sms] => 102
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 135
    [cutting_sms] => 135
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 67
    [user_answered_sms] => 67
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 102
    [user_failed_sms] => 102
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 41
    [user_no_answer_sms] => 41
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765011881
    [create_date] => 1765011881
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765011888,"compaign_read_start_time":1765011890,"compaign_read_complete_time":1765011890,"compaign_send_start_time":1765011901,"compaign_send_complete_time":1765011903}
    [action_time] => {"api_allot_time":1765011888,"compaign_read_start_time":1765011890,"compaign_read_complete_time":1765011890,"compaign_send_start_time":1765011901,"compaign_send_complete_time":1765011903}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81425_06122025_023447PM_260
    [common_name] => u371_81425_06122025_023447PM_260
    [52] => 1765004087_u371_voice.wav
    [voice_file] => 1765004087_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68671
    [temp_group_table] => contacts_temp_group_68671
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765012141
    [last_credit_update_time] => 1765012141
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81425
\compaign_type : Rans per 27.27379 
ans sms 375
dnd sms 0

require answer perrequire answer per : 103

user answer per : 67
below is the redis data 36 /n/r
only no answer and busy will be convert, total number require 36 /n/r
UPDATE voice_compaign_detail_81425 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81425 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 26 Total Failed : 102 no_answer_count : 35 Busy count :27 congestion_count : 13 failed_count : 27UPDATE voice_compaign_detail_81425 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_81425 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81425 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81425 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='103', `user_busy_sms`='67', `user_congestion_sms`='13', `user_failed_sms`='110', `user_hangup_sms`='0', `user_no_answer_sms`='82', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81425 LIMIT 1 


Time Diff : 0.493

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753181'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 27776
    [total_sms] => 27776
    [11] => 27776
    [sent_sms] => 27776
    [12] => 0
    [duplicate_sms] => 0
    [13] => 296
    [answered_sms] => 296
    [14] => 8365
    [busy_sms] => 8365
    [15] => 2
    [congestion_sms] => 2
    [16] => 18012
    [failed_sms] => 18012
    [17] => 0
    [hangup_sms] => 0
    [18] => 1101
    [no_answer_sms] => 1101
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 296
    [user_answered_sms] => 296
    [27] => 8365
    [user_busy_sms] => 8365
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 18012
    [user_failed_sms] => 18012
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1101
    [user_no_answer_sms] => 1101
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 88
    [credit_seq] => 88
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765012322
    [last_credit_update_time] => 1765012322
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.26099 
ans sms 27776
dnd sms 0

require answer perrequire answer per : 7295

user answer per : 296
below is the redis data 6999 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6999 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='298', `user_busy_sms`='8365', `user_congestion_sms`='0', `user_failed_sms`='18012', `user_hangup_sms`='0', `user_no_answer_sms`='1101', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.61

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753602'  
Array
(
    [0] => 81428
    [compaign_id] => 81428
    [1] => u179
    [user_id] => u179
    [2] => 68675,
    [group_ids] => 68675,
    [3] => 
    [sender_id] => 
    [4] => RENEWAL VOICE (1).mp3
    [filename] => RENEWAL VOICE (1).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765012442
    [start_date] => 1765012442
    [9] => 0
    [end_date] => 0
    [10] => 80
    [total_sms] => 80
    [11] => 80
    [sent_sms] => 80
    [12] => 0
    [duplicate_sms] => 0
    [13] => 12
    [answered_sms] => 12
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 12
    [user_answered_sms] => 12
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 19
    [user_no_answer_sms] => 19
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1765012442
    [create_date] => 1765012442
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765012448,"compaign_read_start_time":1765012450,"compaign_read_complete_time":1765012451,"compaign_send_start_time":1765012502,"compaign_send_complete_time":1765012503}
    [action_time] => {"api_allot_time":1765012448,"compaign_read_start_time":1765012450,"compaign_read_complete_time":1765012451,"compaign_send_start_time":1765012502,"compaign_send_complete_time":1765012503}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81428_06122025_024407PM_760
    [common_name] => u179_81428_06122025_024407PM_760
    [52] => 1731645953_u179_voice.wav
    [voice_file] => 1731645953_u179_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68675
    [temp_group_table] => contacts_temp_group_68675
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 3
    [reschedule_max] => 3
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 3
    [reschedule_remaining] => 3
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765012741
    [last_credit_update_time] => 1765012741
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765017000,"2":1765017900,"3":1765018800}
    [rt_time] => {"1":1765017000,"2":1765017900,"3":1765018800}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 81428
\compaign_type : Rans per 25.03513 
ans sms 80
dnd sms 13

require answer perrequire answer per : 17

user answer per : 12
below is the redis data 5 /n/r
only no answer and busy will be convert, total number require 5 /n/r
UPDATE voice_compaign_detail_81428 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81428 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='17', `user_busy_sms`='30', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81428 LIMIT 1 


Time Diff : 3.063

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764753961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754382'  
Array
(
    [0] => 81433
    [compaign_id] => 81433
    [1] => sr30
    [user_id] => sr30
    [2] => 68679,
    [group_ids] => 68679,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-05 at 11.05.56 AM (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-12-05 at 11.05.56 AM (online-audio-converter.com).mp3
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765013222
    [start_date] => 1765013222
    [9] => 0
    [end_date] => 0
    [10] => 82
    [total_sms] => 82
    [11] => 82
    [sent_sms] => 82
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 33
    [failed_sms] => 33
    [17] => 0
    [hangup_sms] => 0
    [18] => 1
    [no_answer_sms] => 1
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 46
    [dnd_sms] => 46
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 33
    [user_failed_sms] => 33
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1
    [user_no_answer_sms] => 1
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 46
    [user_dnd_sms] => 46
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr30
    [created_by] => sr30
    [38] => 0
    [isScheduled] => 0
    [39] => 1765013222
    [create_date] => 1765013222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765013228,"compaign_read_start_time":1765013233,"compaign_read_complete_time":1765013234,"compaign_send_start_time":1765013282,"compaign_send_complete_time":1765013283}
    [action_time] => {"api_allot_time":1765013228,"compaign_read_start_time":1765013233,"compaign_read_complete_time":1765013234,"compaign_send_start_time":1765013282,"compaign_send_complete_time":1765013283}
    [50] => 0
    [compaign_file] => 0
    [51] => sr30_81433_06122025_025707PM_154
    [common_name] => sr30_81433_06122025_025707PM_154
    [52] => 1764913598_sr30_voice.wav
    [voice_file] => 1764913598_sr30_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68679
    [temp_group_table] => contacts_temp_group_68679
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765013521
    [last_credit_update_time] => 1765013521
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 62
    [user_voice_plan_id] => 62
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr30
    [uphierarchy] => admin,sr30
    [113] => 
    [extra_params_json] => 
)


Compaign : 81433
\compaign_type : Rans per 26.25021 
ans sms 82
dnd sms 46

require answer perrequire answer per : 10

user answer per : 2
below is the redis data 8 /n/r
only no answer and busy will be convert, total number require 8 /n/r
UPDATE voice_compaign_detail_81433 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81433 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3', `user_busy_sms`='7', `user_congestion_sms`='0', `user_failed_sms`='19', `user_hangup_sms`='0', `user_no_answer_sms`='7', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='46' WHERE `compaign_id`=81433 LIMIT 1 


Time Diff : 2.976

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754562'  
Array
(
    [0] => 81299
    [compaign_id] => 81299
    [1] => sr31
    [user_id] => sr31
    [2] => 68574,
    [group_ids] => 68574,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765013400
    [start_date] => 1765013400
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 18
    [cutting_sms] => 18
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 29
    [user_no_answer_sms] => 29
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765001178
    [create_date] => 1765001178
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765013406,"compaign_read_start_time":1765013407,"compaign_read_complete_time":1765013409,"compaign_send_start_time":1765013462,"compaign_send_complete_time":1765013463}
    [action_time] => {"api_allot_time":1765013406,"compaign_read_start_time":1765013407,"compaign_read_complete_time":1765013409,"compaign_send_start_time":1765013462,"compaign_send_complete_time":1765013463}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81299_06122025_030005PM_191
    [common_name] => sr31_81299_06122025_030005PM_191
    [52] => 1765001178_sr31_voice.wav
    [voice_file] => 1765001178_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68574
    [temp_group_table] => contacts_temp_group_68574
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765013703
    [reschedule_last_check_time] => 1765013703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765013701
    [last_credit_update_time] => 1765013701
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765015200,"2":1765016100}
    [rt_time] => {"1":1765015200,"2":1765016100}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81299
\compaign_type : Rans per 28.36898 
ans sms 169
dnd sms 69

require answer perrequire answer per : 29

user answer per : 18
below is the redis data 11 /n/r
only no answer and busy will be convert, total number require 11 /n/r
UPDATE voice_compaign_detail_81299 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81299 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8 Total Failed : 7 no_answer_count : 3 Busy count :2 congestion_count : 1 failed_count : 1UPDATE voice_compaign_detail_81299 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81299 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81299 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81299 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='29', `user_busy_sms`='25', `user_congestion_sms`='1', `user_failed_sms`='13', `user_hangup_sms`='0', `user_no_answer_sms`='32', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81299 LIMIT 1 


Time Diff : 1.609

Array
(
    [0] => 81436
    [compaign_id] => 81436
    [1] => u680
    [user_id] => u680
    [2] => 68682,
    [group_ids] => 68682,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765013488
    [start_date] => 1765013488
    [9] => 0
    [end_date] => 0
    [10] => 1090
    [total_sms] => 1090
    [11] => 1090
    [sent_sms] => 1090
    [12] => 0
    [duplicate_sms] => 0
    [13] => 155
    [answered_sms] => 155
    [14] => 84
    [busy_sms] => 84
    [15] => 0
    [congestion_sms] => 0
    [16] => 144
    [failed_sms] => 144
    [17] => 0
    [hangup_sms] => 0
    [18] => 134
    [no_answer_sms] => 134
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 441
    [cutting_sms] => 441
    [22] => 132
    [dnd_sms] => 132
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 155
    [user_answered_sms] => 155
    [27] => 84
    [user_busy_sms] => 84
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 144
    [user_failed_sms] => 144
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 134
    [user_no_answer_sms] => 134
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 132
    [user_dnd_sms] => 132
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765013488
    [create_date] => 1765013488
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765013495,"compaign_read_start_time":1765013498,"compaign_read_complete_time":1765013500,"compaign_send_start_time":1765013521,"compaign_send_complete_time":1765013525}
    [action_time] => {"api_allot_time":1765013495,"compaign_read_start_time":1765013498,"compaign_read_complete_time":1765013500,"compaign_send_start_time":1765013521,"compaign_send_complete_time":1765013525}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81436_06122025_030134PM_312
    [common_name] => u680_81436_06122025_030134PM_312
    [52] => 1765013486_u680_voice.wav
    [voice_file] => 1765013486_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68682
    [temp_group_table] => contacts_temp_group_68682
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765013762
    [last_credit_update_time] => 1765013762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81436
\compaign_type : Rans per 30.95911 
ans sms 1090
dnd sms 132

require answer perrequire answer per : 297

user answer per : 155
below is the redis data 142 /n/r
only no answer and busy will be convert, total number require 142 /n/r
UPDATE voice_compaign_detail_81436 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 104 UPDATE voice_compaign_detail_81436 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 104 Total Failed : 278 no_answer_count : 93 Busy count :72 congestion_count : 33 failed_count : 80UPDATE voice_compaign_detail_81436 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 93 UPDATE voice_compaign_detail_81436 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81436 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81436 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='297', `user_busy_sms`='202', `user_congestion_sms`='33', `user_failed_sms`='179', `user_hangup_sms`='0', `user_no_answer_sms`='247', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='132' WHERE `compaign_id`=81436 LIMIT 1 


Time Diff : 0.195

Array
(
    [0] => 81437
    [compaign_id] => 81437
    [1] => sr30
    [user_id] => sr30
    [2] => 68683,
    [group_ids] => 68683,
    [3] => 
    [sender_id] => 
    [4] => AARIF TK MIX WAV (online-audio-converter.com).mp3
    [filename] => AARIF TK MIX WAV (online-audio-converter.com).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765013560
    [start_date] => 1765013560
    [9] => 0
    [end_date] => 0
    [10] => 531
    [total_sms] => 531
    [11] => 531
    [sent_sms] => 531
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 60
    [failed_sms] => 60
    [17] => 0
    [hangup_sms] => 0
    [18] => 54
    [no_answer_sms] => 54
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 147
    [cutting_sms] => 147
    [22] => 155
    [dnd_sms] => 155
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 60
    [user_failed_sms] => 60
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 54
    [user_no_answer_sms] => 54
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 155
    [user_dnd_sms] => 155
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr30
    [created_by] => sr30
    [38] => 0
    [isScheduled] => 0
    [39] => 1765013559
    [create_date] => 1765013559
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765013566,"compaign_read_start_time":1765013566,"compaign_read_complete_time":1765013569,"compaign_send_start_time":1765013582,"compaign_send_complete_time":1765013583}
    [action_time] => {"api_allot_time":1765013566,"compaign_read_start_time":1765013566,"compaign_read_complete_time":1765013569,"compaign_send_start_time":1765013582,"compaign_send_complete_time":1765013583}
    [50] => 0
    [compaign_file] => 0
    [51] => sr30_81437_06122025_030245PM_830
    [common_name] => sr30_81437_06122025_030245PM_830
    [52] => 1765013559_sr30_voice.wav
    [voice_file] => 1765013559_sr30_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68683
    [temp_group_table] => contacts_temp_group_68683
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765013762
    [last_credit_update_time] => 1765013762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 62
    [user_voice_plan_id] => 62
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr30
    [uphierarchy] => admin,sr30
    [113] => 
    [extra_params_json] => 
)


Compaign : 81437
\compaign_type : Rans per 28.04852 
ans sms 531
dnd sms 155

require answer perrequire answer per : 106

user answer per : 85
below is the redis data 21 /n/r
only no answer and busy will be convert, total number require 21 /n/r
UPDATE voice_compaign_detail_81437 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81437 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 Total Failed : 122 no_answer_count : 41 Busy count :32 congestion_count : 15 failed_count : 34UPDATE voice_compaign_detail_81437 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81437 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81437 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81437 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='106', `user_busy_sms`='70', `user_congestion_sms`='15', `user_failed_sms`='85', `user_hangup_sms`='0', `user_no_answer_sms`='100', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='155' WHERE `compaign_id`=81437 LIMIT 1 


Time Diff : 0.286

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754922'  
Array
(
    [0] => 81440
    [compaign_id] => 81440
    [1] => u680
    [user_id] => u680
    [2] => 68686,
    [group_ids] => 68686,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765013806
    [start_date] => 1765013806
    [9] => 0
    [end_date] => 0
    [10] => 110
    [total_sms] => 110
    [11] => 110
    [sent_sms] => 110
    [12] => 0
    [duplicate_sms] => 0
    [13] => 36
    [answered_sms] => 36
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 21
    [failed_sms] => 21
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3
    [cutting_sms] => 3
    [22] => 11
    [dnd_sms] => 11
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 36
    [user_answered_sms] => 36
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 21
    [user_failed_sms] => 21
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 24
    [user_no_answer_sms] => 24
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 11
    [user_dnd_sms] => 11
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765013806
    [create_date] => 1765013806
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765013822,"compaign_read_start_time":1765013824,"compaign_read_complete_time":1765013825,"compaign_send_start_time":1765013882,"compaign_send_complete_time":1765013883}
    [action_time] => {"api_allot_time":1765013822,"compaign_read_start_time":1765013824,"compaign_read_complete_time":1765013825,"compaign_send_start_time":1765013882,"compaign_send_complete_time":1765013883}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81440_06122025_030701PM_991
    [common_name] => u680_81440_06122025_030701PM_991
    [52] => 1765013806_u680_voice.wav
    [voice_file] => 1765013806_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68686
    [temp_group_table] => contacts_temp_group_68686
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014122
    [last_credit_update_time] => 1765014122
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81440
\compaign_type : Rans per 26.2154 
ans sms 110
dnd sms 11

require answer perrequire answer per : 26

user answer per : 36
Total Failed : 3 no_answer_count : 2 Busy count :1 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_81440 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81440 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81440 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='36', `user_busy_sms`='16', `user_congestion_sms`='0', `user_failed_sms`='21', `user_hangup_sms`='0', `user_no_answer_sms`='26', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='11' WHERE `compaign_id`=81440 LIMIT 1 


Time Diff : 1.927

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764754981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755042'  
Array
(
    [0] => 81441
    [compaign_id] => 81441
    [1] => u680
    [user_id] => u680
    [2] => 68687,
    [group_ids] => 68687,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765013898
    [start_date] => 1765013898
    [9] => 0
    [end_date] => 0
    [10] => 112
    [total_sms] => 112
    [11] => 112
    [sent_sms] => 112
    [12] => 0
    [duplicate_sms] => 0
    [13] => 33
    [answered_sms] => 33
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6
    [cutting_sms] => 6
    [22] => 18
    [dnd_sms] => 18
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 33
    [user_answered_sms] => 33
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 23
    [user_no_answer_sms] => 23
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 18
    [user_dnd_sms] => 18
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765013898
    [create_date] => 1765013898
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765013904,"compaign_read_start_time":1765013905,"compaign_read_complete_time":1765013906,"compaign_send_start_time":1765013943,"compaign_send_complete_time":1765013952}
    [action_time] => {"api_allot_time":1765013904,"compaign_read_start_time":1765013905,"compaign_read_complete_time":1765013906,"compaign_send_start_time":1765013943,"compaign_send_complete_time":1765013952}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81441_06122025_030824PM_756
    [common_name] => u680_81441_06122025_030824PM_756
    [52] => 1765013898_u680_voice.wav
    [voice_file] => 1765013898_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68687
    [temp_group_table] => contacts_temp_group_68687
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014181
    [last_credit_update_time] => 1765014181
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81441
\compaign_type : Rans per 30.97328 
ans sms 112
dnd sms 18

require answer perrequire answer per : 30

user answer per : 33
Total Failed : 6 no_answer_count : 3 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_81441 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81441 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81441 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='33', `user_busy_sms`='16', `user_congestion_sms`='1', `user_failed_sms`='18', `user_hangup_sms`='0', `user_no_answer_sms`='26', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='18' WHERE `compaign_id`=81441 LIMIT 1 


Time Diff : 2.42

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755102'  
Array
(
    [0] => 81442
    [compaign_id] => 81442
    [1] => u680
    [user_id] => u680
    [2] => 68688,
    [group_ids] => 68688,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765013992
    [start_date] => 1765013992
    [9] => 0
    [end_date] => 0
    [10] => 167
    [total_sms] => 167
    [11] => 167
    [sent_sms] => 167
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 22
    [dnd_sms] => 22
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 31
    [user_no_answer_sms] => 31
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 22
    [user_dnd_sms] => 22
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765013992
    [create_date] => 1765013992
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765014002,"compaign_read_start_time":1765014004,"compaign_read_complete_time":1765014005,"compaign_send_start_time":1765014062,"compaign_send_complete_time":1765014063}
    [action_time] => {"api_allot_time":1765014002,"compaign_read_start_time":1765014004,"compaign_read_complete_time":1765014005,"compaign_send_start_time":1765014062,"compaign_send_complete_time":1765014063}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81442_06122025_031001PM_634
    [common_name] => u680_81442_06122025_031001PM_634
    [52] => 1765013992_u680_voice.wav
    [voice_file] => 1765013992_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68688
    [temp_group_table] => contacts_temp_group_68688
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014242
    [last_credit_update_time] => 1765014242
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81442
\compaign_type : Rans per 28.35455 
ans sms 167
dnd sms 22

require answer perrequire answer per : 42

user answer per : 41
below is the redis data 1 /n/r
only no answer and busy will be convert, total number require 1 /n/r
UPDATE voice_compaign_detail_81442 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81442 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1 Total Failed : 22 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_81442 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81442 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81442 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81442 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='42', `user_busy_sms`='26', `user_congestion_sms`='3', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='40', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='22' WHERE `compaign_id`=81442 LIMIT 1 


Time Diff : 1.269

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755222'  
Array
(
    [0] => 81443
    [compaign_id] => 81443
    [1] => u680
    [user_id] => u680
    [2] => 68689,
    [group_ids] => 68689,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765014084
    [start_date] => 1765014084
    [9] => 0
    [end_date] => 0
    [10] => 137
    [total_sms] => 137
    [11] => 137
    [sent_sms] => 137
    [12] => 0
    [duplicate_sms] => 0
    [13] => 34
    [answered_sms] => 34
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 21
    [failed_sms] => 21
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 17
    [cutting_sms] => 17
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 34
    [user_answered_sms] => 34
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 21
    [user_failed_sms] => 21
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 29
    [user_no_answer_sms] => 29
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765014084
    [create_date] => 1765014084
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765014090,"compaign_read_start_time":1765014091,"compaign_read_complete_time":1765014093,"compaign_send_start_time":1765014122,"compaign_send_complete_time":1765014123}
    [action_time] => {"api_allot_time":1765014090,"compaign_read_start_time":1765014091,"compaign_read_complete_time":1765014093,"compaign_send_start_time":1765014122,"compaign_send_complete_time":1765014123}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81443_06122025_031130PM_791
    [common_name] => u680_81443_06122025_031130PM_791
    [52] => 1765014084_u680_voice.wav
    [voice_file] => 1765014084_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68689
    [temp_group_table] => contacts_temp_group_68689
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014361
    [last_credit_update_time] => 1765014361
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81443
\compaign_type : Rans per 26.8673 
ans sms 137
dnd sms 19

require answer perrequire answer per : 32

user answer per : 34
Total Failed : 17 no_answer_count : 6 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_81443 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81443 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81443 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81443 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='34', `user_busy_sms`='22', `user_congestion_sms`='3', `user_failed_sms`='24', `user_hangup_sms`='0', `user_no_answer_sms`='35', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=81443 LIMIT 1 


Time Diff : 1.985

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755289'  
Array
(
    [0] => 81445
    [compaign_id] => 81445
    [1] => u29695
    [user_id] => u29695
    [2] => 68691,
    [group_ids] => 68691,
    [3] => 
    [sender_id] => 
    [4] => Deekampally CV.mp3
    [filename] => Deekampally CV.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765014142
    [start_date] => 1765014142
    [9] => 0
    [end_date] => 0
    [10] => 457
    [total_sms] => 457
    [11] => 457
    [sent_sms] => 457
    [12] => 0
    [duplicate_sms] => 0
    [13] => 63
    [answered_sms] => 63
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 130
    [failed_sms] => 130
    [17] => 0
    [hangup_sms] => 0
    [18] => 44
    [no_answer_sms] => 44
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 194
    [cutting_sms] => 194
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 63
    [user_answered_sms] => 63
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 130
    [user_failed_sms] => 130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 44
    [user_no_answer_sms] => 44
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765014141
    [create_date] => 1765014141
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765014148,"compaign_read_start_time":1765014149,"compaign_read_complete_time":1765014149,"compaign_send_start_time":1765014181,"compaign_send_complete_time":1765014183}
    [action_time] => {"api_allot_time":1765014148,"compaign_read_start_time":1765014149,"compaign_read_complete_time":1765014149,"compaign_send_start_time":1765014181,"compaign_send_complete_time":1765014183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81445_06122025_031228PM_120
    [common_name] => u29695_81445_06122025_031228PM_120
    [52] => 1765014141_u29695_voice.wav
    [voice_file] => 1765014141_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68691
    [temp_group_table] => contacts_temp_group_68691
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014422
    [last_credit_update_time] => 1765014422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81445
\compaign_type : Rans per 27.86869 
ans sms 457
dnd sms 0

require answer perrequire answer per : 128

user answer per : 63
below is the redis data 65 UPDATE voice_compaign_detail_81445 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 65 Total Failed : 129 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 35UPDATE voice_compaign_detail_81445 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81445 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81445 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81445 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='128', `user_busy_sms`='60', `user_congestion_sms`='16', `user_failed_sms`='165', `user_hangup_sms`='0', `user_no_answer_sms`='88', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81445 LIMIT 1 


Time Diff : 0.549

Array
(
    [0] => 81446
    [compaign_id] => 81446
    [1] => u680
    [user_id] => u680
    [2] => 68692,
    [group_ids] => 68692,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765014148
    [start_date] => 1765014148
    [9] => 0
    [end_date] => 0
    [10] => 84
    [total_sms] => 84
    [11] => 84
    [sent_sms] => 84
    [12] => 0
    [duplicate_sms] => 0
    [13] => 26
    [answered_sms] => 26
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 8
    [dnd_sms] => 8
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 26
    [user_answered_sms] => 26
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 20
    [user_no_answer_sms] => 20
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 8
    [user_dnd_sms] => 8
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765014148
    [create_date] => 1765014148
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765014155,"compaign_read_start_time":1765014155,"compaign_read_complete_time":1765014155,"compaign_send_start_time":1765014181,"compaign_send_complete_time":1765014182}
    [action_time] => {"api_allot_time":1765014155,"compaign_read_start_time":1765014155,"compaign_read_complete_time":1765014155,"compaign_send_start_time":1765014181,"compaign_send_complete_time":1765014182}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81446_06122025_031234PM_969
    [common_name] => u680_81446_06122025_031234PM_969
    [52] => 1765014148_u680_voice.wav
    [voice_file] => 1765014148_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68692
    [temp_group_table] => contacts_temp_group_68692
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014422
    [last_credit_update_time] => 1765014422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81446
\compaign_type : Rans per 28.03018 
ans sms 84
dnd sms 8

require answer perrequire answer per : 22

user answer per : 26
Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='26', `user_busy_sms`='12', `user_congestion_sms`='0', `user_failed_sms`='18', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='8' WHERE `compaign_id`=81446 LIMIT 1 


Time Diff : 3.333

Array
(
    [0] => 81448
    [compaign_id] => 81448
    [1] => u680
    [user_id] => u680
    [2] => 68693,
    [group_ids] => 68693,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765014265
    [start_date] => 1765014265
    [9] => 0
    [end_date] => 0
    [10] => 164
    [total_sms] => 164
    [11] => 164
    [sent_sms] => 164
    [12] => 0
    [duplicate_sms] => 0
    [13] => 34
    [answered_sms] => 34
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 31
    [failed_sms] => 31
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 31
    [cutting_sms] => 31
    [22] => 21
    [dnd_sms] => 21
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 34
    [user_answered_sms] => 34
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31
    [user_failed_sms] => 31
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 25
    [user_no_answer_sms] => 25
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 21
    [user_dnd_sms] => 21
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765014265
    [create_date] => 1765014265
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765014270,"compaign_read_start_time":1765014272,"compaign_read_complete_time":1765014272,"compaign_send_start_time":1765014302,"compaign_send_complete_time":1765014303}
    [action_time] => {"api_allot_time":1765014270,"compaign_read_start_time":1765014272,"compaign_read_complete_time":1765014272,"compaign_send_start_time":1765014302,"compaign_send_complete_time":1765014303}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81448_06122025_031430PM_300
    [common_name] => u680_81448_06122025_031430PM_300
    [52] => 1765014265_u680_voice.wav
    [voice_file] => 1765014265_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68693
    [temp_group_table] => contacts_temp_group_68693
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014485
    [last_credit_update_time] => 1765014485
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81448
\compaign_type : Rans per 27.16044 
ans sms 164
dnd sms 21

require answer perrequire answer per : 39

user answer per : 34
below is the redis data 5 /n/r
only no answer and busy will be convert, total number require 5 /n/r
UPDATE voice_compaign_detail_81448 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81448 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 Total Failed : 27 no_answer_count : 10 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_81448 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81448 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81448 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81448 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='39', `user_busy_sms`='31', `user_congestion_sms`='4', `user_failed_sms`='33', `user_hangup_sms`='0', `user_no_answer_sms`='36', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='21' WHERE `compaign_id`=81448 LIMIT 1 


Time Diff : 0.97

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755350'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755475'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755530'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755641'  
Array
(
    [0] => 81449
    [compaign_id] => 81449
    [1] => u680
    [user_id] => u680
    [2] => 68694,
    [group_ids] => 68694,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-14-19-04 (1) (online-audio-converter.com).wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765014383
    [start_date] => 1765014383
    [9] => 0
    [end_date] => 0
    [10] => 373
    [total_sms] => 373
    [11] => 373
    [sent_sms] => 373
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 126
    [failed_sms] => 126
    [17] => 0
    [hangup_sms] => 0
    [18] => 54
    [no_answer_sms] => 54
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 114
    [cutting_sms] => 114
    [22] => 41
    [dnd_sms] => 41
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 126
    [user_failed_sms] => 126
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 54
    [user_no_answer_sms] => 54
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 41
    [user_dnd_sms] => 41
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765014383
    [create_date] => 1765014383
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765014521,"compaign_read_start_time":1765014521,"compaign_read_complete_time":1765014522,"compaign_send_start_time":1765014550,"compaign_send_complete_time":1765014551}
    [action_time] => {"api_allot_time":1765014521,"compaign_read_start_time":1765014521,"compaign_read_complete_time":1765014522,"compaign_send_start_time":1765014550,"compaign_send_complete_time":1765014551}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81449_06122025_031629PM_394
    [common_name] => u680_81449_06122025_031629PM_394
    [52] => 1765014383_u680_voice.wav
    [voice_file] => 1765014383_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68694
    [temp_group_table] => contacts_temp_group_68694
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765014785
    [last_credit_update_time] => 1765014785
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81449
\compaign_type : Rans per 27.43397 
ans sms 373
dnd sms 41

require answer perrequire answer per : 92

user answer per : 3
below is the redis data 89 /n/r
only no answer and busy will be convert, total number require 89 /n/r
UPDATE voice_compaign_detail_81449 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_81449 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 65 Total Failed : 56 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_81449 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81449 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81449 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81449 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='92', `user_busy_sms`='80', `user_congestion_sms`='7', `user_failed_sms`='69', `user_hangup_sms`='0', `user_no_answer_sms`='84', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='41' WHERE `compaign_id`=81449 LIMIT 1 


Time Diff : 0.705

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755765'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755826'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764755945'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756125'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756197'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756246'  
Array
(
    [0] => 81459
    [compaign_id] => 81459
    [1] => u680
    [user_id] => u680
    [2] => 68703,
    [group_ids] => 68703,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765015101
    [start_date] => 1765015101
    [9] => 0
    [end_date] => 0
    [10] => 72
    [total_sms] => 72
    [11] => 72
    [sent_sms] => 72
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 14
    [dnd_sms] => 14
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 14
    [user_dnd_sms] => 14
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765015101
    [create_date] => 1765015101
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765015108,"compaign_read_start_time":1765015108,"compaign_read_complete_time":1765015109,"compaign_send_start_time":1765015146,"compaign_send_complete_time":1765015147}
    [action_time] => {"api_allot_time":1765015108,"compaign_read_start_time":1765015108,"compaign_read_complete_time":1765015109,"compaign_send_start_time":1765015146,"compaign_send_complete_time":1765015147}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81459_06122025_032827PM_770
    [common_name] => u680_81459_06122025_032827PM_770
    [52] => 1765015101_u680_voice.wav
    [voice_file] => 1765015101_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68703
    [temp_group_table] => contacts_temp_group_68703
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765015397
    [last_credit_update_time] => 1765015397
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81459
\compaign_type : Rans per 25.31524 
ans sms 72
dnd sms 14

require answer perrequire answer per : 15

user answer per : 24
Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='24', `user_busy_sms`='9', `user_congestion_sms`='0', `user_failed_sms`='8', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='14' WHERE `compaign_id`=81459 LIMIT 1 


Time Diff : 3.431

Array
(
    [0] => 81461
    [compaign_id] => 81461
    [1] => u29678
    [user_id] => u29678
    [2] => 68704,
    [group_ids] => 68704,
    [3] => 
    [sender_id] => 
    [4] => 6 DEC.wav
    [filename] => 6 DEC.wav
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765015109
    [start_date] => 1765015109
    [9] => 0
    [end_date] => 0
    [10] => 4477
    [total_sms] => 4477
    [11] => 4477
    [sent_sms] => 4477
    [12] => 0
    [duplicate_sms] => 0
    [13] => 511
    [answered_sms] => 511
    [14] => 313
    [busy_sms] => 313
    [15] => 3
    [congestion_sms] => 3
    [16] => 312
    [failed_sms] => 312
    [17] => 0
    [hangup_sms] => 0
    [18] => 660
    [no_answer_sms] => 660
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1731
    [cutting_sms] => 1731
    [22] => 947
    [dnd_sms] => 947
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 511
    [user_answered_sms] => 511
    [27] => 313
    [user_busy_sms] => 313
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 312
    [user_failed_sms] => 312
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 660
    [user_no_answer_sms] => 660
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 947
    [user_dnd_sms] => 947
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29678
    [created_by] => u29678
    [38] => 0
    [isScheduled] => 0
    [39] => 1765015106
    [create_date] => 1765015106
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765015116,"compaign_read_start_time":1765015117,"compaign_read_complete_time":1765015126,"compaign_send_start_time":1765015146,"compaign_send_complete_time":1765015210}
    [action_time] => {"api_allot_time":1765015116,"compaign_read_start_time":1765015117,"compaign_read_complete_time":1765015126,"compaign_send_start_time":1765015146,"compaign_send_complete_time":1765015210}
    [50] => 0
    [compaign_file] => 0
    [51] => u29678_81461_06122025_032835PM_468
    [common_name] => u29678_81461_06122025_032835PM_468
    [52] => 1765015106_u29678_voice.wav
    [voice_file] => 1765015106_u29678_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68704
    [temp_group_table] => contacts_temp_group_68704
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765015398
    [last_credit_update_time] => 1765015398
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1885
    [user_voice_plan_id] => 1885
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.35
    [pulse_rate] => 0.35
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr53,sr78,u29678
    [uphierarchy] => admin,sr53,sr78,u29678
    [113] => 
    [extra_params_json] => 
)


Compaign : 81461
\compaign_type : Rans per 25.00615 
ans sms 4477
dnd sms 947

require answer perrequire answer per : 883

user answer per : 511
below is the redis data 372 UPDATE voice_compaign_detail_81461 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 372 Total Failed : 1359 no_answer_count : 454 Busy count :349 congestion_count : 162 failed_count : 394UPDATE voice_compaign_detail_81461 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 454 UPDATE voice_compaign_detail_81461 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 349 UPDATE voice_compaign_detail_81461 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 162 UPDATE voice_compaign_detail_81461 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 394 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='883', `user_busy_sms`='662', `user_congestion_sms`='165', `user_failed_sms`='706', `user_hangup_sms`='0', `user_no_answer_sms`='1114', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='947' WHERE `compaign_id`=81461 LIMIT 1 


Time Diff : 0.048

Array
(
    [0] => 81462
    [compaign_id] => 81462
    [1] => u607
    [user_id] => u607
    [2] => 68706,
    [group_ids] => 68706,
    [3] => 
    [sender_id] => 
    [4] => madhu.mp3
    [filename] => madhu.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765015170
    [start_date] => 1765015170
    [9] => 0
    [end_date] => 0
    [10] => 651
    [total_sms] => 651
    [11] => 651
    [sent_sms] => 651
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 68
    [busy_sms] => 68
    [15] => 0
    [congestion_sms] => 0
    [16] => 156
    [failed_sms] => 156
    [17] => 0
    [hangup_sms] => 0
    [18] => 81
    [no_answer_sms] => 81
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 284
    [cutting_sms] => 284
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 68
    [user_busy_sms] => 68
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 156
    [user_failed_sms] => 156
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 81
    [user_no_answer_sms] => 81
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765015170
    [create_date] => 1765015170
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765015176,"compaign_read_start_time":1765015177,"compaign_read_complete_time":1765015181,"compaign_send_start_time":1765015202,"compaign_send_complete_time":1765015204}
    [action_time] => {"api_allot_time":1765015176,"compaign_read_start_time":1765015177,"compaign_read_complete_time":1765015181,"compaign_send_start_time":1765015202,"compaign_send_complete_time":1765015204}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81462_06122025_032935PM_750
    [common_name] => u607_81462_06122025_032935PM_750
    [52] => 1764909279_u607_voice.wav
    [voice_file] => 1764909279_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68706
    [temp_group_table] => contacts_temp_group_68706
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765015398
    [last_credit_update_time] => 1765015398
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81462
\compaign_type : Rans per 29.86342 
ans sms 651
dnd sms 0

require answer perrequire answer per : 195

user answer per : 62
below is the redis data 133 /n/r
only no answer and busy will be convert, total number require 133 /n/r
UPDATE voice_compaign_detail_81462 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 94 UPDATE voice_compaign_detail_81462 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 94 Total Failed : 167 no_answer_count : 56 Busy count :43 congestion_count : 20 failed_count : 48UPDATE voice_compaign_detail_81462 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_81462 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81462 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81462 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='195', `user_busy_sms`='143', `user_congestion_sms`='20', `user_failed_sms`='133', `user_hangup_sms`='0', `user_no_answer_sms`='160', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81462 LIMIT 1 


Time Diff : 0.333

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756301'  
Array
(
    [0] => 81458
    [compaign_id] => 81458
    [1] => sr30
    [user_id] => sr30
    [2] => 68702,
    [group_ids] => 68702,
    [3] => 
    [sender_id] => 
    [4] => AARIF TK MIX WAV (online-audio-converter.com).mp3
    [filename] => AARIF TK MIX WAV (online-audio-converter.com).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765015043
    [start_date] => 1765015043
    [9] => 0
    [end_date] => 0
    [10] => 425
    [total_sms] => 425
    [11] => 425
    [sent_sms] => 425
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 42
    [no_answer_sms] => 42
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 112
    [cutting_sms] => 112
    [22] => 155
    [dnd_sms] => 155
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 42
    [user_no_answer_sms] => 42
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 155
    [user_dnd_sms] => 155
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr30
    [created_by] => sr30
    [38] => 0
    [isScheduled] => 0
    [39] => 1765015043
    [create_date] => 1765015043
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765015186,"compaign_read_start_time":1765015202,"compaign_read_complete_time":1765015204,"compaign_send_start_time":1765015261,"compaign_send_complete_time":1765015262}
    [action_time] => {"api_allot_time":1765015186,"compaign_read_start_time":1765015202,"compaign_read_complete_time":1765015204,"compaign_send_start_time":1765015261,"compaign_send_complete_time":1765015262}
    [50] => 0
    [compaign_file] => 0
    [51] => sr30_81458_06122025_032735PM_117
    [common_name] => sr30_81458_06122025_032735PM_117
    [52] => 1765013559_sr30_voice.wav
    [voice_file] => 1765013559_sr30_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68702
    [temp_group_table] => contacts_temp_group_68702
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765015446
    [last_credit_update_time] => 1765015446
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 62
    [user_voice_plan_id] => 62
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr30
    [uphierarchy] => admin,sr30
    [113] => 
    [extra_params_json] => 
)


Compaign : 81458
\compaign_type : Rans per 29.49965 
ans sms 425
dnd sms 155

require answer perrequire answer per : 80

user answer per : 41
below is the redis data 39 /n/r
only no answer and busy will be convert, total number require 39 /n/r
UPDATE voice_compaign_detail_81458 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81458 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 Total Failed : 72 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_81458 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81458 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81458 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81458 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='80', `user_busy_sms`='54', `user_congestion_sms`='9', `user_failed_sms`='57', `user_hangup_sms`='0', `user_no_answer_sms`='70', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='155' WHERE `compaign_id`=81458 LIMIT 1 


Time Diff : 0.473

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756421'  
Array
(
    [0] => 81444
    [compaign_id] => 81444
    [1] => sr31
    [user_id] => sr31
    [2] => 68690,
    [group_ids] => 68690,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765015200
    [start_date] => 1765015200
    [9] => 0
    [end_date] => 0
    [10] => 140
    [total_sms] => 140
    [11] => 140
    [sent_sms] => 140
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 21
    [no_answer_sms] => 21
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 11
    [cutting_sms] => 11
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 8
    [user_answered_sms] => 8
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 21
    [user_no_answer_sms] => 21
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765014123
    [create_date] => 1765014123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765015206,"compaign_read_start_time":1765015261,"compaign_read_complete_time":1765015262,"compaign_send_start_time":1765015325,"compaign_send_complete_time":1765015326}
    [action_time] => {"api_allot_time":1765015206,"compaign_read_start_time":1765015261,"compaign_read_complete_time":1765015262,"compaign_send_start_time":1765015325,"compaign_send_complete_time":1765015326}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81444_06122025_033005PM_321
    [common_name] => sr31_81444_06122025_033005PM_321
    [52] => 1765001178_sr31_voice.wav
    [voice_file] => 1765001178_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68690
    [temp_group_table] => contacts_temp_group_68690
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765015561
    [last_credit_update_time] => 1765015561
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81444
\compaign_type : Rans per 26.98393 
ans sms 140
dnd sms 69

require answer perrequire answer per : 20

user answer per : 8
below is the redis data 12 /n/r
only no answer and busy will be convert, total number require 12 /n/r
UPDATE voice_compaign_detail_81444 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81444 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9 Total Failed : 4 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_81444 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81444 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81444 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='20', `user_busy_sms`='22', `user_congestion_sms`='0', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='24', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81444 LIMIT 1 


Time Diff : 1.907

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764756961'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 31914
    [total_sms] => 31914
    [11] => 31914
    [sent_sms] => 31914
    [12] => 0
    [duplicate_sms] => 0
    [13] => 332
    [answered_sms] => 332
    [14] => 9869
    [busy_sms] => 9869
    [15] => 2
    [congestion_sms] => 2
    [16] => 20396
    [failed_sms] => 20396
    [17] => 0
    [hangup_sms] => 0
    [18] => 1315
    [no_answer_sms] => 1315
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 334
    [user_answered_sms] => 334
    [27] => 9869
    [user_busy_sms] => 9869
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20396
    [user_failed_sms] => 20396
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1315
    [user_no_answer_sms] => 1315
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 104
    [credit_seq] => 104
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765016111
    [last_credit_update_time] => 1765016111
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.38611 
ans sms 31914
dnd sms 0

require answer perrequire answer per : 9698

user answer per : 334
below is the redis data 9364 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9364 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='334', `user_busy_sms`='9869', `user_congestion_sms`='0', `user_failed_sms`='20396', `user_hangup_sms`='0', `user_no_answer_sms`='1315', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.65

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757202'  
Array
(
    [0] => 81472
    [compaign_id] => 81472
    [1] => sr31
    [user_id] => sr31
    [2] => 68712,
    [group_ids] => 68712,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765016100
    [start_date] => 1765016100
    [9] => 0
    [end_date] => 0
    [10] => 120
    [total_sms] => 120
    [11] => 120
    [sent_sms] => 120
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 13
    [failed_sms] => 13
    [17] => 0
    [hangup_sms] => 0
    [18] => 13
    [no_answer_sms] => 13
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4
    [cutting_sms] => 4
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 13
    [user_failed_sms] => 13
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 13
    [user_no_answer_sms] => 13
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765015922
    [create_date] => 1765015922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765016107,"compaign_read_start_time":1765016108,"compaign_read_complete_time":1765016111,"compaign_send_start_time":1765016161,"compaign_send_complete_time":1765016162}
    [action_time] => {"api_allot_time":1765016107,"compaign_read_start_time":1765016108,"compaign_read_complete_time":1765016111,"compaign_send_start_time":1765016161,"compaign_send_complete_time":1765016162}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81472_06122025_034506PM_422
    [common_name] => sr31_81472_06122025_034506PM_422
    [52] => 1765001178_sr31_voice.wav
    [voice_file] => 1765001178_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68712
    [temp_group_table] => contacts_temp_group_68712
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765016401
    [last_credit_update_time] => 1765016401
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81472
\compaign_type : Rans per 28.3653 
ans sms 120
dnd sms 69

require answer perrequire answer per : 15

user answer per : 6
below is the redis data 9 /n/r
only no answer and busy will be convert, total number require 9 /n/r
UPDATE voice_compaign_detail_81472 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81472 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 1 no_answer_count : 1 Busy count :1 congestion_count : 1 failed_count : -2UPDATE voice_compaign_detail_81472 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81472 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81472 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='15', `user_busy_sms`='18', `user_congestion_sms`='0', `user_failed_sms`='2', `user_hangup_sms`='0', `user_no_answer_sms`='16', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81472 LIMIT 1 


Time Diff : 1.525

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757441'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 32449
    [total_sms] => 32449
    [11] => 32449
    [sent_sms] => 32449
    [12] => 0
    [duplicate_sms] => 0
    [13] => 340
    [answered_sms] => 340
    [14] => 10045
    [busy_sms] => 10045
    [15] => 2
    [congestion_sms] => 2
    [16] => 20711
    [failed_sms] => 20711
    [17] => 0
    [hangup_sms] => 0
    [18] => 1351
    [no_answer_sms] => 1351
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 342
    [user_answered_sms] => 342
    [27] => 10045
    [user_busy_sms] => 10045
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20711
    [user_failed_sms] => 20711
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1351
    [user_no_answer_sms] => 1351
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 106
    [credit_seq] => 106
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765016583
    [last_credit_update_time] => 1765016583
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.85129 
ans sms 32449
dnd sms 0

require answer perrequire answer per : 8713

user answer per : 342
below is the redis data 8371 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8371 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='342', `user_busy_sms`='10045', `user_congestion_sms`='0', `user_failed_sms`='20711', `user_hangup_sms`='0', `user_no_answer_sms`='1351', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.654

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764757981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758161'  
Array
(
    [0] => 81431
    [compaign_id] => 81431
    [1] => u179
    [user_id] => u179
    [2] => 68678,
    [group_ids] => 68678,
    [3] => 
    [sender_id] => 
    [4] => RENEWAL VOICE (1).mp3
    [filename] => RENEWAL VOICE (1).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765017000
    [start_date] => 1765017000
    [9] => 0
    [end_date] => 0
    [10] => 63
    [total_sms] => 63
    [11] => 63
    [sent_sms] => 63
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 16
    [user_no_answer_sms] => 16
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1765012922
    [create_date] => 1765012922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765017006,"compaign_read_start_time":1765017007,"compaign_read_complete_time":1765017008,"compaign_send_start_time":1765017061,"compaign_send_complete_time":1765017062}
    [action_time] => {"api_allot_time":1765017006,"compaign_read_start_time":1765017007,"compaign_read_complete_time":1765017008,"compaign_send_start_time":1765017061,"compaign_send_complete_time":1765017062}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81431_06122025_040005PM_601
    [common_name] => u179_81431_06122025_040005PM_601
    [52] => 1731645953_u179_voice.wav
    [voice_file] => 1731645953_u179_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68678
    [temp_group_table] => contacts_temp_group_68678
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765017302
    [last_credit_update_time] => 1765017302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 81431
\compaign_type : Rans per 28.82728 
ans sms 63
dnd sms 13

require answer perrequire answer per : 15

user answer per : 11
below is the redis data 4 /n/r
only no answer and busy will be convert, total number require 4 /n/r
UPDATE voice_compaign_detail_81431 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81431 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='15', `user_busy_sms`='16', `user_congestion_sms`='0', `user_failed_sms`='2', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81431 LIMIT 1 


Time Diff : 3.825

Array
(
    [0] => 81457
    [compaign_id] => 81457
    [1] => u680
    [user_id] => u680
    [2] => 68701,
    [group_ids] => 68701,
    [3] => 
    [sender_id] => 
    [4] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [filename] => AUDIO-2025-12-06-12-19-12 (online-audio-converter.com).wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765017000
    [start_date] => 1765017000
    [9] => 0
    [end_date] => 0
    [10] => 467
    [total_sms] => 467
    [11] => 467
    [sent_sms] => 467
    [12] => 0
    [duplicate_sms] => 0
    [13] => 90
    [answered_sms] => 90
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 29
    [failed_sms] => 29
    [17] => 0
    [hangup_sms] => 0
    [18] => 90
    [no_answer_sms] => 90
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 159
    [cutting_sms] => 159
    [22] => 57
    [dnd_sms] => 57
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 90
    [user_answered_sms] => 90
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 29
    [user_failed_sms] => 29
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 90
    [user_no_answer_sms] => 90
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 57
    [user_dnd_sms] => 57
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 1
    [isScheduled] => 1
    [39] => 1765014999
    [create_date] => 1765014999
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765017006,"compaign_read_start_time":1765017010,"compaign_read_complete_time":1765017011,"compaign_send_start_time":1765017061,"compaign_send_complete_time":1765017063}
    [action_time] => {"api_allot_time":1765017006,"compaign_read_start_time":1765017010,"compaign_read_complete_time":1765017011,"compaign_send_start_time":1765017061,"compaign_send_complete_time":1765017063}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81457_06122025_040005PM_253
    [common_name] => u680_81457_06122025_040005PM_253
    [52] => 1765014998_u680_voice.wav
    [voice_file] => 1765014998_u680_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68701
    [temp_group_table] => contacts_temp_group_68701
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765017302
    [last_credit_update_time] => 1765017302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1120
    [user_voice_plan_id] => 1120
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u680
    [uphierarchy] => admin,sr95,u680
    [113] => 
    [extra_params_json] => 
)


Compaign : 81457
\compaign_type : Rans per 29.33556 
ans sms 467
dnd sms 57

require answer perrequire answer per : 121

user answer per : 90
below is the redis data 31 /n/r
only no answer and busy will be convert, total number require 31 /n/r
UPDATE voice_compaign_detail_81457 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81457 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 Total Failed : 121 no_answer_count : 41 Busy count :32 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_81457 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81457 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81457 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81457 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='121', `user_busy_sms`='86', `user_congestion_sms`='15', `user_failed_sms`='56', `user_hangup_sms`='0', `user_no_answer_sms`='132', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='57' WHERE `compaign_id`=81457 LIMIT 1 


Time Diff : 0.516

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758282'  
Array
(
    [0] => 81475
    [compaign_id] => 81475
    [1] => u29695
    [user_id] => u29695
    [2] => 68714,
    [group_ids] => 68714,
    [3] => 
    [sender_id] => 
    [4] => Gunjili DV.mp3
    [filename] => Gunjili DV.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765017123
    [start_date] => 1765017123
    [9] => 0
    [end_date] => 0
    [10] => 240
    [total_sms] => 240
    [11] => 240
    [sent_sms] => 240
    [12] => 0
    [duplicate_sms] => 0
    [13] => 61
    [answered_sms] => 61
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 44
    [no_answer_sms] => 44
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 72
    [cutting_sms] => 72
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 61
    [user_answered_sms] => 61
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 44
    [user_no_answer_sms] => 44
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765017123
    [create_date] => 1765017123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765017128,"compaign_read_start_time":1765017131,"compaign_read_complete_time":1765017131,"compaign_send_start_time":1765017181,"compaign_send_complete_time":1765017184}
    [action_time] => {"api_allot_time":1765017128,"compaign_read_start_time":1765017131,"compaign_read_complete_time":1765017131,"compaign_send_start_time":1765017181,"compaign_send_complete_time":1765017184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81475_06122025_040208PM_412
    [common_name] => u29695_81475_06122025_040208PM_412
    [52] => 1764998779_u29695_voice.wav
    [voice_file] => 1764998779_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68714
    [temp_group_table] => contacts_temp_group_68714
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765017422
    [last_credit_update_time] => 1765017422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81475
\compaign_type : Rans per 26.1698 
ans sms 240
dnd sms 0

require answer perrequire answer per : 63

user answer per : 61
below is the redis data 2 UPDATE voice_compaign_detail_81475 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2 Total Failed : 70 no_answer_count : 24 Busy count :18 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_81475 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81475 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81475 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81475 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='63', `user_busy_sms`='37', `user_congestion_sms`='9', `user_failed_sms`='63', `user_hangup_sms`='0', `user_no_answer_sms`='68', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81475 LIMIT 1 


Time Diff : 1.008

Array
(
    [0] => 81476
    [compaign_id] => 81476
    [1] => u29695
    [user_id] => u29695
    [2] => 68713,
    [group_ids] => 68713,
    [3] => 
    [sender_id] => 
    [4] => Deekampally CV.mp3
    [filename] => Deekampally CV.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765017124
    [start_date] => 1765017124
    [9] => 0
    [end_date] => 0
    [10] => 457
    [total_sms] => 457
    [11] => 457
    [sent_sms] => 457
    [12] => 0
    [duplicate_sms] => 0
    [13] => 63
    [answered_sms] => 63
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 134
    [failed_sms] => 134
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 187
    [cutting_sms] => 187
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 63
    [user_answered_sms] => 63
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 134
    [user_failed_sms] => 134
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 38
    [user_no_answer_sms] => 38
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765017124
    [create_date] => 1765017124
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765017130,"compaign_read_start_time":1765017134,"compaign_read_complete_time":1765017134,"compaign_send_start_time":1765017181,"compaign_send_complete_time":1765017184}
    [action_time] => {"api_allot_time":1765017130,"compaign_read_start_time":1765017134,"compaign_read_complete_time":1765017134,"compaign_send_start_time":1765017181,"compaign_send_complete_time":1765017184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81476_06122025_040210PM_486
    [common_name] => u29695_81476_06122025_040210PM_486
    [52] => 1765014141_u29695_voice.wav
    [voice_file] => 1765014141_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68713
    [temp_group_table] => contacts_temp_group_68713
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765017422
    [last_credit_update_time] => 1765017422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81476
\compaign_type : Rans per 29.46663 
ans sms 457
dnd sms 0

require answer perrequire answer per : 135

user answer per : 63
below is the redis data 72 UPDATE voice_compaign_detail_81476 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 72 Total Failed : 115 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 32UPDATE voice_compaign_detail_81476 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81476 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81476 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81476 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='135', `user_busy_sms`='65', `user_congestion_sms`='14', `user_failed_sms`='166', `user_hangup_sms`='0', `user_no_answer_sms`='77', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81476 LIMIT 1 


Time Diff : 0.53

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758882'  
Array
(
    [0] => 81481
    [compaign_id] => 81481
    [1] => u83
    [user_id] => u83
    [2] => 68719,
    [group_ids] => 68719,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765017723
    [start_date] => 1765017723
    [9] => 0
    [end_date] => 0
    [10] => 315
    [total_sms] => 315
    [11] => 315
    [sent_sms] => 315
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 42
    [failed_sms] => 42
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 73
    [cutting_sms] => 73
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 20
    [user_answered_sms] => 20
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 42
    [user_failed_sms] => 42
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 35
    [user_no_answer_sms] => 35
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765017723
    [create_date] => 1765017723
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765017730,"compaign_read_start_time":1765017731,"compaign_read_complete_time":1765017732,"compaign_send_start_time":1765017781,"compaign_send_complete_time":1765017782}
    [action_time] => {"api_allot_time":1765017730,"compaign_read_start_time":1765017731,"compaign_read_complete_time":1765017732,"compaign_send_start_time":1765017781,"compaign_send_complete_time":1765017782}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81481_06122025_041210PM_659
    [common_name] => u83_81481_06122025_041210PM_659
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68719
    [temp_group_table] => contacts_temp_group_68719
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765018022
    [last_credit_update_time] => 1765018022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81481
\compaign_type : Rans per 29.86974 
ans sms 315
dnd sms 120

require answer perrequire answer per : 59

user answer per : 20
below is the redis data 39 /n/r
only no answer and busy will be convert, total number require 39 /n/r
UPDATE voice_compaign_detail_81481 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81481 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 30 Total Failed : 34 no_answer_count : 12 Busy count :9 congestion_count : 5 failed_count : 8UPDATE voice_compaign_detail_81481 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81481 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81481 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81481 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='59', `user_busy_sms`='50', `user_congestion_sms`='5', `user_failed_sms`='29', `user_hangup_sms`='0', `user_no_answer_sms`='52', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81481 LIMIT 1 


Time Diff : 0.768

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764758941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759122'  
Array
(
    [0] => 81482
    [compaign_id] => 81482
    [1] => u371
    [user_id] => u371
    [2] => 68720,
    [group_ids] => 68720,
    [3] => 
    [sender_id] => 
    [4] => Nagepur CV S.mp3
    [filename] => Nagepur CV S.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765017949
    [start_date] => 1765017949
    [9] => 0
    [end_date] => 0
    [10] => 196
    [total_sms] => 196
    [11] => 196
    [sent_sms] => 196
    [12] => 0
    [duplicate_sms] => 0
    [13] => 59
    [answered_sms] => 59
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 34
    [failed_sms] => 34
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 47
    [cutting_sms] => 47
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 59
    [user_answered_sms] => 59
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34
    [user_failed_sms] => 34
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 31
    [user_no_answer_sms] => 31
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765017949
    [create_date] => 1765017949
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765017962,"compaign_read_start_time":1765017964,"compaign_read_complete_time":1765017964,"compaign_send_start_time":1765018022,"compaign_send_complete_time":1765018032}
    [action_time] => {"api_allot_time":1765017962,"compaign_read_start_time":1765017964,"compaign_read_complete_time":1765017964,"compaign_send_start_time":1765018022,"compaign_send_complete_time":1765018032}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81482_06122025_041602PM_657
    [common_name] => u371_81482_06122025_041602PM_657
    [52] => 1765017285_u371_voice.wav
    [voice_file] => 1765017285_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68720
    [temp_group_table] => contacts_temp_group_68720
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765018262
    [last_credit_update_time] => 1765018262
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81482
\compaign_type : Rans per 27.19331 
ans sms 196
dnd sms 0

require answer perrequire answer per : 54

user answer per : 59
Total Failed : 47 no_answer_count : 16 Busy count :13 congestion_count : 6 failed_count : 12UPDATE voice_compaign_detail_81482 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81482 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81482 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81482 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='59', `user_busy_sms`='38', `user_congestion_sms`='6', `user_failed_sms`='46', `user_hangup_sms`='0', `user_no_answer_sms`='47', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81482 LIMIT 1 


Time Diff : 1.23

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764759961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760321'  
Array
(
    [0] => 81489
    [compaign_id] => 81489
    [1] => u29722
    [user_id] => u29722
    [2] => 68725,
    [group_ids] => 68725,
    [3] => 
    [sender_id] => 
    [4] => Padigela Srinivas.mp3
    [filename] => Padigela Srinivas.mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765019243
    [start_date] => 1765019243
    [9] => 0
    [end_date] => 0
    [10] => 3069
    [total_sms] => 3069
    [11] => 3069
    [sent_sms] => 3069
    [12] => 0
    [duplicate_sms] => 0
    [13] => 195
    [answered_sms] => 195
    [14] => 154
    [busy_sms] => 154
    [15] => 1
    [congestion_sms] => 1
    [16] => 1098
    [failed_sms] => 1098
    [17] => 0
    [hangup_sms] => 0
    [18] => 195
    [no_answer_sms] => 195
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1426
    [cutting_sms] => 1426
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 195
    [user_answered_sms] => 195
    [27] => 154
    [user_busy_sms] => 154
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 1098
    [user_failed_sms] => 1098
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 195
    [user_no_answer_sms] => 195
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765019243
    [create_date] => 1765019243
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765019250,"compaign_read_start_time":1765019251,"compaign_read_complete_time":1765019256,"compaign_send_start_time":1765019282,"compaign_send_complete_time":1765019288}
    [action_time] => {"api_allot_time":1765019250,"compaign_read_start_time":1765019251,"compaign_read_complete_time":1765019256,"compaign_send_start_time":1765019282,"compaign_send_complete_time":1765019288}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81489_06122025_043729PM_466
    [common_name] => u29722_81489_06122025_043729PM_466
    [52] => 1764995711_u29722_voice.wav
    [voice_file] => 1764995711_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68725
    [temp_group_table] => contacts_temp_group_68725
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765019521
    [last_credit_update_time] => 1765019521
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81489
\compaign_type : Rans per 30.47784 
ans sms 3069
dnd sms 0

require answer perrequire answer per : 936

user answer per : 195
below is the redis data 741 UPDATE voice_compaign_detail_81489 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 741 Total Failed : 685 no_answer_count : 229 Busy count :176 congestion_count : 82 failed_count : 198UPDATE voice_compaign_detail_81489 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 229 UPDATE voice_compaign_detail_81489 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 176 UPDATE voice_compaign_detail_81489 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_81489 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 198 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='936', `user_busy_sms`='330', `user_congestion_sms`='83', `user_failed_sms`='1296', `user_hangup_sms`='0', `user_no_answer_sms`='424', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81489 LIMIT 1 


Time Diff : 0.059

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760561'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 36121
    [total_sms] => 36121
    [11] => 36121
    [sent_sms] => 36121
    [12] => 0
    [duplicate_sms] => 0
    [13] => 373
    [answered_sms] => 373
    [14] => 11407
    [busy_sms] => 11407
    [15] => 2
    [congestion_sms] => 2
    [16] => 22805
    [failed_sms] => 22805
    [17] => 0
    [hangup_sms] => 0
    [18] => 1534
    [no_answer_sms] => 1534
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 375
    [user_answered_sms] => 375
    [27] => 11407
    [user_busy_sms] => 11407
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22805
    [user_failed_sms] => 22805
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1534
    [user_no_answer_sms] => 1534
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 119
    [credit_seq] => 119
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765019705
    [last_credit_update_time] => 1765019705
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.31651 
ans sms 36121
dnd sms 0

require answer perrequire answer per : 9506

user answer per : 375
below is the redis data 9131 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9131 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='375', `user_busy_sms`='11407', `user_congestion_sms`='0', `user_failed_sms`='22805', `user_hangup_sms`='0', `user_no_answer_sms`='1534', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.674

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764760921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761000'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761042'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 36650
    [total_sms] => 36650
    [11] => 36650
    [sent_sms] => 36650
    [12] => 0
    [duplicate_sms] => 0
    [13] => 379
    [answered_sms] => 379
    [14] => 11609
    [busy_sms] => 11609
    [15] => 2
    [congestion_sms] => 2
    [16] => 23104
    [failed_sms] => 23104
    [17] => 0
    [hangup_sms] => 0
    [18] => 1556
    [no_answer_sms] => 1556
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 381
    [user_answered_sms] => 381
    [27] => 11609
    [user_busy_sms] => 11609
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 23104
    [user_failed_sms] => 23104
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1556
    [user_no_answer_sms] => 1556
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 121
    [credit_seq] => 121
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765020201
    [last_credit_update_time] => 1765020201
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.31654 
ans sms 36650
dnd sms 0

require answer perrequire answer per : 10745

user answer per : 381
below is the redis data 10364 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10364 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='381', `user_busy_sms`='11609', `user_congestion_sms`='0', `user_failed_sms`='23104', `user_hangup_sms`='0', `user_no_answer_sms`='1556', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.677

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761821'  
Array
(
    [0] => 81503
    [compaign_id] => 81503
    [1] => sr30
    [user_id] => sr30
    [2] => 68737,
    [group_ids] => 68737,
    [3] => 
    [sender_id] => 
    [4] => AARIF TK MIX WAV (online-audio-converter.com).mp3
    [filename] => AARIF TK MIX WAV (online-audio-converter.com).mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765020731
    [start_date] => 1765020731
    [9] => 0
    [end_date] => 0
    [10] => 345
    [total_sms] => 345
    [11] => 345
    [sent_sms] => 345
    [12] => 0
    [duplicate_sms] => 0
    [13] => 21
    [answered_sms] => 21
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 57
    [failed_sms] => 57
    [17] => 0
    [hangup_sms] => 0
    [18] => 21
    [no_answer_sms] => 21
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 81
    [cutting_sms] => 81
    [22] => 155
    [dnd_sms] => 155
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 21
    [user_answered_sms] => 21
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 57
    [user_failed_sms] => 57
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 21
    [user_no_answer_sms] => 21
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 155
    [user_dnd_sms] => 155
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr30
    [created_by] => sr30
    [38] => 0
    [isScheduled] => 0
    [39] => 1765020731
    [create_date] => 1765020731
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765020737,"compaign_read_start_time":1765020737,"compaign_read_complete_time":1765020738,"compaign_send_start_time":1765020782,"compaign_send_complete_time":1765020782}
    [action_time] => {"api_allot_time":1765020737,"compaign_read_start_time":1765020737,"compaign_read_complete_time":1765020738,"compaign_send_start_time":1765020782,"compaign_send_complete_time":1765020782}
    [50] => 0
    [compaign_file] => 0
    [51] => sr30_81503_06122025_050216PM_414
    [common_name] => sr30_81503_06122025_050216PM_414
    [52] => 1765013559_sr30_voice.wav
    [voice_file] => 1765013559_sr30_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68737
    [temp_group_table] => contacts_temp_group_68737
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765020962
    [last_credit_update_time] => 1765020962
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 62
    [user_voice_plan_id] => 62
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr30
    [uphierarchy] => admin,sr30
    [113] => 
    [extra_params_json] => 
)


Compaign : 81503
\compaign_type : Rans per 26.7293 
ans sms 345
dnd sms 155

require answer perrequire answer per : 51

user answer per : 21
below is the redis data 30 /n/r
only no answer and busy will be convert, total number require 30 /n/r
UPDATE voice_compaign_detail_81503 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81503 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 Total Failed : 56 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_81503 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81503 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81503 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81503 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='51', `user_busy_sms`='37', `user_congestion_sms`='7', `user_failed_sms`='53', `user_hangup_sms`='0', `user_no_answer_sms`='42', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='155' WHERE `compaign_id`=81503 LIMIT 1 


Time Diff : 0.516

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764761942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762121'  
Array
(
    [0] => 81509
    [compaign_id] => 81509
    [1] => u83
    [user_id] => u83
    [2] => 68742,
    [group_ids] => 68742,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021022
    [start_date] => 1765021022
    [9] => 0
    [end_date] => 0
    [10] => 256
    [total_sms] => 256
    [11] => 256
    [sent_sms] => 256
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 51
    [cutting_sms] => 51
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 14
    [user_no_answer_sms] => 14
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021022
    [create_date] => 1765021022
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021027,"compaign_read_start_time":1765021030,"compaign_read_complete_time":1765021031,"compaign_send_start_time":1765021082,"compaign_send_complete_time":1765021083}
    [action_time] => {"api_allot_time":1765021027,"compaign_read_start_time":1765021030,"compaign_read_complete_time":1765021031,"compaign_send_start_time":1765021082,"compaign_send_complete_time":1765021083}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81509_06122025_050707PM_194
    [common_name] => u83_81509_06122025_050707PM_194
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68742
    [temp_group_table] => contacts_temp_group_68742
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765021262
    [last_credit_update_time] => 1765021262
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81509
\compaign_type : Rans per 28.67803 
ans sms 256
dnd sms 120

require answer perrequire answer per : 40

user answer per : 14
below is the redis data 26 /n/r
only no answer and busy will be convert, total number require 26 /n/r
UPDATE voice_compaign_detail_81509 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81509 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 21 Total Failed : 27 no_answer_count : 10 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_81509 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81509 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81509 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81509 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='40', `user_busy_sms`='34', `user_congestion_sms`='4', `user_failed_sms`='25', `user_hangup_sms`='0', `user_no_answer_sms`='33', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81509 LIMIT 1 


Time Diff : 0.824

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762242'  
Array
(
    [0] => 81508
    [compaign_id] => 81508
    [1] => u82
    [user_id] => u82
    [2] => 68741,
    [group_ids] => 68741,
    [3] => 
    [sender_id] => 
    [4] => 3dward Ekkaram.mp3
    [filename] => 3dward Ekkaram.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765020958
    [start_date] => 1765020958
    [9] => 0
    [end_date] => 0
    [10] => 117
    [total_sms] => 117
    [11] => 117
    [sent_sms] => 117
    [12] => 0
    [duplicate_sms] => 0
    [13] => 43
    [answered_sms] => 43
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 7
    [failed_sms] => 7
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5
    [cutting_sms] => 5
    [22] => 17
    [dnd_sms] => 17
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 43
    [user_answered_sms] => 43
    [27] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 7
    [user_failed_sms] => 7
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 22
    [user_no_answer_sms] => 22
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 17
    [user_dnd_sms] => 17
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u82
    [created_by] => u82
    [38] => 0
    [isScheduled] => 0
    [39] => 1765020958
    [create_date] => 1765020958
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021095,"compaign_read_start_time":1765021096,"compaign_read_complete_time":1765021097,"compaign_send_start_time":1765021142,"compaign_send_complete_time":1765021143}
    [action_time] => {"api_allot_time":1765021095,"compaign_read_start_time":1765021096,"compaign_read_complete_time":1765021097,"compaign_send_start_time":1765021142,"compaign_send_complete_time":1765021143}
    [50] => 0
    [compaign_file] => 0
    [51] => u82_81508_06122025_050604PM_719
    [common_name] => u82_81508_06122025_050604PM_719
    [52] => 1765020795_u82_voice.wav
    [voice_file] => 1765020795_u82_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68741
    [temp_group_table] => contacts_temp_group_68741
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765021381
    [last_credit_update_time] => 1765021381
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 155
    [user_voice_plan_id] => 155
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u82
    [uphierarchy] => admin,sr51,u82
    [113] => 
    [extra_params_json] => 
)


Compaign : 81508
\compaign_type : Rans per 30.16595 
ans sms 117
dnd sms 17

require answer perrequire answer per : 31

user answer per : 43
Total Failed : 5 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_81508 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81508 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81508 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='43', `user_busy_sms`='25', `user_congestion_sms`='1', `user_failed_sms`='7', `user_hangup_sms`='0', `user_no_answer_sms`='24', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='17' WHERE `compaign_id`=81508 LIMIT 1 


Time Diff : 2.325

Array
(
    [0] => 81510
    [compaign_id] => 81510
    [1] => u29695
    [user_id] => u29695
    [2] => 68743,
    [group_ids] => 68743,
    [3] => 
    [sender_id] => 
    [4] => NDP Mahipal CV.mp3
    [filename] => NDP Mahipal CV.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021032
    [start_date] => 1765021032
    [9] => 0
    [end_date] => 0
    [10] => 6069
    [total_sms] => 6069
    [11] => 6069
    [sent_sms] => 6069
    [12] => 0
    [duplicate_sms] => 0
    [13] => 771
    [answered_sms] => 771
    [14] => 383
    [busy_sms] => 383
    [15] => 0
    [congestion_sms] => 0
    [16] => 1390
    [failed_sms] => 1390
    [17] => 0
    [hangup_sms] => 0
    [18] => 656
    [no_answer_sms] => 656
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2869
    [cutting_sms] => 2869
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 771
    [user_answered_sms] => 771
    [27] => 383
    [user_busy_sms] => 383
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1390
    [user_failed_sms] => 1390
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 656
    [user_no_answer_sms] => 656
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021028
    [create_date] => 1765021028
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021102,"compaign_read_start_time":1765021102,"compaign_read_complete_time":1765021112,"compaign_send_start_time":1765021142,"compaign_send_complete_time":1765021162}
    [action_time] => {"api_allot_time":1765021102,"compaign_read_start_time":1765021102,"compaign_read_complete_time":1765021112,"compaign_send_start_time":1765021142,"compaign_send_complete_time":1765021162}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81510_06122025_050717PM_500
    [common_name] => u29695_81510_06122025_050717PM_500
    [52] => 1765021028_u29695_voice.wav
    [voice_file] => 1765021028_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68743
    [temp_group_table] => contacts_temp_group_68743
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765021381
    [last_credit_update_time] => 1765021381
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81510
\compaign_type : Rans per 28.85713 
ans sms 6069
dnd sms 0

require answer perrequire answer per : 1752

user answer per : 771
below is the redis data 981 UPDATE voice_compaign_detail_81510 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 981 Total Failed : 1888 no_answer_count : 630 Busy count :485 congestion_count : 225 failed_count : 548UPDATE voice_compaign_detail_81510 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 630 UPDATE voice_compaign_detail_81510 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 485 UPDATE voice_compaign_detail_81510 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 225 UPDATE voice_compaign_detail_81510 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 548 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1752', `user_busy_sms`='868', `user_congestion_sms`='225', `user_failed_sms`='1938', `user_hangup_sms`='0', `user_no_answer_sms`='1286', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81510 LIMIT 1 


Time Diff : 0.04

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762421'  
Array
(
    [0] => 81511
    [compaign_id] => 81511
    [1] => u29720
    [user_id] => u29720
    [2] => 68744,
    [group_ids] => 68744,
    [3] => 
    [sender_id] => 
    [4] => Gandhinagar.mp3
    [filename] => Gandhinagar.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021306
    [start_date] => 1765021306
    [9] => 0
    [end_date] => 0
    [10] => 370
    [total_sms] => 370
    [11] => 370
    [sent_sms] => 370
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 80
    [no_answer_sms] => 80
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 109
    [cutting_sms] => 109
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 80
    [user_no_answer_sms] => 80
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 44
    [user_dnd_sms] => 44
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021305
    [create_date] => 1765021305
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021322,"compaign_read_start_time":1765021324,"compaign_read_complete_time":1765021325,"compaign_send_start_time":1765021381,"compaign_send_complete_time":1765021383}
    [action_time] => {"api_allot_time":1765021322,"compaign_read_start_time":1765021324,"compaign_read_complete_time":1765021325,"compaign_send_start_time":1765021381,"compaign_send_complete_time":1765021383}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81511_06122025_051201PM_432
    [common_name] => u29720_81511_06122025_051201PM_432
    [52] => 1765021305_u29720_voice.wav
    [voice_file] => 1765021305_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68744
    [temp_group_table] => contacts_temp_group_68744
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765021502
    [reschedule_last_check_time] => 1765021502
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765021562
    [last_credit_update_time] => 1765021562
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81511
\compaign_type : Rans per 26.27994 
ans sms 370
dnd sms 44

require answer perrequire answer per : 86

user answer per : 62
below is the redis data 24 UPDATE voice_compaign_detail_81511 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 24 Total Failed : 85 no_answer_count : 29 Busy count :22 congestion_count : 11 failed_count : 23UPDATE voice_compaign_detail_81511 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81511 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81511 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81511 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='86', `user_busy_sms`='53', `user_congestion_sms`='11', `user_failed_sms`='67', `user_hangup_sms`='0', `user_no_answer_sms`='109', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=81511 LIMIT 1 


Time Diff : 0.573

Array
(
    [0] => 81512
    [compaign_id] => 81512
    [1] => u607
    [user_id] => u607
    [2] => 68745,
    [group_ids] => 68745,
    [3] => 
    [sender_id] => 
    [4] => sunitha rudrur.mp3(1)
    [filename] => sunitha rudrur.mp3(1)
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021352
    [start_date] => 1765021352
    [9] => 0
    [end_date] => 0
    [10] => 6995
    [total_sms] => 6995
    [11] => 6995
    [sent_sms] => 6995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 544
    [answered_sms] => 544
    [14] => 394
    [busy_sms] => 394
    [15] => 2
    [congestion_sms] => 2
    [16] => 1421
    [failed_sms] => 1421
    [17] => 0
    [hangup_sms] => 0
    [18] => 436
    [no_answer_sms] => 436
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3192
    [cutting_sms] => 3192
    [22] => 1006
    [dnd_sms] => 1006
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 544
    [user_answered_sms] => 544
    [27] => 394
    [user_busy_sms] => 394
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 1421
    [user_failed_sms] => 1421
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 436
    [user_no_answer_sms] => 436
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1006
    [user_dnd_sms] => 1006
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021348
    [create_date] => 1765021348
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021358,"compaign_read_start_time":1765021360,"compaign_read_complete_time":1765021378,"compaign_send_start_time":1765021381,"compaign_send_complete_time":1765021393}
    [action_time] => {"api_allot_time":1765021358,"compaign_read_start_time":1765021360,"compaign_read_complete_time":1765021378,"compaign_send_start_time":1765021381,"compaign_send_complete_time":1765021393}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81512_06122025_051237PM_669
    [common_name] => u607_81512_06122025_051237PM_669
    [52] => 1764995132_u607_voice.wav
    [voice_file] => 1764995132_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68745
    [temp_group_table] => contacts_temp_group_68745
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765021502
    [reschedule_last_check_time] => 1765021502
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765021562
    [last_credit_update_time] => 1765021562
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765023300}
    [rt_time] => {"1":1765023300}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81512
\compaign_type : Rans per 25.25736 
ans sms 6995
dnd sms 1006

require answer perrequire answer per : 1513

user answer per : 544
below is the redis data 969 /n/r
only no answer and busy will be convert, total number require 969 /n/r
UPDATE voice_compaign_detail_81512 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 698 UPDATE voice_compaign_detail_81512 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 698 Total Failed : 2244 no_answer_count : 749 Busy count :576 congestion_count : 267 failed_count : 652UPDATE voice_compaign_detail_81512 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 749 UPDATE voice_compaign_detail_81512 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 576 UPDATE voice_compaign_detail_81512 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 267 UPDATE voice_compaign_detail_81512 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 652 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1374', `user_busy_sms`='1274', `user_congestion_sms`='269', `user_failed_sms`='1625', `user_hangup_sms`='0', `user_no_answer_sms`='1447', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1006' WHERE `compaign_id`=81512 LIMIT 1 


Time Diff : 0.03

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762662'  
Array
(
    [0] => 81514
    [compaign_id] => 81514
    [1] => u607
    [user_id] => u607
    [2] => 68747,
    [group_ids] => 68747,
    [3] => 
    [sender_id] => 
    [4] => basker (online-audio-converter.com).mp3
    [filename] => basker (online-audio-converter.com).mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021583
    [start_date] => 1765021583
    [9] => 0
    [end_date] => 0
    [10] => 359
    [total_sms] => 359
    [11] => 359
    [sent_sms] => 359
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 40
    [busy_sms] => 40
    [15] => 0
    [congestion_sms] => 0
    [16] => 46
    [failed_sms] => 46
    [17] => 0
    [hangup_sms] => 0
    [18] => 39
    [no_answer_sms] => 39
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 124
    [cutting_sms] => 124
    [22] => 56
    [dnd_sms] => 56
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 40
    [user_busy_sms] => 40
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 46
    [user_failed_sms] => 46
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 39
    [user_no_answer_sms] => 39
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 56
    [user_dnd_sms] => 56
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021583
    [create_date] => 1765021583
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021588,"compaign_read_start_time":1765021589,"compaign_read_complete_time":1765021589,"compaign_send_start_time":1765021621,"compaign_send_complete_time":1765021622}
    [action_time] => {"api_allot_time":1765021588,"compaign_read_start_time":1765021589,"compaign_read_complete_time":1765021589,"compaign_send_start_time":1765021621,"compaign_send_complete_time":1765021622}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81514_06122025_051628PM_658
    [common_name] => u607_81514_06122025_051628PM_658
    [52] => 1764909617_u607_voice.wav
    [voice_file] => 1764909617_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68747
    [temp_group_table] => contacts_temp_group_68747
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765021802
    [reschedule_last_check_time] => 1765021802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765021861
    [last_credit_update_time] => 1765021861
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765023300}
    [rt_time] => {"1":1765023300}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81514
\compaign_type : Rans per 26.24268 
ans sms 359
dnd sms 56

require answer perrequire answer per : 80

user answer per : 54
below is the redis data 26 /n/r
only no answer and busy will be convert, total number require 26 /n/r
UPDATE voice_compaign_detail_81514 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81514 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 Total Failed : 94 no_answer_count : 32 Busy count :25 congestion_count : 12 failed_count : 25UPDATE voice_compaign_detail_81514 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81514 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81514 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81514 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='80', `user_busy_sms`='71', `user_congestion_sms`='12', `user_failed_sms`='61', `user_hangup_sms`='0', `user_no_answer_sms`='79', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='56' WHERE `compaign_id`=81514 LIMIT 1 


Time Diff : 0.593

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762781'  
Array
(
    [0] => 81513
    [compaign_id] => 81513
    [1] => u607
    [user_id] => u607
    [2] => 68746,
    [group_ids] => 68746,
    [3] => 
    [sender_id] => 
    [4] => madhu.mp3
    [filename] => madhu.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021477
    [start_date] => 1765021477
    [9] => 0
    [end_date] => 0
    [10] => 2437
    [total_sms] => 2437
    [11] => 2437
    [sent_sms] => 2437
    [12] => 0
    [duplicate_sms] => 0
    [13] => 247
    [answered_sms] => 247
    [14] => 171
    [busy_sms] => 171
    [15] => 0
    [congestion_sms] => 0
    [16] => 305
    [failed_sms] => 305
    [17] => 0
    [hangup_sms] => 0
    [18] => 252
    [no_answer_sms] => 252
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 875
    [cutting_sms] => 875
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 247
    [user_answered_sms] => 247
    [27] => 171
    [user_busy_sms] => 171
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 305
    [user_failed_sms] => 305
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 252
    [user_no_answer_sms] => 252
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 587
    [user_dnd_sms] => 587
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021476
    [create_date] => 1765021476
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021612,"compaign_read_start_time":1765021621,"compaign_read_complete_time":1765021627,"compaign_send_start_time":1765021682,"compaign_send_complete_time":1765021685}
    [action_time] => {"api_allot_time":1765021612,"compaign_read_start_time":1765021621,"compaign_read_complete_time":1765021627,"compaign_send_start_time":1765021682,"compaign_send_complete_time":1765021685}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81513_06122025_051442PM_484
    [common_name] => u607_81513_06122025_051442PM_484
    [52] => 1764909279_u607_voice.wav
    [voice_file] => 1764909279_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68746
    [temp_group_table] => contacts_temp_group_68746
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765021802
    [reschedule_last_check_time] => 1765021802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765021922
    [last_credit_update_time] => 1765021922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765024200}
    [rt_time] => {"1":1765024200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81513
\compaign_type : Rans per 26.14345 
ans sms 2437
dnd sms 587

require answer perrequire answer per : 484

user answer per : 247
below is the redis data 237 /n/r
only no answer and busy will be convert, total number require 237 /n/r
UPDATE voice_compaign_detail_81513 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 174 UPDATE voice_compaign_detail_81513 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 174 Total Failed : 603 no_answer_count : 202 Busy count :155 congestion_count : 72 failed_count : 174UPDATE voice_compaign_detail_81513 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 202 UPDATE voice_compaign_detail_81513 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 UPDATE voice_compaign_detail_81513 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81513 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 174 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='484', `user_busy_sms`='398', `user_congestion_sms`='72', `user_failed_sms`='403', `user_hangup_sms`='0', `user_no_answer_sms`='493', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81513 LIMIT 1 


Time Diff : 0.111

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764762961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763022'  
Array
(
    [0] => 81515
    [compaign_id] => 81515
    [1] => u607
    [user_id] => u607
    [2] => 68748,
    [group_ids] => 68748,
    [3] => 
    [sender_id] => 
    [4] => enkepalli.mp3
    [filename] => enkepalli.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021878
    [start_date] => 1765021878
    [9] => 0
    [end_date] => 0
    [10] => 518
    [total_sms] => 518
    [11] => 518
    [sent_sms] => 518
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 82
    [failed_sms] => 82
    [17] => 0
    [hangup_sms] => 0
    [18] => 39
    [no_answer_sms] => 39
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 192
    [cutting_sms] => 192
    [22] => 84
    [dnd_sms] => 84
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 78
    [user_answered_sms] => 78
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 82
    [user_failed_sms] => 82
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 39
    [user_no_answer_sms] => 39
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 84
    [user_dnd_sms] => 84
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021877
    [create_date] => 1765021877
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021884,"compaign_read_start_time":1765021885,"compaign_read_complete_time":1765021886,"compaign_send_start_time":1765021922,"compaign_send_complete_time":1765021923}
    [action_time] => {"api_allot_time":1765021884,"compaign_read_start_time":1765021885,"compaign_read_complete_time":1765021886,"compaign_send_start_time":1765021922,"compaign_send_complete_time":1765021923}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81515_06122025_052124PM_466
    [common_name] => u607_81515_06122025_052124PM_466
    [52] => 1764845149_u607_voice.wav
    [voice_file] => 1764845149_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68748
    [temp_group_table] => contacts_temp_group_68748
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765022103
    [reschedule_last_check_time] => 1765022103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765022161
    [last_credit_update_time] => 1765022161
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765023300,"2":1765024200}
    [rt_time] => {"1":1765023300,"2":1765024200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81515
\compaign_type : Rans per 28.67456 
ans sms 518
dnd sms 84

require answer perrequire answer per : 125

user answer per : 78
below is the redis data 47 /n/r
only no answer and busy will be convert, total number require 47 /n/r
UPDATE voice_compaign_detail_81515 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81515 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 34 Total Failed : 143 no_answer_count : 48 Busy count :37 congestion_count : 17 failed_count : 41UPDATE voice_compaign_detail_81515 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81515 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81515 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81515 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='125', `user_busy_sms`='91', `user_congestion_sms`='17', `user_failed_sms`='104', `user_hangup_sms`='0', `user_no_answer_sms`='97', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81515 LIMIT 1 


Time Diff : 0.525

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763081'  
Array
(
    [0] => 81516
    [compaign_id] => 81516
    [1] => u29720
    [user_id] => u29720
    [2] => 68750,
    [group_ids] => 68750,
    [3] => 
    [sender_id] => 
    [4] => Gandhinagar.mp3
    [filename] => Gandhinagar.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765021923
    [start_date] => 1765021923
    [9] => 0
    [end_date] => 0
    [10] => 240
    [total_sms] => 240
    [11] => 240
    [sent_sms] => 240
    [12] => 0
    [duplicate_sms] => 0
    [13] => 34
    [answered_sms] => 34
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 61
    [no_answer_sms] => 61
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 73
    [cutting_sms] => 73
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 34
    [user_answered_sms] => 34
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 61
    [user_no_answer_sms] => 61
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765021923
    [create_date] => 1765021923
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765021928,"compaign_read_start_time":1765021931,"compaign_read_complete_time":1765021931,"compaign_send_start_time":1765021981,"compaign_send_complete_time":1765021983}
    [action_time] => {"api_allot_time":1765021928,"compaign_read_start_time":1765021931,"compaign_read_complete_time":1765021931,"compaign_send_start_time":1765021981,"compaign_send_complete_time":1765021983}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81516_06122025_052208PM_328
    [common_name] => u29720_81516_06122025_052208PM_328
    [52] => 1765021305_u29720_voice.wav
    [voice_file] => 1765021305_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68750
    [temp_group_table] => contacts_temp_group_68750
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765022222
    [last_credit_update_time] => 1765022222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81516
\compaign_type : Rans per 26.71478 
ans sms 240
dnd sms 0

require answer perrequire answer per : 65

user answer per : 34
below is the redis data 31 UPDATE voice_compaign_detail_81516 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 31 Total Failed : 42 no_answer_count : 15 Busy count :11 congestion_count : 5 failed_count : 11UPDATE voice_compaign_detail_81516 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81516 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81516 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81516 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='65', `user_busy_sms`='39', `user_congestion_sms`='5', `user_failed_sms`='55', `user_hangup_sms`='0', `user_no_answer_sms`='76', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81516 LIMIT 1 


Time Diff : 1.129

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763502'  
Array
(
    [0] => 81525
    [compaign_id] => 81525
    [1] => u122
    [user_id] => u122
    [2] => 68758,
    [group_ids] => 68758,
    [3] => 
    [sender_id] => 
    [4] => KTSolutions_VCktdec04.mp3
    [filename] => KTSolutions_VCktdec04.mp3
    [5] => 20
    [duration] => 20
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1765022398
    [start_date] => 1765022398
    [9] => 0
    [end_date] => 0
    [10] => 118
    [total_sms] => 118
    [11] => 118
    [sent_sms] => 118
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 7
    [failed_sms] => 7
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 12
    [cutting_sms] => 12
    [22] => 16
    [dnd_sms] => 16
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 7
    [user_failed_sms] => 7
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 18
    [user_no_answer_sms] => 18
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 16
    [user_dnd_sms] => 16
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022398
    [create_date] => 1765022398
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022404,"compaign_read_start_time":1765022404,"compaign_read_complete_time":1765022404,"compaign_send_start_time":1765022462,"compaign_send_complete_time":1765022462}
    [action_time] => {"api_allot_time":1765022404,"compaign_read_start_time":1765022404,"compaign_read_complete_time":1765022404,"compaign_send_start_time":1765022462,"compaign_send_complete_time":1765022462}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_81525_06122025_053003PM_597
    [common_name] => u122_81525_06122025_053003PM_597
    [52] => api_1764849428_u122_voice_117.wav
    [voice_file] => api_1764849428_u122_voice_117.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68758
    [temp_group_table] => contacts_temp_group_68758
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765022702
    [last_credit_update_time] => 1765022702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 231
    [user_voice_plan_id] => 231
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u122
    [uphierarchy] => admin,u122
    [113] => 
    [extra_params_json] => 
)


Compaign : 81525
\compaign_type : Rans per 29.25071 
ans sms 118
dnd sms 16

require answer perrequire answer per : 30

user answer per : 54
Total Failed : 12 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_81525 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81525 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81525 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81525 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='54', `user_busy_sms`='15', `user_congestion_sms`='2', `user_failed_sms`='8', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='16' WHERE `compaign_id`=81525 LIMIT 1 


Time Diff : 1.797

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763561'  
Array
(
    [0] => 81526
    [compaign_id] => 81526
    [1] => u122
    [user_id] => u122
    [2] => 68759,
    [group_ids] => 68759,
    [3] => 
    [sender_id] => 
    [4] => Quick_SMSquick_sms_02_2011.mp3
    [filename] => Quick_SMSquick_sms_02_2011.mp3
    [5] => 17
    [duration] => 17
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1765022428
    [start_date] => 1765022428
    [9] => 0
    [end_date] => 0
    [10] => 361
    [total_sms] => 361
    [11] => 361
    [sent_sms] => 361
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 57
    [failed_sms] => 57
    [17] => 0
    [hangup_sms] => 0
    [18] => 53
    [no_answer_sms] => 53
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 113
    [cutting_sms] => 113
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 57
    [user_failed_sms] => 57
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 53
    [user_no_answer_sms] => 53
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 44
    [user_dnd_sms] => 44
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022428
    [create_date] => 1765022428
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022434,"compaign_read_start_time":1765022434,"compaign_read_complete_time":1765022435,"compaign_send_start_time":1765022462,"compaign_send_complete_time":1765022463}
    [action_time] => {"api_allot_time":1765022434,"compaign_read_start_time":1765022434,"compaign_read_complete_time":1765022435,"compaign_send_start_time":1765022462,"compaign_send_complete_time":1765022463}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_81526_06122025_053033PM_554
    [common_name] => u122_81526_06122025_053033PM_554
    [52] => api_1763611674_u122_voice_733.wav
    [voice_file] => api_1763611674_u122_voice_733.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68759
    [temp_group_table] => contacts_temp_group_68759
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765022702
    [last_credit_update_time] => 1765022702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 231
    [user_voice_plan_id] => 231
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u122
    [uphierarchy] => admin,u122
    [113] => 
    [extra_params_json] => 
)


Compaign : 81526
\compaign_type : Rans per 25.96009 
ans sms 361
dnd sms 44

require answer perrequire answer per : 83

user answer per : 62
below is the redis data 21 /n/r
only no answer and busy will be convert, total number require 21 /n/r
UPDATE voice_compaign_detail_81526 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81526 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 Total Failed : 91 no_answer_count : 31 Busy count :24 congestion_count : 11 failed_count : 25UPDATE voice_compaign_detail_81526 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81526 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81526 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81526 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='83', `user_busy_sms`='60', `user_congestion_sms`='11', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='91', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=81526 LIMIT 1 


Time Diff : 0.751

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763621'  
Array
(
    [0] => 81529
    [compaign_id] => 81529
    [1] => u82
    [user_id] => u82
    [2] => 68764,
    [group_ids] => 68764,
    [3] => 
    [sender_id] => 
    [4] => 3dward Ekkaram.mp3
    [filename] => 3dward Ekkaram.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765022522
    [start_date] => 1765022522
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 15
    [answered_sms] => 15
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 17
    [dnd_sms] => 17
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 15
    [user_answered_sms] => 15
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 17
    [user_dnd_sms] => 17
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u82
    [created_by] => u82
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022522
    [create_date] => 1765022522
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022528,"compaign_read_start_time":1765022531,"compaign_read_complete_time":1765022532,"compaign_send_start_time":1765022581,"compaign_send_complete_time":1765022582}
    [action_time] => {"api_allot_time":1765022528,"compaign_read_start_time":1765022531,"compaign_read_complete_time":1765022532,"compaign_send_start_time":1765022581,"compaign_send_complete_time":1765022582}
    [50] => 0
    [compaign_file] => 0
    [51] => u82_81529_06122025_053208PM_969
    [common_name] => u82_81529_06122025_053208PM_969
    [52] => 1765020795_u82_voice.wav
    [voice_file] => 1765020795_u82_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68764
    [temp_group_table] => contacts_temp_group_68764
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765022821
    [last_credit_update_time] => 1765022821
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 155
    [user_voice_plan_id] => 155
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u82
    [uphierarchy] => admin,sr51,u82
    [113] => 
    [extra_params_json] => 
)


Compaign : 81529
\compaign_type : Rans per 28.94902 
ans sms 74
dnd sms 17

require answer perrequire answer per : 17

user answer per : 15
below is the redis data 2 /n/r
only no answer and busy will be convert, total number require 2 /n/r
UPDATE voice_compaign_detail_81529 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81529 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='17', `user_busy_sms`='18', `user_congestion_sms`='0', `user_failed_sms`='4', `user_hangup_sms`='0', `user_no_answer_sms`='18', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='17' WHERE `compaign_id`=81529 LIMIT 1 


Time Diff : 2.865

Array
(
    [0] => 81530
    [compaign_id] => 81530
    [1] => u29720
    [user_id] => u29720
    [2] => 68762,
    [group_ids] => 68762,
    [3] => 
    [sender_id] => 
    [4] => Gandhinagar.mp3
    [filename] => Gandhinagar.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765022523
    [start_date] => 1765022523
    [9] => 0
    [end_date] => 0
    [10] => 175
    [total_sms] => 175
    [11] => 175
    [sent_sms] => 175
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 46
    [failed_sms] => 46
    [17] => 0
    [hangup_sms] => 0
    [18] => 42
    [no_answer_sms] => 42
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 34
    [cutting_sms] => 34
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 46
    [user_failed_sms] => 46
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 42
    [user_no_answer_sms] => 42
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022523
    [create_date] => 1765022523
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022528,"compaign_read_start_time":1765022534,"compaign_read_complete_time":1765022534,"compaign_send_start_time":1765022581,"compaign_send_complete_time":1765022582}
    [action_time] => {"api_allot_time":1765022528,"compaign_read_start_time":1765022534,"compaign_read_complete_time":1765022534,"compaign_send_start_time":1765022581,"compaign_send_complete_time":1765022582}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81530_06122025_053208PM_856
    [common_name] => u29720_81530_06122025_053208PM_856
    [52] => 1765021305_u29720_voice.wav
    [voice_file] => 1765021305_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68762
    [temp_group_table] => contacts_temp_group_68762
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765022821
    [last_credit_update_time] => 1765022821
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81530
\compaign_type : Rans per 26.82335 
ans sms 175
dnd sms 0

require answer perrequire answer per : 47

user answer per : 22
below is the redis data 25 UPDATE voice_compaign_detail_81530 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 Total Failed : 9 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 0UPDATE voice_compaign_detail_81530 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81530 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81530 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='47', `user_busy_sms`='34', `user_congestion_sms`='2', `user_failed_sms`='46', `user_hangup_sms`='0', `user_no_answer_sms`='46', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81530 LIMIT 1 


Time Diff : 1.211

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763682'  
Array
(
    [0] => 81533
    [compaign_id] => 81533
    [1] => u29720
    [user_id] => u29720
    [2] => 68766,
    [group_ids] => 68766,
    [3] => 
    [sender_id] => 
    [4] => MLKNR CONGRESS.mp3
    [filename] => MLKNR CONGRESS.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765022584
    [start_date] => 1765022584
    [9] => 0
    [end_date] => 0
    [10] => 1777
    [total_sms] => 1777
    [11] => 1777
    [sent_sms] => 1777
    [12] => 0
    [duplicate_sms] => 0
    [13] => 248
    [answered_sms] => 248
    [14] => 130
    [busy_sms] => 130
    [15] => 0
    [congestion_sms] => 0
    [16] => 171
    [failed_sms] => 171
    [17] => 0
    [hangup_sms] => 0
    [18] => 205
    [no_answer_sms] => 205
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 733
    [cutting_sms] => 733
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 248
    [user_answered_sms] => 248
    [27] => 130
    [user_busy_sms] => 130
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 171
    [user_failed_sms] => 171
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 205
    [user_no_answer_sms] => 205
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 290
    [user_dnd_sms] => 290
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022583
    [create_date] => 1765022583
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022590,"compaign_read_start_time":1765022590,"compaign_read_complete_time":1765022594,"compaign_send_start_time":1765022642,"compaign_send_complete_time":1765022705}
    [action_time] => {"api_allot_time":1765022590,"compaign_read_start_time":1765022590,"compaign_read_complete_time":1765022594,"compaign_send_start_time":1765022642,"compaign_send_complete_time":1765022705}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81533_06122025_053309PM_764
    [common_name] => u29720_81533_06122025_053309PM_764
    [52] => 1764833474_u29720_voice.wav
    [voice_file] => 1764833474_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68766
    [temp_group_table] => contacts_temp_group_68766
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765022882
    [last_credit_update_time] => 1765022882
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81533
\compaign_type : Rans per 26.67508 
ans sms 1777
dnd sms 290

require answer perrequire answer per : 397

user answer per : 248
below is the redis data 149 UPDATE voice_compaign_detail_81533 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 149 Total Failed : 584 no_answer_count : 195 Busy count :150 congestion_count : 70 failed_count : 169UPDATE voice_compaign_detail_81533 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 195 UPDATE voice_compaign_detail_81533 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 150 UPDATE voice_compaign_detail_81533 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 70 UPDATE voice_compaign_detail_81533 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 169 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='397', `user_busy_sms`='280', `user_congestion_sms`='70', `user_failed_sms`='340', `user_hangup_sms`='0', `user_no_answer_sms`='400', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=81533 LIMIT 1 


Time Diff : 0.086

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763861'  
Array
(
    [0] => 81532
    [compaign_id] => 81532
    [1] => u607
    [user_id] => u607
    [2] => 68765,
    [group_ids] => 68765,
    [3] => 
    [sender_id] => 
    [4] => malupally_srinivas.mp3(1)
    [filename] => malupally_srinivas.mp3(1)
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765022548
    [start_date] => 1765022548
    [9] => 0
    [end_date] => 0
    [10] => 1299
    [total_sms] => 1299
    [11] => 1299
    [sent_sms] => 1299
    [12] => 0
    [duplicate_sms] => 0
    [13] => 142
    [answered_sms] => 142
    [14] => 80
    [busy_sms] => 80
    [15] => 0
    [congestion_sms] => 0
    [16] => 244
    [failed_sms] => 244
    [17] => 0
    [hangup_sms] => 0
    [18] => 93
    [no_answer_sms] => 93
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 552
    [cutting_sms] => 552
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 142
    [user_answered_sms] => 142
    [27] => 80
    [user_busy_sms] => 80
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 244
    [user_failed_sms] => 244
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 93
    [user_no_answer_sms] => 93
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 188
    [user_dnd_sms] => 188
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022547
    [create_date] => 1765022547
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022684,"compaign_read_start_time":1765022702,"compaign_read_complete_time":1765022705,"compaign_send_start_time":1765022761,"compaign_send_complete_time":1765022766}
    [action_time] => {"api_allot_time":1765022684,"compaign_read_start_time":1765022702,"compaign_read_complete_time":1765022705,"compaign_send_start_time":1765022761,"compaign_send_complete_time":1765022766}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81532_06122025_053234PM_119
    [common_name] => u607_81532_06122025_053234PM_119
    [52] => 1764997942_u607_voice.wav
    [voice_file] => 1764997942_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68765
    [temp_group_table] => contacts_temp_group_68765
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765023003
    [reschedule_last_check_time] => 1765023003
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023002
    [last_credit_update_time] => 1765023002
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765024200}
    [rt_time] => {"1":1765024200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81532
\compaign_type : Rans per 27.30397 
ans sms 1299
dnd sms 188

require answer perrequire answer per : 304

user answer per : 142
below is the redis data 162 /n/r
only no answer and busy will be convert, total number require 162 /n/r
UPDATE voice_compaign_detail_81532 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 130 UPDATE voice_compaign_detail_81532 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 130 Total Failed : 369 no_answer_count : 124 Busy count :95 congestion_count : 44 failed_count : 106UPDATE voice_compaign_detail_81532 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_81532 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 UPDATE voice_compaign_detail_81532 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81532 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 106 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='304', `user_busy_sms`='230', `user_congestion_sms`='44', `user_failed_sms`='273', `user_hangup_sms`='0', `user_no_answer_sms`='260', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81532 LIMIT 1 


Time Diff : 0.209

Array
(
    [0] => 81535
    [compaign_id] => 81535
    [1] => u607
    [user_id] => u607
    [2] => 68768,
    [group_ids] => 68768,
    [3] => 
    [sender_id] => 
    [4] => narender_muttharam .mp3
    [filename] => narender_muttharam .mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765022724
    [start_date] => 1765022724
    [9] => 0
    [end_date] => 0
    [10] => 485
    [total_sms] => 485
    [11] => 485
    [sent_sms] => 485
    [12] => 0
    [duplicate_sms] => 0
    [13] => 82
    [answered_sms] => 82
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 79
    [no_answer_sms] => 79
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 167
    [cutting_sms] => 167
    [22] => 73
    [dnd_sms] => 73
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 82
    [user_answered_sms] => 82
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 79
    [user_no_answer_sms] => 79
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 73
    [user_dnd_sms] => 73
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022724
    [create_date] => 1765022724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022731,"compaign_read_start_time":1765022732,"compaign_read_complete_time":1765022733,"compaign_send_start_time":1765022761,"compaign_send_complete_time":1765022765}
    [action_time] => {"api_allot_time":1765022731,"compaign_read_start_time":1765022732,"compaign_read_complete_time":1765022733,"compaign_send_start_time":1765022761,"compaign_send_complete_time":1765022765}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81535_06122025_053530PM_194
    [common_name] => u607_81535_06122025_053530PM_194
    [52] => 1765001227_u607_voice.wav
    [voice_file] => 1765001227_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68768
    [temp_group_table] => contacts_temp_group_68768
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765023003
    [reschedule_last_check_time] => 1765023003
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023002
    [last_credit_update_time] => 1765023002
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765024200}
    [rt_time] => {"1":1765024200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81535
\compaign_type : Rans per 26.30595 
ans sms 485
dnd sms 73

require answer perrequire answer per : 109

user answer per : 82
below is the redis data 27 /n/r
only no answer and busy will be convert, total number require 27 /n/r
UPDATE voice_compaign_detail_81535 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81535 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 Total Failed : 131 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 37UPDATE voice_compaign_detail_81535 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81535 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81535 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81535 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='109', `user_busy_sms`='81', `user_congestion_sms`='16', `user_failed_sms`='84', `user_hangup_sms`='0', `user_no_answer_sms`='122', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='73' WHERE `compaign_id`=81535 LIMIT 1 


Time Diff : 0.561

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764763982'  
Array
(
    [0] => 81539
    [compaign_id] => 81539
    [1] => u607
    [user_id] => u607
    [2] => 68772,
    [group_ids] => 68772,
    [3] => 
    [sender_id] => 
    [4] => basker_MADURANAGAR.mp3
    [filename] => basker_MADURANAGAR.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765022834
    [start_date] => 1765022834
    [9] => 0
    [end_date] => 0
    [10] => 1340
    [total_sms] => 1340
    [11] => 1340
    [sent_sms] => 1340
    [12] => 0
    [duplicate_sms] => 0
    [13] => 188
    [answered_sms] => 188
    [14] => 83
    [busy_sms] => 83
    [15] => 0
    [congestion_sms] => 0
    [16] => 157
    [failed_sms] => 157
    [17] => 0
    [hangup_sms] => 0
    [18] => 130
    [no_answer_sms] => 130
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 485
    [cutting_sms] => 485
    [22] => 297
    [dnd_sms] => 297
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 188
    [user_answered_sms] => 188
    [27] => 83
    [user_busy_sms] => 83
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 157
    [user_failed_sms] => 157
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 130
    [user_no_answer_sms] => 130
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 297
    [user_dnd_sms] => 297
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765022833
    [create_date] => 1765022833
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765022840,"compaign_read_start_time":1765022842,"compaign_read_complete_time":1765022848,"compaign_send_start_time":1765022882,"compaign_send_complete_time":1765022885}
    [action_time] => {"api_allot_time":1765022840,"compaign_read_start_time":1765022842,"compaign_read_complete_time":1765022848,"compaign_send_start_time":1765022882,"compaign_send_complete_time":1765022885}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81539_06122025_053719PM_425
    [common_name] => u607_81539_06122025_053719PM_425
    [52] => 1765004097_u607_voice.wav
    [voice_file] => 1765004097_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68772
    [temp_group_table] => contacts_temp_group_68772
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765023003
    [reschedule_last_check_time] => 1765023003
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023122
    [last_credit_update_time] => 1765023122
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765024200}
    [rt_time] => {"1":1765024200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81539
\compaign_type : Rans per 25.70462 
ans sms 1340
dnd sms 297

require answer perrequire answer per : 269

user answer per : 188
below is the redis data 81 /n/r
only no answer and busy will be convert, total number require 81 /n/r
UPDATE voice_compaign_detail_81539 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81539 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 64 Total Failed : 385 no_answer_count : 129 Busy count :99 congestion_count : 46 failed_count : 111UPDATE voice_compaign_detail_81539 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 129 UPDATE voice_compaign_detail_81539 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 99 UPDATE voice_compaign_detail_81539 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81539 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 111 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='269', `user_busy_sms`='218', `user_congestion_sms`='46', `user_failed_sms`='240', `user_hangup_sms`='0', `user_no_answer_sms`='270', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='297' WHERE `compaign_id`=81539 LIMIT 1 


Time Diff : 0.203

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764342'  
Array
(
    [0] => 81545
    [compaign_id] => 81545
    [1] => u29720
    [user_id] => u29720
    [2] => 68777,
    [group_ids] => 68777,
    [3] => 
    [sender_id] => 
    [4] => Karkapally.mp3(1)
    [filename] => Karkapally.mp3(1)
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023214
    [start_date] => 1765023214
    [9] => 0
    [end_date] => 0
    [10] => 345
    [total_sms] => 345
    [11] => 345
    [sent_sms] => 345
    [12] => 0
    [duplicate_sms] => 0
    [13] => 50
    [answered_sms] => 50
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 109
    [cutting_sms] => 109
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 50
    [user_answered_sms] => 50
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 41
    [user_no_answer_sms] => 41
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 62
    [user_dnd_sms] => 62
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765023213
    [create_date] => 1765023213
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023221,"compaign_read_start_time":1765023221,"compaign_read_complete_time":1765023222,"compaign_send_start_time":1765023241,"compaign_send_complete_time":1765023243}
    [action_time] => {"api_allot_time":1765023221,"compaign_read_start_time":1765023221,"compaign_read_complete_time":1765023222,"compaign_send_start_time":1765023241,"compaign_send_complete_time":1765023243}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81545_06122025_054340PM_321
    [common_name] => u29720_81545_06122025_054340PM_321
    [52] => 1764993087_u29720_voice.wav
    [voice_file] => 1764993087_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68777
    [temp_group_table] => contacts_temp_group_68777
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765023303
    [reschedule_last_check_time] => 1765023303
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023482
    [last_credit_update_time] => 1765023482
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 2
    [rt_answer_duration] => 2
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81545
\compaign_type : Rans per 27.89588 
ans sms 345
dnd sms 62

require answer perrequire answer per : 79

user answer per : 50
below is the redis data 29 UPDATE voice_compaign_detail_81545 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 29 Total Failed : 80 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 22UPDATE voice_compaign_detail_81545 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81545 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81545 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81545 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='79', `user_busy_sms`='49', `user_congestion_sms`='10', `user_failed_sms`='77', `user_hangup_sms`='0', `user_no_answer_sms`='68', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81545 LIMIT 1 


Time Diff : 0.69

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764401'  
Array
(
    [0] => 81543
    [compaign_id] => 81543
    [1] => u82
    [user_id] => u82
    [2] => 68773,
    [group_ids] => 68773,
    [3] => 
    [sender_id] => 
    [4] => 3dward Ekkaram.mp3
    [filename] => 3dward Ekkaram.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023127
    [start_date] => 1765023127
    [9] => 0
    [end_date] => 0
    [10] => 57
    [total_sms] => 57
    [11] => 57
    [sent_sms] => 57
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 10
    [failed_sms] => 10
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 17
    [dnd_sms] => 17
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 10
    [user_failed_sms] => 10
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 10
    [user_no_answer_sms] => 10
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 17
    [user_dnd_sms] => 17
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u82
    [created_by] => u82
    [38] => 0
    [isScheduled] => 0
    [39] => 1765023127
    [create_date] => 1765023127
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023264,"compaign_read_start_time":1765023265,"compaign_read_complete_time":1765023266,"compaign_send_start_time":1765023302,"compaign_send_complete_time":1765023303}
    [action_time] => {"api_allot_time":1765023264,"compaign_read_start_time":1765023265,"compaign_read_complete_time":1765023266,"compaign_send_start_time":1765023302,"compaign_send_complete_time":1765023303}
    [50] => 0
    [compaign_file] => 0
    [51] => u82_81543_06122025_054214PM_751
    [common_name] => u82_81543_06122025_054214PM_751
    [52] => 1765020795_u82_voice.wav
    [voice_file] => 1765020795_u82_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68773
    [temp_group_table] => contacts_temp_group_68773
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023542
    [last_credit_update_time] => 1765023542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 155
    [user_voice_plan_id] => 155
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u82
    [uphierarchy] => admin,sr51,u82
    [113] => 
    [extra_params_json] => 
)


Compaign : 81543
\compaign_type : Rans per 29.78413 
ans sms 57
dnd sms 17

require answer perrequire answer per : 12

user answer per : 5
below is the redis data 7 /n/r
only no answer and busy will be convert, total number require 7 /n/r
UPDATE voice_compaign_detail_81543 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81543 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='12', `user_busy_sms`='15', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='13', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='17' WHERE `compaign_id`=81543 LIMIT 1 


Time Diff : 4.754

Array
(
    [0] => 81544
    [compaign_id] => 81544
    [1] => u29720
    [user_id] => u29720
    [2] => 68776,
    [group_ids] => 68776,
    [3] => 
    [sender_id] => 
    [4] => MLKNR CONGRESS.mp3
    [filename] => MLKNR CONGRESS.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023131
    [start_date] => 1765023131
    [9] => 0
    [end_date] => 0
    [10] => 1090
    [total_sms] => 1090
    [11] => 1090
    [sent_sms] => 1090
    [12] => 0
    [duplicate_sms] => 0
    [13] => 134
    [answered_sms] => 134
    [14] => 108
    [busy_sms] => 108
    [15] => 0
    [congestion_sms] => 0
    [16] => 167
    [failed_sms] => 167
    [17] => 0
    [hangup_sms] => 0
    [18] => 164
    [no_answer_sms] => 164
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 517
    [cutting_sms] => 517
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 134
    [user_answered_sms] => 134
    [27] => 108
    [user_busy_sms] => 108
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 167
    [user_failed_sms] => 167
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 164
    [user_no_answer_sms] => 164
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765023131
    [create_date] => 1765023131
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023268,"compaign_read_start_time":1765023268,"compaign_read_complete_time":1765023270,"compaign_send_start_time":1765023302,"compaign_send_complete_time":1765023305}
    [action_time] => {"api_allot_time":1765023268,"compaign_read_start_time":1765023268,"compaign_read_complete_time":1765023270,"compaign_send_start_time":1765023302,"compaign_send_complete_time":1765023305}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81544_06122025_054218PM_680
    [common_name] => u29720_81544_06122025_054218PM_680
    [52] => 1764833474_u29720_voice.wav
    [voice_file] => 1764833474_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68776
    [temp_group_table] => contacts_temp_group_68776
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023542
    [last_credit_update_time] => 1765023542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81544
\compaign_type : Rans per 29.4208 
ans sms 1090
dnd sms 0

require answer perrequire answer per : 321

user answer per : 134
below is the redis data 187 UPDATE voice_compaign_detail_81544 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 187 Total Failed : 330 no_answer_count : 111 Busy count :85 congestion_count : 40 failed_count : 94UPDATE voice_compaign_detail_81544 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 111 UPDATE voice_compaign_detail_81544 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_81544 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81544 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 94 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='321', `user_busy_sms`='193', `user_congestion_sms`='40', `user_failed_sms`='261', `user_hangup_sms`='0', `user_no_answer_sms`='275', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81544 LIMIT 1 


Time Diff : 0.249

Array
(
    [0] => 81518
    [compaign_id] => 81518
    [1] => u607
    [user_id] => u607
    [2] => 68749,
    [group_ids] => 68749,
    [3] => 
    [sender_id] => 
    [4] => sunitha rudrur.mp3(1)
    [filename] => sunitha rudrur.mp3(1)
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023300
    [start_date] => 1765023300
    [9] => 0
    [end_date] => 0
    [10] => 5621
    [total_sms] => 5621
    [11] => 5621
    [sent_sms] => 5621
    [12] => 0
    [duplicate_sms] => 0
    [13] => 319
    [answered_sms] => 319
    [14] => 255
    [busy_sms] => 255
    [15] => 1
    [congestion_sms] => 1
    [16] => 1451
    [failed_sms] => 1451
    [17] => 0
    [hangup_sms] => 0
    [18] => 233
    [no_answer_sms] => 233
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2356
    [cutting_sms] => 2356
    [22] => 1006
    [dnd_sms] => 1006
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 319
    [user_answered_sms] => 319
    [27] => 255
    [user_busy_sms] => 255
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 1451
    [user_failed_sms] => 1451
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 233
    [user_no_answer_sms] => 233
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1006
    [user_dnd_sms] => 1006
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765021952
    [create_date] => 1765021952
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023306,"compaign_read_start_time":1765023308,"compaign_read_complete_time":1765023321,"compaign_send_start_time":1765023361,"compaign_send_complete_time":1765023384}
    [action_time] => {"api_allot_time":1765023306,"compaign_read_start_time":1765023308,"compaign_read_complete_time":1765023321,"compaign_send_start_time":1765023361,"compaign_send_complete_time":1765023384}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81518_06122025_054506PM_622
    [common_name] => u607_81518_06122025_054506PM_622
    [52] => 1764995132_u607_voice.wav
    [voice_file] => 1764995132_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68749
    [temp_group_table] => contacts_temp_group_68749
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023542
    [last_credit_update_time] => 1765023542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81518
\compaign_type : Rans per 25.20682 
ans sms 5621
dnd sms 1006

require answer perrequire answer per : 1164

user answer per : 319
below is the redis data 845 /n/r
only no answer and busy will be convert, total number require 845 /n/r
UPDATE voice_compaign_detail_81518 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 651 UPDATE voice_compaign_detail_81518 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 651 Total Failed : 1534 no_answer_count : 512 Busy count :394 congestion_count : 183 failed_count : 445UPDATE voice_compaign_detail_81518 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 512 UPDATE voice_compaign_detail_81518 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 394 UPDATE voice_compaign_detail_81518 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 183 UPDATE voice_compaign_detail_81518 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 445 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='807', `user_busy_sms`='1045', `user_congestion_sms`='184', `user_failed_sms`='1416', `user_hangup_sms`='0', `user_no_answer_sms`='1163', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1006' WHERE `compaign_id`=81518 LIMIT 1 


Time Diff : 0.037

Array
(
    [0] => 81521
    [compaign_id] => 81521
    [1] => u607
    [user_id] => u607
    [2] => 68755,
    [group_ids] => 68755,
    [3] => 
    [sender_id] => 
    [4] => basker (online-audio-converter.com).mp3
    [filename] => basker (online-audio-converter.com).mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023300
    [start_date] => 1765023300
    [9] => 0
    [end_date] => 0
    [10] => 279
    [total_sms] => 279
    [11] => 279
    [sent_sms] => 279
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 78
    [cutting_sms] => 78
    [22] => 56
    [dnd_sms] => 56
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 32
    [user_no_answer_sms] => 32
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 56
    [user_dnd_sms] => 56
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765022224
    [create_date] => 1765022224
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023306,"compaign_read_start_time":1765023311,"compaign_read_complete_time":1765023311,"compaign_send_start_time":1765023361,"compaign_send_complete_time":1765023371}
    [action_time] => {"api_allot_time":1765023306,"compaign_read_start_time":1765023311,"compaign_read_complete_time":1765023311,"compaign_send_start_time":1765023361,"compaign_send_complete_time":1765023371}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81521_06122025_054506PM_671
    [common_name] => u607_81521_06122025_054506PM_671
    [52] => 1764909617_u607_voice.wav
    [voice_file] => 1764909617_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68755
    [temp_group_table] => contacts_temp_group_68755
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023542
    [last_credit_update_time] => 1765023542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81521
\compaign_type : Rans per 28.13436 
ans sms 279
dnd sms 56

require answer perrequire answer per : 63

user answer per : 24
below is the redis data 39 /n/r
only no answer and busy will be convert, total number require 39 /n/r
UPDATE voice_compaign_detail_81521 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81521 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 30 Total Failed : 44 no_answer_count : 15 Busy count :12 congestion_count : 6 failed_count : 11UPDATE voice_compaign_detail_81521 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81521 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81521 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81521 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='63', `user_busy_sms`='58', `user_congestion_sms`='6', `user_failed_sms`='39', `user_hangup_sms`='0', `user_no_answer_sms`='57', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='56' WHERE `compaign_id`=81521 LIMIT 1 


Time Diff : 0.771

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764462'  
Array
(
    [0] => 81531
    [compaign_id] => 81531
    [1] => u607
    [user_id] => u607
    [2] => 68763,
    [group_ids] => 68763,
    [3] => 
    [sender_id] => 
    [4] => enkepalli.mp3
    [filename] => enkepalli.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023300
    [start_date] => 1765023300
    [9] => 0
    [end_date] => 0
    [10] => 393
    [total_sms] => 393
    [11] => 393
    [sent_sms] => 393
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 87
    [failed_sms] => 87
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 122
    [cutting_sms] => 122
    [22] => 84
    [dnd_sms] => 84
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 87
    [user_failed_sms] => 87
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 32
    [user_no_answer_sms] => 32
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 84
    [user_dnd_sms] => 84
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765022523
    [create_date] => 1765022523
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023306,"compaign_read_start_time":1765023320,"compaign_read_complete_time":1765023320,"compaign_send_start_time":1765023361,"compaign_send_complete_time":1765023371}
    [action_time] => {"api_allot_time":1765023306,"compaign_read_start_time":1765023320,"compaign_read_complete_time":1765023320,"compaign_send_start_time":1765023361,"compaign_send_complete_time":1765023371}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81531_06122025_054506PM_555
    [common_name] => u607_81531_06122025_054506PM_555
    [52] => 1764845149_u607_voice.wav
    [voice_file] => 1764845149_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68763
    [temp_group_table] => contacts_temp_group_68763
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023601
    [last_credit_update_time] => 1765023601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81531
\compaign_type : Rans per 30.68717 
ans sms 393
dnd sms 84

require answer perrequire answer per : 95

user answer per : 40
below is the redis data 55 /n/r
only no answer and busy will be convert, total number require 55 /n/r
UPDATE voice_compaign_detail_81531 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81531 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 41 Total Failed : 67 no_answer_count : 23 Busy count :18 congestion_count : 8 failed_count : 18UPDATE voice_compaign_detail_81531 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81531 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81531 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81531 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='95', `user_busy_sms`='62', `user_congestion_sms`='8', `user_failed_sms`='78', `user_hangup_sms`='0', `user_no_answer_sms`='66', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81531 LIMIT 1 


Time Diff : 0.69

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764521'  
Array
(
    [0] => 81547
    [compaign_id] => 81547
    [1] => u29720
    [user_id] => u29720
    [2] => 68779,
    [group_ids] => 68779,
    [3] => 
    [sender_id] => 
    [4] => Mylaram Congress.mp3
    [filename] => Mylaram Congress.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023352
    [start_date] => 1765023352
    [9] => 0
    [end_date] => 0
    [10] => 785
    [total_sms] => 785
    [11] => 785
    [sent_sms] => 785
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 76
    [busy_sms] => 76
    [15] => 0
    [congestion_sms] => 0
    [16] => 95
    [failed_sms] => 95
    [17] => 0
    [hangup_sms] => 0
    [18] => 100
    [no_answer_sms] => 100
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 281
    [cutting_sms] => 281
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 96
    [user_answered_sms] => 96
    [27] => 76
    [user_busy_sms] => 76
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 95
    [user_failed_sms] => 95
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 100
    [user_no_answer_sms] => 100
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 137
    [user_dnd_sms] => 137
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765023352
    [create_date] => 1765023352
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023362,"compaign_read_start_time":1765023364,"compaign_read_complete_time":1765023366,"compaign_send_start_time":1765023422,"compaign_send_complete_time":1765023423}
    [action_time] => {"api_allot_time":1765023362,"compaign_read_start_time":1765023364,"compaign_read_complete_time":1765023366,"compaign_send_start_time":1765023422,"compaign_send_complete_time":1765023423}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81547_06122025_054601PM_702
    [common_name] => u29720_81547_06122025_054601PM_702
    [52] => 1764835204_u29720_voice.wav
    [voice_file] => 1764835204_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68779
    [temp_group_table] => contacts_temp_group_68779
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765023602
    [reschedule_last_check_time] => 1765023602
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023662
    [last_credit_update_time] => 1765023662
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81547
\compaign_type : Rans per 29.25179 
ans sms 785
dnd sms 137

require answer perrequire answer per : 190

user answer per : 96
below is the redis data 94 UPDATE voice_compaign_detail_81547 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 94 Total Failed : 187 no_answer_count : 63 Busy count :48 congestion_count : 23 failed_count : 53UPDATE voice_compaign_detail_81547 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_81547 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81547 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81547 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='190', `user_busy_sms`='124', `user_congestion_sms`='23', `user_failed_sms`='148', `user_hangup_sms`='0', `user_no_answer_sms`='163', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=81547 LIMIT 1 


Time Diff : 0.325

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764582'  
Array
(
    [0] => 81551
    [compaign_id] => 81551
    [1] => u607
    [user_id] => u607
    [2] => 68783,
    [group_ids] => 68783,
    [3] => 
    [sender_id] => 
    [4] => gopal_bejgaon.mp3
    [filename] => gopal_bejgaon.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023451
    [start_date] => 1765023451
    [9] => 0
    [end_date] => 0
    [10] => 1183
    [total_sms] => 1183
    [11] => 1183
    [sent_sms] => 1183
    [12] => 0
    [duplicate_sms] => 0
    [13] => 139
    [answered_sms] => 139
    [14] => 65
    [busy_sms] => 65
    [15] => 0
    [congestion_sms] => 0
    [16] => 231
    [failed_sms] => 231
    [17] => 0
    [hangup_sms] => 0
    [18] => 116
    [no_answer_sms] => 116
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 483
    [cutting_sms] => 483
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 139
    [user_answered_sms] => 139
    [27] => 65
    [user_busy_sms] => 65
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 231
    [user_failed_sms] => 231
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 116
    [user_no_answer_sms] => 116
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765023451
    [create_date] => 1765023451
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023458,"compaign_read_start_time":1765023460,"compaign_read_complete_time":1765023463,"compaign_send_start_time":1765023482,"compaign_send_complete_time":1765023489}
    [action_time] => {"api_allot_time":1765023458,"compaign_read_start_time":1765023460,"compaign_read_complete_time":1765023463,"compaign_send_start_time":1765023482,"compaign_send_complete_time":1765023489}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81551_06122025_054737PM_490
    [common_name] => u607_81551_06122025_054737PM_490
    [52] => 1764915195_u607_voice.wav
    [voice_file] => 1764915195_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68783
    [temp_group_table] => contacts_temp_group_68783
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765023602
    [reschedule_last_check_time] => 1765023602
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023721
    [last_credit_update_time] => 1765023721
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765025100}
    [rt_time] => {"1":1765025100}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81551
\compaign_type : Rans per 29.13474 
ans sms 1183
dnd sms 149

require answer perrequire answer per : 302

user answer per : 139
below is the redis data 163 /n/r
only no answer and busy will be convert, total number require 163 /n/r
UPDATE voice_compaign_detail_81551 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 123 UPDATE voice_compaign_detail_81551 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 123 Total Failed : 311 no_answer_count : 104 Busy count :80 congestion_count : 37 failed_count : 90UPDATE voice_compaign_detail_81551 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 104 UPDATE voice_compaign_detail_81551 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_81551 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81551 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='302', `user_busy_sms`='212', `user_congestion_sms`='37', `user_failed_sms`='247', `user_hangup_sms`='0', `user_no_answer_sms`='236', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=81551 LIMIT 1 


Time Diff : 0.229

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764642'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 40645
    [total_sms] => 40645
    [11] => 40645
    [sent_sms] => 40645
    [12] => 0
    [duplicate_sms] => 0
    [13] => 419
    [answered_sms] => 419
    [14] => 13103
    [busy_sms] => 13103
    [15] => 2
    [congestion_sms] => 2
    [16] => 25364
    [failed_sms] => 25364
    [17] => 0
    [hangup_sms] => 0
    [18] => 1757
    [no_answer_sms] => 1757
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 421
    [user_answered_sms] => 421
    [27] => 13103
    [user_busy_sms] => 13103
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25364
    [user_failed_sms] => 25364
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1757
    [user_no_answer_sms] => 1757
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 136
    [credit_seq] => 136
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765023783
    [last_credit_update_time] => 1765023783
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.51164 
ans sms 40645
dnd sms 0

require answer perrequire answer per : 11589

user answer per : 421
below is the redis data 11168 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11168 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='421', `user_busy_sms`='13103', `user_congestion_sms`='0', `user_failed_sms`='25364', `user_hangup_sms`='0', `user_no_answer_sms`='1757', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.699

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764881'  
Array
(
    [0] => 81556
    [compaign_id] => 81556
    [1] => u29720
    [user_id] => u29720
    [2] => 68787,
    [group_ids] => 68787,
    [3] => 
    [sender_id] => 
    [4] => Karkapally.mp3(1)
    [filename] => Karkapally.mp3(1)
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023722
    [start_date] => 1765023722
    [9] => 0
    [end_date] => 0
    [10] => 267
    [total_sms] => 267
    [11] => 267
    [sent_sms] => 267
    [12] => 0
    [duplicate_sms] => 0
    [13] => 26
    [answered_sms] => 26
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 52
    [failed_sms] => 52
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 70
    [cutting_sms] => 70
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 26
    [user_answered_sms] => 26
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 52
    [user_failed_sms] => 52
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 36
    [user_no_answer_sms] => 36
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 62
    [user_dnd_sms] => 62
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765023722
    [create_date] => 1765023722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023728,"compaign_read_start_time":1765023730,"compaign_read_complete_time":1765023731,"compaign_send_start_time":1765023782,"compaign_send_complete_time":1765023782}
    [action_time] => {"api_allot_time":1765023728,"compaign_read_start_time":1765023730,"compaign_read_complete_time":1765023731,"compaign_send_start_time":1765023782,"compaign_send_complete_time":1765023782}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81556_06122025_055207PM_902
    [common_name] => u29720_81556_06122025_055207PM_902
    [52] => 1764993087_u29720_voice.wav
    [voice_file] => 1764993087_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68787
    [temp_group_table] => contacts_temp_group_68787
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024022
    [last_credit_update_time] => 1765024022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81556
\compaign_type : Rans per 28.03717 
ans sms 267
dnd sms 62

require answer perrequire answer per : 58

user answer per : 26
below is the redis data 32 UPDATE voice_compaign_detail_81556 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 38 no_answer_count : 13 Busy count :10 congestion_count : 5 failed_count : 10UPDATE voice_compaign_detail_81556 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81556 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81556 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81556 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='58', `user_busy_sms`='31', `user_congestion_sms`='5', `user_failed_sms`='62', `user_hangup_sms`='0', `user_no_answer_sms`='49', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81556 LIMIT 1 


Time Diff : 1.015

Array
(
    [0] => 81557
    [compaign_id] => 81557
    [1] => u29720
    [user_id] => u29720
    [2] => 68789,
    [group_ids] => 68789,
    [3] => 
    [sender_id] => 
    [4] => MLKNR CONGRESS.mp3
    [filename] => MLKNR CONGRESS.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765023724
    [start_date] => 1765023724
    [9] => 0
    [end_date] => 0
    [10] => 769
    [total_sms] => 769
    [11] => 769
    [sent_sms] => 769
    [12] => 0
    [duplicate_sms] => 0
    [13] => 71
    [answered_sms] => 71
    [14] => 106
    [busy_sms] => 106
    [15] => 0
    [congestion_sms] => 0
    [16] => 142
    [failed_sms] => 142
    [17] => 0
    [hangup_sms] => 0
    [18] => 129
    [no_answer_sms] => 129
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 321
    [cutting_sms] => 321
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 71
    [user_answered_sms] => 71
    [27] => 106
    [user_busy_sms] => 106
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 142
    [user_failed_sms] => 142
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 129
    [user_no_answer_sms] => 129
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765023724
    [create_date] => 1765023724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765023730,"compaign_read_start_time":1765023733,"compaign_read_complete_time":1765023735,"compaign_send_start_time":1765023782,"compaign_send_complete_time":1765023783}
    [action_time] => {"api_allot_time":1765023730,"compaign_read_start_time":1765023733,"compaign_read_complete_time":1765023735,"compaign_send_start_time":1765023782,"compaign_send_complete_time":1765023783}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81557_06122025_055209PM_373
    [common_name] => u29720_81557_06122025_055209PM_373
    [52] => 1764833474_u29720_voice.wav
    [voice_file] => 1764833474_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68789
    [temp_group_table] => contacts_temp_group_68789
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024022
    [last_credit_update_time] => 1765024022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81557
\compaign_type : Rans per 30.13535 
ans sms 769
dnd sms 0

require answer perrequire answer per : 232

user answer per : 71
below is the redis data 161 UPDATE voice_compaign_detail_81557 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 161 Total Failed : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_81557 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81557 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81557 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81557 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='232', `user_busy_sms`='148', `user_congestion_sms`='19', `user_failed_sms`='187', `user_hangup_sms`='0', `user_no_answer_sms`='183', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81557 LIMIT 1 


Time Diff : 0.354

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764764941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765121'  
Array
(
    [0] => 81565
    [compaign_id] => 81565
    [1] => u29720
    [user_id] => u29720
    [2] => 68795,
    [group_ids] => 68795,
    [3] => 
    [sender_id] => 
    [4] => Mylaram Congress.mp3
    [filename] => Mylaram Congress.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024024
    [start_date] => 1765024024
    [9] => 0
    [end_date] => 0
    [10] => 458
    [total_sms] => 458
    [11] => 458
    [sent_sms] => 458
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 58
    [busy_sms] => 58
    [15] => 0
    [congestion_sms] => 0
    [16] => 86
    [failed_sms] => 86
    [17] => 0
    [hangup_sms] => 0
    [18] => 62
    [no_answer_sms] => 62
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 192
    [cutting_sms] => 192
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 58
    [user_busy_sms] => 58
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 86
    [user_failed_sms] => 86
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 62
    [user_no_answer_sms] => 62
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765024024
    [create_date] => 1765024024
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024031,"compaign_read_start_time":1765024040,"compaign_read_complete_time":1765024041,"compaign_send_start_time":1765024081,"compaign_send_complete_time":1765024084}
    [action_time] => {"api_allot_time":1765024031,"compaign_read_start_time":1765024040,"compaign_read_complete_time":1765024041,"compaign_send_start_time":1765024081,"compaign_send_complete_time":1765024084}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81565_06122025_055710PM_467
    [common_name] => u29720_81565_06122025_055710PM_467
    [52] => 1764835204_u29720_voice.wav
    [voice_file] => 1764835204_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68795
    [temp_group_table] => contacts_temp_group_68795
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024321
    [last_credit_update_time] => 1765024321
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81565
\compaign_type : Rans per 29.6256 
ans sms 458
dnd sms 0

require answer perrequire answer per : 136

user answer per : 60
below is the redis data 76 UPDATE voice_compaign_detail_81565 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 76 Total Failed : 116 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 33UPDATE voice_compaign_detail_81565 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81565 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81565 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81565 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='136', `user_busy_sms`='88', `user_congestion_sms`='14', `user_failed_sms`='119', `user_hangup_sms`='0', `user_no_answer_sms`='101', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81565 LIMIT 1 


Time Diff : 0.461

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765361'  
Array
(
    [0] => 81522
    [compaign_id] => 81522
    [1] => u607
    [user_id] => u607
    [2] => 68754,
    [group_ids] => 68754,
    [3] => 
    [sender_id] => 
    [4] => madhu.mp3
    [filename] => madhu.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024200
    [start_date] => 1765024200
    [9] => 0
    [end_date] => 0
    [10] => 1953
    [total_sms] => 1953
    [11] => 1953
    [sent_sms] => 1953
    [12] => 0
    [duplicate_sms] => 0
    [13] => 139
    [answered_sms] => 139
    [14] => 108
    [busy_sms] => 108
    [15] => 1
    [congestion_sms] => 1
    [16] => 248
    [failed_sms] => 248
    [17] => 0
    [hangup_sms] => 0
    [18] => 179
    [no_answer_sms] => 179
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 691
    [cutting_sms] => 691
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 139
    [user_answered_sms] => 139
    [27] => 108
    [user_busy_sms] => 108
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 248
    [user_failed_sms] => 248
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 179
    [user_no_answer_sms] => 179
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 587
    [user_dnd_sms] => 587
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765022230
    [create_date] => 1765022230
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024208,"compaign_read_complete_time":1765024212,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024265}
    [action_time] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024208,"compaign_read_complete_time":1765024212,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024265}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81522_06122025_060006PM_782
    [common_name] => u607_81522_06122025_060006PM_782
    [52] => 1764909279_u607_voice.wav
    [voice_file] => 1764909279_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68754
    [temp_group_table] => contacts_temp_group_68754
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024502
    [last_credit_update_time] => 1765024502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81522
\compaign_type : Rans per 28.27083 
ans sms 1953
dnd sms 587

require answer perrequire answer per : 387

user answer per : 139
below is the redis data 248 /n/r
only no answer and busy will be convert, total number require 248 /n/r
UPDATE voice_compaign_detail_81522 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 182 UPDATE voice_compaign_detail_81522 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 182 Total Failed : 426 no_answer_count : 143 Busy count :110 congestion_count : 51 failed_count : 122UPDATE voice_compaign_detail_81522 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 143 UPDATE voice_compaign_detail_81522 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_81522 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81522 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 122 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='387', `user_busy_sms`='303', `user_congestion_sms`='52', `user_failed_sms`='271', `user_hangup_sms`='0', `user_no_answer_sms`='353', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81522 LIMIT 1 


Time Diff : 0.139

Array
(
    [0] => 81548
    [compaign_id] => 81548
    [1] => u607
    [user_id] => u607
    [2] => 68781,
    [group_ids] => 68781,
    [3] => 
    [sender_id] => 
    [4] => narender_muttharam .mp3
    [filename] => narender_muttharam .mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024200
    [start_date] => 1765024200
    [9] => 0
    [end_date] => 0
    [10] => 376
    [total_sms] => 376
    [11] => 376
    [sent_sms] => 376
    [12] => 0
    [duplicate_sms] => 0
    [13] => 56
    [answered_sms] => 56
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 111
    [cutting_sms] => 111
    [22] => 73
    [dnd_sms] => 73
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 56
    [user_answered_sms] => 56
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 49
    [user_failed_sms] => 49
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 58
    [user_no_answer_sms] => 58
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 73
    [user_dnd_sms] => 73
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765023423
    [create_date] => 1765023423
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024211,"compaign_read_complete_time":1765024212,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024383}
    [action_time] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024211,"compaign_read_complete_time":1765024212,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024383}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81548_06122025_060006PM_629
    [common_name] => u607_81548_06122025_060006PM_629
    [52] => 1765001227_u607_voice.wav
    [voice_file] => 1765001227_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68781
    [temp_group_table] => contacts_temp_group_68781
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024502
    [last_credit_update_time] => 1765024502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81548
\compaign_type : Rans per 29.75143 
ans sms 376
dnd sms 73

require answer perrequire answer per : 91

user answer per : 56
below is the redis data 35 /n/r
only no answer and busy will be convert, total number require 35 /n/r
UPDATE voice_compaign_detail_81548 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81548 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 Total Failed : 77 no_answer_count : 26 Busy count :20 congestion_count : 10 failed_count : 21UPDATE voice_compaign_detail_81548 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81548 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81548 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81548 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='91', `user_busy_sms`='68', `user_congestion_sms`='10', `user_failed_sms`='48', `user_hangup_sms`='0', `user_no_answer_sms`='86', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='73' WHERE `compaign_id`=81548 LIMIT 1 


Time Diff : 0.404

Array
(
    [0] => 81549
    [compaign_id] => 81549
    [1] => u607
    [user_id] => u607
    [2] => 68782,
    [group_ids] => 68782,
    [3] => 
    [sender_id] => 
    [4] => malupally_srinivas.mp3(1)
    [filename] => malupally_srinivas.mp3(1)
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024200
    [start_date] => 1765024200
    [9] => 0
    [end_date] => 0
    [10] => 995
    [total_sms] => 995
    [11] => 995
    [sent_sms] => 995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 251
    [failed_sms] => 251
    [17] => 0
    [hangup_sms] => 0
    [18] => 56
    [no_answer_sms] => 56
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 380
    [cutting_sms] => 380
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 251
    [user_failed_sms] => 251
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 56
    [user_no_answer_sms] => 56
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 188
    [user_dnd_sms] => 188
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765023425
    [create_date] => 1765023425
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024214,"compaign_read_complete_time":1765024217,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024264}
    [action_time] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024214,"compaign_read_complete_time":1765024217,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024264}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81549_06122025_060006PM_644
    [common_name] => u607_81549_06122025_060006PM_644
    [52] => 1764997942_u607_voice.wav
    [voice_file] => 1764997942_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68782
    [temp_group_table] => contacts_temp_group_68782
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024502
    [last_credit_update_time] => 1765024502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81549
\compaign_type : Rans per 30.17296 
ans sms 995
dnd sms 188

require answer perrequire answer per : 244

user answer per : 75
below is the redis data 169 /n/r
only no answer and busy will be convert, total number require 169 /n/r
UPDATE voice_compaign_detail_81549 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_81549 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 119 Total Failed : 238 no_answer_count : 80 Busy count :62 congestion_count : 29 failed_count : 67UPDATE voice_compaign_detail_81549 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_81549 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 UPDATE voice_compaign_detail_81549 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81549 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='176', `user_busy_sms`='181', `user_congestion_sms`='29', `user_failed_sms`='222', `user_hangup_sms`='0', `user_no_answer_sms`='199', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81549 LIMIT 1 


Time Diff : 0.273

Array
(
    [0] => 81550
    [compaign_id] => 81550
    [1] => u607
    [user_id] => u607
    [2] => 68780,
    [group_ids] => 68780,
    [3] => 
    [sender_id] => 
    [4] => basker_MADURANAGAR.mp3
    [filename] => basker_MADURANAGAR.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024200
    [start_date] => 1765024200
    [9] => 0
    [end_date] => 0
    [10] => 1071
    [total_sms] => 1071
    [11] => 1071
    [sent_sms] => 1071
    [12] => 0
    [duplicate_sms] => 0
    [13] => 91
    [answered_sms] => 91
    [14] => 76
    [busy_sms] => 76
    [15] => 0
    [congestion_sms] => 0
    [16] => 159
    [failed_sms] => 159
    [17] => 0
    [hangup_sms] => 0
    [18] => 112
    [no_answer_sms] => 112
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 336
    [cutting_sms] => 336
    [22] => 297
    [dnd_sms] => 297
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 91
    [user_answered_sms] => 91
    [27] => 76
    [user_busy_sms] => 76
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 159
    [user_failed_sms] => 159
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 112
    [user_no_answer_sms] => 112
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 297
    [user_dnd_sms] => 297
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765023425
    [create_date] => 1765023425
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024208,"compaign_read_start_time":1765024217,"compaign_read_complete_time":1765024219,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024264}
    [action_time] => {"api_allot_time":1765024208,"compaign_read_start_time":1765024217,"compaign_read_complete_time":1765024219,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024264}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81550_06122025_060006PM_256
    [common_name] => u607_81550_06122025_060006PM_256
    [52] => 1765004097_u607_voice.wav
    [voice_file] => 1765004097_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68780
    [temp_group_table] => contacts_temp_group_68780
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024502
    [last_credit_update_time] => 1765024502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81550
\compaign_type : Rans per 29.67562 
ans sms 1071
dnd sms 297

require answer perrequire answer per : 230

user answer per : 91
below is the redis data 139 /n/r
only no answer and busy will be convert, total number require 139 /n/r
UPDATE voice_compaign_detail_81550 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 99 UPDATE voice_compaign_detail_81550 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 99 Total Failed : 196 no_answer_count : 66 Busy count :51 congestion_count : 24 failed_count : 55UPDATE voice_compaign_detail_81550 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 66 UPDATE voice_compaign_detail_81550 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81550 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81550 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='230', `user_busy_sms`='170', `user_congestion_sms`='24', `user_failed_sms`='156', `user_hangup_sms`='0', `user_no_answer_sms`='194', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='297' WHERE `compaign_id`=81550 LIMIT 1 


Time Diff : 0.254

Array
(
    [0] => 81564
    [compaign_id] => 81564
    [1] => u607
    [user_id] => u607
    [2] => 68793,
    [group_ids] => 68793,
    [3] => 
    [sender_id] => 
    [4] => enkepalli.mp3
    [filename] => enkepalli.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024200
    [start_date] => 1765024200
    [9] => 0
    [end_date] => 0
    [10] => 298
    [total_sms] => 298
    [11] => 298
    [sent_sms] => 298
    [12] => 0
    [duplicate_sms] => 0
    [13] => 21
    [answered_sms] => 21
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 77
    [failed_sms] => 77
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 80
    [cutting_sms] => 80
    [22] => 84
    [dnd_sms] => 84
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 21
    [user_answered_sms] => 21
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 77
    [user_failed_sms] => 77
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 10
    [user_no_answer_sms] => 10
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 84
    [user_dnd_sms] => 84
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765024023
    [create_date] => 1765024023
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024220,"compaign_read_complete_time":1765024221,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024263}
    [action_time] => {"api_allot_time":1765024207,"compaign_read_start_time":1765024220,"compaign_read_complete_time":1765024221,"compaign_send_start_time":1765024262,"compaign_send_complete_time":1765024263}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81564_06122025_060006PM_549
    [common_name] => u607_81564_06122025_060006PM_549
    [52] => 1764845149_u607_voice.wav
    [voice_file] => 1764845149_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68793
    [temp_group_table] => contacts_temp_group_68793
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024502
    [last_credit_update_time] => 1765024502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81564
\compaign_type : Rans per 27.61974 
ans sms 298
dnd sms 84

require answer perrequire answer per : 60

user answer per : 21
below is the redis data 39 /n/r
only no answer and busy will be convert, total number require 39 /n/r
UPDATE voice_compaign_detail_81564 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81564 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 31 Total Failed : 52 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 13UPDATE voice_compaign_detail_81564 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81564 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81564 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81564 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='57', `user_busy_sms`='45', `user_congestion_sms`='7', `user_failed_sms`='56', `user_hangup_sms`='0', `user_no_answer_sms`='49', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81564 LIMIT 1 


Time Diff : 0.916

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765482'  
Array
(
    [0] => 81570
    [compaign_id] => 81570
    [1] => u29720
    [user_id] => u29720
    [2] => 68799,
    [group_ids] => 68799,
    [3] => 
    [sender_id] => 
    [4] => Karkapally.mp3(1)
    [filename] => Karkapally.mp3(1)
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024322
    [start_date] => 1765024322
    [9] => 0
    [end_date] => 0
    [10] => 211
    [total_sms] => 211
    [11] => 211
    [sent_sms] => 211
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 40
    [failed_sms] => 40
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 38
    [cutting_sms] => 38
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 17
    [user_answered_sms] => 17
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 40
    [user_failed_sms] => 40
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 32
    [user_no_answer_sms] => 32
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 62
    [user_dnd_sms] => 62
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765024322
    [create_date] => 1765024322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024328,"compaign_read_start_time":1765024333,"compaign_read_complete_time":1765024334,"compaign_send_start_time":1765024382,"compaign_send_complete_time":1765024383}
    [action_time] => {"api_allot_time":1765024328,"compaign_read_start_time":1765024333,"compaign_read_complete_time":1765024334,"compaign_send_start_time":1765024382,"compaign_send_complete_time":1765024383}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81570_06122025_060207PM_134
    [common_name] => u29720_81570_06122025_060207PM_134
    [52] => 1764993087_u29720_voice.wav
    [voice_file] => 1764993087_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68799
    [temp_group_table] => contacts_temp_group_68799
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024622
    [last_credit_update_time] => 1765024622
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81570
\compaign_type : Rans per 27.76801 
ans sms 211
dnd sms 62

require answer perrequire answer per : 42

user answer per : 17
below is the redis data 25 UPDATE voice_compaign_detail_81570 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 Total Failed : 13 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_81570 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81570 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81570 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81570 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='42', `user_busy_sms`='26', `user_congestion_sms`='2', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='37', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81570 LIMIT 1 


Time Diff : 1.284

Array
(
    [0] => 81571
    [compaign_id] => 81571
    [1] => u607
    [user_id] => u607
    [2] => 68801,
    [group_ids] => 68801,
    [3] => 
    [sender_id] => 
    [4] => prasad_alwal.mp3
    [filename] => prasad_alwal.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024347
    [start_date] => 1765024347
    [9] => 0
    [end_date] => 0
    [10] => 2104
    [total_sms] => 2104
    [11] => 2104
    [sent_sms] => 2104
    [12] => 0
    [duplicate_sms] => 0
    [13] => 249
    [answered_sms] => 249
    [14] => 136
    [busy_sms] => 136
    [15] => 1
    [congestion_sms] => 1
    [16] => 438
    [failed_sms] => 438
    [17] => 0
    [hangup_sms] => 0
    [18] => 188
    [no_answer_sms] => 188
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 894
    [cutting_sms] => 894
    [22] => 198
    [dnd_sms] => 198
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 249
    [user_answered_sms] => 249
    [27] => 136
    [user_busy_sms] => 136
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 438
    [user_failed_sms] => 438
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 188
    [user_no_answer_sms] => 188
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 198
    [user_dnd_sms] => 198
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765024346
    [create_date] => 1765024346
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024354,"compaign_read_start_time":1765024354,"compaign_read_complete_time":1765024358,"compaign_send_start_time":1765024382,"compaign_send_complete_time":1765024396}
    [action_time] => {"api_allot_time":1765024354,"compaign_read_start_time":1765024354,"compaign_read_complete_time":1765024358,"compaign_send_start_time":1765024382,"compaign_send_complete_time":1765024396}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81571_06122025_060233PM_125
    [common_name] => u607_81571_06122025_060233PM_125
    [52] => 1765024344_u607_voice.wav
    [voice_file] => 1765024344_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68801
    [temp_group_table] => contacts_temp_group_68801
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765024503
    [reschedule_last_check_time] => 1765024503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024622
    [last_credit_update_time] => 1765024622
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765026000}
    [rt_time] => {"1":1765026000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81571
\compaign_type : Rans per 25.24544 
ans sms 2104
dnd sms 198

require answer perrequire answer per : 482

user answer per : 249
below is the redis data 233 /n/r
only no answer and busy will be convert, total number require 233 /n/r
UPDATE voice_compaign_detail_81571 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 166 UPDATE voice_compaign_detail_81571 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 166 Total Failed : 675 no_answer_count : 226 Busy count :174 congestion_count : 81 failed_count : 194UPDATE voice_compaign_detail_81571 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 226 UPDATE voice_compaign_detail_81571 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 174 UPDATE voice_compaign_detail_81571 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 81 UPDATE voice_compaign_detail_81571 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 194 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='482', `user_busy_sms`='379', `user_congestion_sms`='82', `user_failed_sms`='519', `user_hangup_sms`='0', `user_no_answer_sms`='444', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='198' WHERE `compaign_id`=81571 LIMIT 1 


Time Diff : 0.129

Array
(
    [0] => 81573
    [compaign_id] => 81573
    [1] => u29720
    [user_id] => u29720
    [2] => 68803,
    [group_ids] => 68803,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3(1)
    [filename] => Ghanpur Mulugu.mp3(1)
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024361
    [start_date] => 1765024361
    [9] => 0
    [end_date] => 0
    [10] => 2198
    [total_sms] => 2198
    [11] => 2198
    [sent_sms] => 2198
    [12] => 0
    [duplicate_sms] => 0
    [13] => 327
    [answered_sms] => 327
    [14] => 136
    [busy_sms] => 136
    [15] => 2
    [congestion_sms] => 2
    [16] => 267
    [failed_sms] => 267
    [17] => 0
    [hangup_sms] => 0
    [18] => 231
    [no_answer_sms] => 231
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 890
    [cutting_sms] => 890
    [22] => 345
    [dnd_sms] => 345
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 327
    [user_answered_sms] => 327
    [27] => 136
    [user_busy_sms] => 136
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 267
    [user_failed_sms] => 267
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 231
    [user_no_answer_sms] => 231
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 345
    [user_dnd_sms] => 345
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765024359
    [create_date] => 1765024359
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024368,"compaign_read_start_time":1765024369,"compaign_read_complete_time":1765024374,"compaign_send_start_time":1765024382,"compaign_send_complete_time":1765024396}
    [action_time] => {"api_allot_time":1765024368,"compaign_read_start_time":1765024369,"compaign_read_complete_time":1765024374,"compaign_send_start_time":1765024382,"compaign_send_complete_time":1765024396}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81573_06122025_060247PM_205
    [common_name] => u29720_81573_06122025_060247PM_205
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68803
    [temp_group_table] => contacts_temp_group_68803
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765024503
    [reschedule_last_check_time] => 1765024503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024622
    [last_credit_update_time] => 1765024622
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81573
\compaign_type : Rans per 26.30901 
ans sms 2198
dnd sms 345

require answer perrequire answer per : 488

user answer per : 327
below is the redis data 161 UPDATE voice_compaign_detail_81573 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 161 Total Failed : 729 no_answer_count : 244 Busy count :188 congestion_count : 87 failed_count : 210UPDATE voice_compaign_detail_81573 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 244 UPDATE voice_compaign_detail_81573 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 188 UPDATE voice_compaign_detail_81573 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_81573 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 210 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='488', `user_busy_sms`='324', `user_congestion_sms`='89', `user_failed_sms`='477', `user_hangup_sms`='0', `user_no_answer_sms`='475', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='345' WHERE `compaign_id`=81573 LIMIT 1 


Time Diff : 0.124

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765662'  
Array
(
    [0] => 81572
    [compaign_id] => 81572
    [1] => sr95
    [user_id] => sr95
    [2] => 68802,
    [group_ids] => 68802,
    [3] => 
    [sender_id] => 
    [4] => GollapalliYashwini.mp3
    [filename] => GollapalliYashwini.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024355
    [start_date] => 1765024355
    [9] => 0
    [end_date] => 0
    [10] => 1092
    [total_sms] => 1092
    [11] => 1092
    [sent_sms] => 1092
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 93
    [busy_sms] => 93
    [15] => 0
    [congestion_sms] => 0
    [16] => 242
    [failed_sms] => 242
    [17] => 0
    [hangup_sms] => 0
    [18] => 160
    [no_answer_sms] => 160
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 423
    [cutting_sms] => 423
    [22] => 170
    [dnd_sms] => 170
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 93
    [user_busy_sms] => 93
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 242
    [user_failed_sms] => 242
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 160
    [user_no_answer_sms] => 160
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 170
    [user_dnd_sms] => 170
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr95
    [created_by] => sr95
    [38] => 0
    [isScheduled] => 0
    [39] => 1765024354
    [create_date] => 1765024354
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024492,"compaign_read_start_time":1765024502,"compaign_read_complete_time":1765024504,"compaign_send_start_time":1765024561,"compaign_send_complete_time":1765024564}
    [action_time] => {"api_allot_time":1765024492,"compaign_read_start_time":1765024502,"compaign_read_complete_time":1765024504,"compaign_send_start_time":1765024561,"compaign_send_complete_time":1765024564}
    [50] => 0
    [compaign_file] => 0
    [51] => sr95_81572_06122025_060241PM_564
    [common_name] => sr95_81572_06122025_060241PM_564
    [52] => 1765024354_sr95_voice.wav
    [voice_file] => 1765024354_sr95_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68802
    [temp_group_table] => contacts_temp_group_68802
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765024802
    [last_credit_update_time] => 1765024802
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 249
    [user_voice_plan_id] => 249
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95
    [uphierarchy] => admin,sr95
    [113] => 
    [extra_params_json] => 
)


Compaign : 81572
\compaign_type : Rans per 30.12379 
ans sms 1092
dnd sms 170

require answer perrequire answer per : 278

user answer per : 4
below is the redis data 274 /n/r
only no answer and busy will be convert, total number require 274 /n/r
UPDATE voice_compaign_detail_81572 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 192 UPDATE voice_compaign_detail_81572 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 192 Total Failed : 181 no_answer_count : 61 Busy count :47 congestion_count : 22 failed_count : 51UPDATE voice_compaign_detail_81572 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_81572 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81572 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81572 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='257', `user_busy_sms`='239', `user_congestion_sms`='22', `user_failed_sms`='151', `user_hangup_sms`='0', `user_no_answer_sms`='253', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='170' WHERE `compaign_id`=81572 LIMIT 1 


Time Diff : 0.25

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765902'  
Array
(
    [0] => 81575
    [compaign_id] => 81575
    [1] => u29720
    [user_id] => u29720
    [2] => 68805,
    [group_ids] => 68805,
    [3] => 
    [sender_id] => 
    [4] => Mylaram Congress.mp3
    [filename] => Mylaram Congress.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024623
    [start_date] => 1765024623
    [9] => 0
    [end_date] => 0
    [10] => 322
    [total_sms] => 322
    [11] => 322
    [sent_sms] => 322
    [12] => 0
    [duplicate_sms] => 0
    [13] => 38
    [answered_sms] => 38
    [14] => 57
    [busy_sms] => 57
    [15] => 0
    [congestion_sms] => 0
    [16] => 64
    [failed_sms] => 64
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 104
    [cutting_sms] => 104
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 38
    [user_answered_sms] => 38
    [27] => 57
    [user_busy_sms] => 57
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 64
    [user_failed_sms] => 64
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 59
    [user_no_answer_sms] => 59
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765024623
    [create_date] => 1765024623
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024761,"compaign_read_start_time":1765024762,"compaign_read_complete_time":1765024763,"compaign_send_start_time":1765024802,"compaign_send_complete_time":1765024927}
    [action_time] => {"api_allot_time":1765024761,"compaign_read_start_time":1765024762,"compaign_read_complete_time":1765024763,"compaign_send_start_time":1765024802,"compaign_send_complete_time":1765024927}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81575_06122025_060709PM_445
    [common_name] => u29720_81575_06122025_060709PM_445
    [52] => 1764835204_u29720_voice.wav
    [voice_file] => 1764835204_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68805
    [temp_group_table] => contacts_temp_group_68805
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765025041
    [last_credit_update_time] => 1765025041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81575
\compaign_type : Rans per 26.73474 
ans sms 322
dnd sms 0

require answer perrequire answer per : 87

user answer per : 38
below is the redis data 49 UPDATE voice_compaign_detail_81575 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 49 Total Failed : 55 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 14UPDATE voice_compaign_detail_81575 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81575 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81575 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81575 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='87', `user_busy_sms`='72', `user_congestion_sms`='7', `user_failed_sms`='78', `user_hangup_sms`='0', `user_no_answer_sms`='78', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81575 LIMIT 1 


Time Diff : 0.475

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764765961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766082'  
Array
(
    [0] => 81577
    [compaign_id] => 81577
    [1] => u29720
    [user_id] => u29720
    [2] => 68806,
    [group_ids] => 68806,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3(1)
    [filename] => Ghanpur Mulugu.mp3(1)
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765024930
    [start_date] => 1765024930
    [9] => 0
    [end_date] => 0
    [10] => 1365
    [total_sms] => 1365
    [11] => 1365
    [sent_sms] => 1365
    [12] => 0
    [duplicate_sms] => 0
    [13] => 156
    [answered_sms] => 156
    [14] => 133
    [busy_sms] => 133
    [15] => 0
    [congestion_sms] => 0
    [16] => 255
    [failed_sms] => 255
    [17] => 0
    [hangup_sms] => 0
    [18] => 163
    [no_answer_sms] => 163
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 658
    [cutting_sms] => 658
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 156
    [user_answered_sms] => 156
    [27] => 133
    [user_busy_sms] => 133
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 255
    [user_failed_sms] => 255
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 163
    [user_no_answer_sms] => 163
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765024930
    [create_date] => 1765024930
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765024936,"compaign_read_start_time":1765024936,"compaign_read_complete_time":1765024939,"compaign_send_start_time":1765024981,"compaign_send_complete_time":1765024984}
    [action_time] => {"api_allot_time":1765024936,"compaign_read_start_time":1765024936,"compaign_read_complete_time":1765024939,"compaign_send_start_time":1765024981,"compaign_send_complete_time":1765024984}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81577_06122025_061215PM_795
    [common_name] => u29720_81577_06122025_061215PM_795
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68806
    [temp_group_table] => contacts_temp_group_68806
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765025222
    [last_credit_update_time] => 1765025222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81577
\compaign_type : Rans per 27.1736 
ans sms 1365
dnd sms 0

require answer perrequire answer per : 371

user answer per : 156
below is the redis data 215 UPDATE voice_compaign_detail_81577 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 215 Total Failed : 443 no_answer_count : 148 Busy count :114 congestion_count : 53 failed_count : 128UPDATE voice_compaign_detail_81577 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 148 UPDATE voice_compaign_detail_81577 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 114 UPDATE voice_compaign_detail_81577 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81577 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 128 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='371', `user_busy_sms`='247', `user_congestion_sms`='53', `user_failed_sms`='383', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81577 LIMIT 1 


Time Diff : 0.2

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766262'  
Array
(
    [0] => 81566
    [compaign_id] => 81566
    [1] => u607
    [user_id] => u607
    [2] => 68792,
    [group_ids] => 68792,
    [3] => 
    [sender_id] => 
    [4] => gopal_bejgaon.mp3
    [filename] => gopal_bejgaon.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765025100
    [start_date] => 1765025100
    [9] => 0
    [end_date] => 0
    [10] => 881
    [total_sms] => 881
    [11] => 881
    [sent_sms] => 881
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 54
    [busy_sms] => 54
    [15] => 0
    [congestion_sms] => 0
    [16] => 184
    [failed_sms] => 184
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 350
    [cutting_sms] => 350
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 78
    [user_answered_sms] => 78
    [27] => 54
    [user_busy_sms] => 54
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 184
    [user_failed_sms] => 184
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 66
    [user_no_answer_sms] => 66
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765024025
    [create_date] => 1765024025
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765025106,"compaign_read_start_time":1765025108,"compaign_read_complete_time":1765025109,"compaign_send_start_time":1765025161,"compaign_send_complete_time":1765025163}
    [action_time] => {"api_allot_time":1765025106,"compaign_read_start_time":1765025108,"compaign_read_complete_time":1765025109,"compaign_send_start_time":1765025161,"compaign_send_complete_time":1765025163}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81566_06122025_061506PM_185
    [common_name] => u607_81566_06122025_061506PM_185
    [52] => 1764915195_u607_voice.wav
    [voice_file] => 1764915195_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68792
    [temp_group_table] => contacts_temp_group_68792
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765025401
    [last_credit_update_time] => 1765025401
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81566
\compaign_type : Rans per 25.33391 
ans sms 881
dnd sms 149

require answer perrequire answer per : 186

user answer per : 78
below is the redis data 108 /n/r
only no answer and busy will be convert, total number require 108 /n/r
UPDATE voice_compaign_detail_81566 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_81566 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 79 Total Failed : 251 no_answer_count : 84 Busy count :65 congestion_count : 30 failed_count : 72UPDATE voice_compaign_detail_81566 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 UPDATE voice_compaign_detail_81566 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_81566 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81566 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='186', `user_busy_sms`='149', `user_congestion_sms`='30', `user_failed_sms`='197', `user_hangup_sms`='0', `user_no_answer_sms`='170', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=81566 LIMIT 1 


Time Diff : 0.31

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766381'  
Array
(
    [0] => 81579
    [compaign_id] => 81579
    [1] => u83
    [user_id] => u83
    [2] => 68809,
    [group_ids] => 68809,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765025228
    [start_date] => 1765025228
    [9] => 0
    [end_date] => 0
    [10] => 216
    [total_sms] => 216
    [11] => 216
    [sent_sms] => 216
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 43
    [failed_sms] => 43
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 25
    [cutting_sms] => 25
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 43
    [user_failed_sms] => 43
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 10
    [user_no_answer_sms] => 10
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765025228
    [create_date] => 1765025228
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765025234,"compaign_read_start_time":1765025236,"compaign_read_complete_time":1765025237,"compaign_send_start_time":1765025282,"compaign_send_complete_time":1765025283}
    [action_time] => {"api_allot_time":1765025234,"compaign_read_start_time":1765025236,"compaign_read_complete_time":1765025237,"compaign_send_start_time":1765025282,"compaign_send_complete_time":1765025283}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81579_06122025_061713PM_307
    [common_name] => u83_81579_06122025_061713PM_307
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68809
    [temp_group_table] => contacts_temp_group_68809
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765025521
    [last_credit_update_time] => 1765025521
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81579
\compaign_type : Rans per 30.29797 
ans sms 216
dnd sms 120

require answer perrequire answer per : 30

user answer per : 5
below is the redis data 25 /n/r
only no answer and busy will be convert, total number require 25 /n/r
UPDATE voice_compaign_detail_81579 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81579 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 Total Failed : 8 no_answer_count : 3 Busy count :3 congestion_count : 1 failed_count : 1UPDATE voice_compaign_detail_81579 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81579 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81579 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81579 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='28', `user_busy_sms`='23', `user_congestion_sms`='1', `user_failed_sms`='21', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81579 LIMIT 1 


Time Diff : 1.259

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766681'  
Array
(
    [0] => 81582
    [compaign_id] => 81582
    [1] => u29720
    [user_id] => u29720
    [2] => 68810,
    [group_ids] => 68810,
    [3] => 
    [sender_id] => 
    [4] => Ghanpur Mulugu.mp3(1)
    [filename] => Ghanpur Mulugu.mp3(1)
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765025525
    [start_date] => 1765025525
    [9] => 0
    [end_date] => 0
    [10] => 994
    [total_sms] => 994
    [11] => 994
    [sent_sms] => 994
    [12] => 0
    [duplicate_sms] => 0
    [13] => 104
    [answered_sms] => 104
    [14] => 109
    [busy_sms] => 109
    [15] => 0
    [congestion_sms] => 0
    [16] => 221
    [failed_sms] => 221
    [17] => 0
    [hangup_sms] => 0
    [18] => 105
    [no_answer_sms] => 105
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 455
    [cutting_sms] => 455
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 104
    [user_answered_sms] => 104
    [27] => 109
    [user_busy_sms] => 109
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 221
    [user_failed_sms] => 221
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 105
    [user_no_answer_sms] => 105
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765025525
    [create_date] => 1765025525
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765025532,"compaign_read_start_time":1765025536,"compaign_read_complete_time":1765025539,"compaign_send_start_time":1765025582,"compaign_send_complete_time":1765025584}
    [action_time] => {"api_allot_time":1765025532,"compaign_read_start_time":1765025536,"compaign_read_complete_time":1765025539,"compaign_send_start_time":1765025582,"compaign_send_complete_time":1765025584}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81582_06122025_062211PM_825
    [common_name] => u29720_81582_06122025_062211PM_825
    [52] => 1764992934_u29720_voice.wav
    [voice_file] => 1764992934_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68810
    [temp_group_table] => contacts_temp_group_68810
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765025822
    [last_credit_update_time] => 1765025822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81582
\compaign_type : Rans per 26.29646 
ans sms 994
dnd sms 0

require answer perrequire answer per : 262

user answer per : 104
below is the redis data 158 UPDATE voice_compaign_detail_81582 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 158 Total Failed : 297 no_answer_count : 100 Busy count :77 congestion_count : 36 failed_count : 84UPDATE voice_compaign_detail_81582 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 100 UPDATE voice_compaign_detail_81582 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 77 UPDATE voice_compaign_detail_81582 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81582 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='262', `user_busy_sms`='186', `user_congestion_sms`='36', `user_failed_sms`='305', `user_hangup_sms`='0', `user_no_answer_sms`='205', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81582 LIMIT 1 


Time Diff : 0.273

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766862'  
Array
(
    [0] => 81583
    [compaign_id] => 81583
    [1] => u29695
    [user_id] => u29695
    [2] => 68813,
    [group_ids] => 68813,
    [3] => 
    [sender_id] => 
    [4] => Andranagar DV.mp3
    [filename] => Andranagar DV.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765025724
    [start_date] => 1765025724
    [9] => 0
    [end_date] => 0
    [10] => 155
    [total_sms] => 155
    [11] => 155
    [sent_sms] => 155
    [12] => 0
    [duplicate_sms] => 0
    [13] => 34
    [answered_sms] => 34
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 43
    [failed_sms] => 43
    [17] => 0
    [hangup_sms] => 0
    [18] => 39
    [no_answer_sms] => 39
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 29
    [cutting_sms] => 29
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 34
    [user_answered_sms] => 34
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 43
    [user_failed_sms] => 43
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 39
    [user_no_answer_sms] => 39
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765025724
    [create_date] => 1765025724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765025730,"compaign_read_start_time":1765025731,"compaign_read_complete_time":1765025731,"compaign_send_start_time":1765025762,"compaign_send_complete_time":1765025828}
    [action_time] => {"api_allot_time":1765025730,"compaign_read_start_time":1765025731,"compaign_read_complete_time":1765025731,"compaign_send_start_time":1765025762,"compaign_send_complete_time":1765025828}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81583_06122025_062529PM_963
    [common_name] => u29695_81583_06122025_062529PM_963
    [52] => 1764995703_u29695_voice.wav
    [voice_file] => 1764995703_u29695_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68813
    [temp_group_table] => contacts_temp_group_68813
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765026001
    [last_credit_update_time] => 1765026001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1901
    [user_voice_plan_id] => 1901
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u29695
    [uphierarchy] => admin,sr135,u29695
    [113] => 
    [extra_params_json] => 
)


Compaign : 81583
\compaign_type : Rans per 28.17203 
ans sms 155
dnd sms 0

require answer perrequire answer per : 44

user answer per : 34
below is the redis data 10 UPDATE voice_compaign_detail_81583 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10 Total Failed : 19 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_81583 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81583 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81583 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81583 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='44', `user_busy_sms`='15', `user_congestion_sms`='3', `user_failed_sms`='47', `user_hangup_sms`='0', `user_no_answer_sms`='46', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81583 LIMIT 1 


Time Diff : 1.135

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764766981'  
Array
(
    [0] => 81584
    [compaign_id] => 81584
    [1] => u29722
    [user_id] => u29722
    [2] => 68814,
    [group_ids] => 68814,
    [3] => 
    [sender_id] => 
    [4] => keesari Krishna Kondapoor.mp3
    [filename] => keesari Krishna Kondapoor.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765025832
    [start_date] => 1765025832
    [9] => 0
    [end_date] => 0
    [10] => 1073
    [total_sms] => 1073
    [11] => 1073
    [sent_sms] => 1073
    [12] => 0
    [duplicate_sms] => 0
    [13] => 162
    [answered_sms] => 162
    [14] => 53
    [busy_sms] => 53
    [15] => 0
    [congestion_sms] => 0
    [16] => 303
    [failed_sms] => 303
    [17] => 0
    [hangup_sms] => 0
    [18] => 80
    [no_answer_sms] => 80
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 475
    [cutting_sms] => 475
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 162
    [user_answered_sms] => 162
    [27] => 53
    [user_busy_sms] => 53
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 303
    [user_failed_sms] => 303
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 80
    [user_no_answer_sms] => 80
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765025832
    [create_date] => 1765025832
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765025839,"compaign_read_start_time":1765025840,"compaign_read_complete_time":1765025841,"compaign_send_start_time":1765025888,"compaign_send_complete_time":1765025891}
    [action_time] => {"api_allot_time":1765025839,"compaign_read_start_time":1765025840,"compaign_read_complete_time":1765025841,"compaign_send_start_time":1765025888,"compaign_send_complete_time":1765025891}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81584_06122025_062718PM_782
    [common_name] => u29722_81584_06122025_062718PM_782
    [52] => 1764911353_u29722_voice.wav
    [voice_file] => 1764911353_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68814
    [temp_group_table] => contacts_temp_group_68814
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765026122
    [last_credit_update_time] => 1765026122
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81584
\compaign_type : Rans per 27.72781 
ans sms 1073
dnd sms 0

require answer perrequire answer per : 298

user answer per : 162
below is the redis data 136 UPDATE voice_compaign_detail_81584 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 136 Total Failed : 339 no_answer_count : 114 Busy count :87 congestion_count : 41 failed_count : 97UPDATE voice_compaign_detail_81584 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 114 UPDATE voice_compaign_detail_81584 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_81584 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81584 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 97 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='298', `user_busy_sms`='140', `user_congestion_sms`='41', `user_failed_sms`='400', `user_hangup_sms`='0', `user_no_answer_sms`='194', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81584 LIMIT 1 


Time Diff : 0.246

Array
(
    [0] => 81585
    [compaign_id] => 81585
    [1] => u29722
    [user_id] => u29722
    [2] => 68815,
    [group_ids] => 68815,
    [3] => 
    [sender_id] => 
    [4] => Padigela Srinivas.mp3
    [filename] => Padigela Srinivas.mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765025839
    [start_date] => 1765025839
    [9] => 0
    [end_date] => 0
    [10] => 2133
    [total_sms] => 2133
    [11] => 2133
    [sent_sms] => 2133
    [12] => 0
    [duplicate_sms] => 0
    [13] => 87
    [answered_sms] => 87
    [14] => 99
    [busy_sms] => 99
    [15] => 0
    [congestion_sms] => 0
    [16] => 826
    [failed_sms] => 826
    [17] => 0
    [hangup_sms] => 0
    [18] => 102
    [no_answer_sms] => 102
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1019
    [cutting_sms] => 1019
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 87
    [user_answered_sms] => 87
    [27] => 99
    [user_busy_sms] => 99
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 826
    [user_failed_sms] => 826
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 102
    [user_no_answer_sms] => 102
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765025839
    [create_date] => 1765025839
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765025845,"compaign_read_start_time":1765025846,"compaign_read_complete_time":1765025849,"compaign_send_start_time":1765025888,"compaign_send_complete_time":1765025893}
    [action_time] => {"api_allot_time":1765025845,"compaign_read_start_time":1765025846,"compaign_read_complete_time":1765025849,"compaign_send_start_time":1765025888,"compaign_send_complete_time":1765025893}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81585_06122025_062724PM_161
    [common_name] => u29722_81585_06122025_062724PM_161
    [52] => 1764995711_u29722_voice.wav
    [voice_file] => 1764995711_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68815
    [temp_group_table] => contacts_temp_group_68815
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765026122
    [last_credit_update_time] => 1765026122
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81585
\compaign_type : Rans per 27.24886 
ans sms 2133
dnd sms 0

require answer perrequire answer per : 582

user answer per : 87
below is the redis data 495 UPDATE voice_compaign_detail_81585 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 495 Total Failed : 524 no_answer_count : 175 Busy count :135 congestion_count : 63 failed_count : 151UPDATE voice_compaign_detail_81585 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 175 UPDATE voice_compaign_detail_81585 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 135 UPDATE voice_compaign_detail_81585 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_81585 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 151 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='582', `user_busy_sms`='234', `user_congestion_sms`='63', `user_failed_sms`='977', `user_hangup_sms`='0', `user_no_answer_sms`='277', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81585 LIMIT 1 


Time Diff : 0.111

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767101'  
Array
(
    [0] => 81578
    [compaign_id] => 81578
    [1] => u607
    [user_id] => u607
    [2] => 68807,
    [group_ids] => 68807,
    [3] => 
    [sender_id] => 
    [4] => prasad_alwal.mp3
    [filename] => prasad_alwal.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765026000
    [start_date] => 1765026000
    [9] => 0
    [end_date] => 0
    [10] => 1622
    [total_sms] => 1622
    [11] => 1622
    [sent_sms] => 1622
    [12] => 0
    [duplicate_sms] => 0
    [13] => 123
    [answered_sms] => 123
    [14] => 87
    [busy_sms] => 87
    [15] => 0
    [congestion_sms] => 0
    [16] => 389
    [failed_sms] => 389
    [17] => 0
    [hangup_sms] => 0
    [18] => 107
    [no_answer_sms] => 107
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 718
    [cutting_sms] => 718
    [22] => 198
    [dnd_sms] => 198
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 123
    [user_answered_sms] => 123
    [27] => 87
    [user_busy_sms] => 87
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 389
    [user_failed_sms] => 389
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 107
    [user_no_answer_sms] => 107
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 198
    [user_dnd_sms] => 198
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765024931
    [create_date] => 1765024931
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765026006,"compaign_read_start_time":1765026007,"compaign_read_complete_time":1765026010,"compaign_send_start_time":1765026062,"compaign_send_complete_time":1765026065}
    [action_time] => {"api_allot_time":1765026006,"compaign_read_start_time":1765026007,"compaign_read_complete_time":1765026010,"compaign_send_start_time":1765026062,"compaign_send_complete_time":1765026065}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81578_06122025_063005PM_762
    [common_name] => u607_81578_06122025_063005PM_762
    [52] => 1765024344_u607_voice.wav
    [voice_file] => 1765024344_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68807
    [temp_group_table] => contacts_temp_group_68807
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765026242
    [last_credit_update_time] => 1765026242
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81578
\compaign_type : Rans per 30.95402 
ans sms 1622
dnd sms 198

require answer perrequire answer per : 441

user answer per : 123
below is the redis data 318 /n/r
only no answer and busy will be convert, total number require 318 /n/r
UPDATE voice_compaign_detail_81578 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 236 UPDATE voice_compaign_detail_81578 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 236 Total Failed : 411 no_answer_count : 138 Busy count :106 congestion_count : 49 failed_count : 118UPDATE voice_compaign_detail_81578 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_81578 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 106 UPDATE voice_compaign_detail_81578 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_81578 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='317', `user_busy_sms`='342', `user_congestion_sms`='49', `user_failed_sms`='342', `user_hangup_sms`='0', `user_no_answer_sms`='374', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='198' WHERE `compaign_id`=81578 LIMIT 1 


Time Diff : 0.108

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767228'  
Array
(
    [0] => 81587
    [compaign_id] => 81587
    [1] => u29677
    [user_id] => u29677
    [2] => 65678,
    [group_ids] => 65678,
    [3] => 
    [sender_id] => 
    [4] => recorded_voice-fasten.mp3
    [filename] => recorded_voice-fasten.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765026085
    [start_date] => 1765026085
    [9] => 0
    [end_date] => 0
    [10] => 554
    [total_sms] => 554
    [11] => 554
    [sent_sms] => 554
    [12] => 0
    [duplicate_sms] => 0
    [13] => 88
    [answered_sms] => 88
    [14] => 57
    [busy_sms] => 57
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 89
    [no_answer_sms] => 89
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 172
    [cutting_sms] => 172
    [22] => 121
    [dnd_sms] => 121
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 88
    [user_answered_sms] => 88
    [27] => 57
    [user_busy_sms] => 57
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 89
    [user_no_answer_sms] => 89
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 121
    [user_dnd_sms] => 121
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29677
    [created_by] => u29677
    [38] => 0
    [isScheduled] => 0
    [39] => 1765026085
    [create_date] => 1765026085
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765026090,"compaign_read_start_time":1765026091,"compaign_read_complete_time":1765026094,"compaign_send_start_time":1765026122,"compaign_send_complete_time":1765026128}
    [action_time] => {"api_allot_time":1765026090,"compaign_read_start_time":1765026091,"compaign_read_complete_time":1765026094,"compaign_send_start_time":1765026122,"compaign_send_complete_time":1765026128}
    [50] => 0
    [compaign_file] => 0
    [51] => u29677_81587_06122025_063130PM_633
    [common_name] => u29677_81587_06122025_063130PM_633
    [52] => 1764325663_u29677_voice.wav
    [voice_file] => 1764325663_u29677_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_65678
    [temp_group_table] => contacts_temp_group_65678
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765026361
    [last_credit_update_time] => 1765026361
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1884
    [user_voice_plan_id] => 1884
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.35
    [pulse_rate] => 0.35
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","FFL":"1"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr305,u29677
    [uphierarchy] => admin,sr305,u29677
    [113] => 
    [extra_params_json] => 
)


Compaign : 81587
\compaign_type : Rans per 29.15363 
ans sms 554
dnd sms 121

require answer perrequire answer per : 127

user answer per : 88
below is the redis data 39 UPDATE voice_compaign_detail_81587 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 Total Failed : 133 no_answer_count : 45 Busy count :35 congestion_count : 16 failed_count : 37UPDATE voice_compaign_detail_81587 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_81587 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_81587 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81587 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='127', `user_busy_sms`='92', `user_congestion_sms`='16', `user_failed_sms`='64', `user_hangup_sms`='0', `user_no_answer_sms`='134', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='121' WHERE `compaign_id`=81587 LIMIT 1 


Time Diff : 0.502

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767282'  
Array
(
    [0] => 81590
    [compaign_id] => 81590
    [1] => u607
    [user_id] => u607
    [2] => 68818,
    [group_ids] => 68818,
    [3] => 
    [sender_id] => 
    [4] => GTP D3.mp3
    [filename] => GTP D3.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765026207
    [start_date] => 1765026207
    [9] => 0
    [end_date] => 0
    [10] => 2567
    [total_sms] => 2567
    [11] => 2567
    [sent_sms] => 2567
    [12] => 0
    [duplicate_sms] => 0
    [13] => 302
    [answered_sms] => 302
    [14] => 154
    [busy_sms] => 154
    [15] => 0
    [congestion_sms] => 0
    [16] => 489
    [failed_sms] => 489
    [17] => 0
    [hangup_sms] => 0
    [18] => 222
    [no_answer_sms] => 222
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1040
    [cutting_sms] => 1040
    [22] => 360
    [dnd_sms] => 360
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 302
    [user_answered_sms] => 302
    [27] => 154
    [user_busy_sms] => 154
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 489
    [user_failed_sms] => 489
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 222
    [user_no_answer_sms] => 222
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 360
    [user_dnd_sms] => 360
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765026206
    [create_date] => 1765026206
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765026214,"compaign_read_start_time":1765026214,"compaign_read_complete_time":1765026219,"compaign_send_start_time":1765026242,"compaign_send_complete_time":1765026246}
    [action_time] => {"api_allot_time":1765026214,"compaign_read_start_time":1765026214,"compaign_read_complete_time":1765026219,"compaign_send_start_time":1765026242,"compaign_send_complete_time":1765026246}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81590_06122025_063333PM_607
    [common_name] => u607_81590_06122025_063333PM_607
    [52] => 1765026205_u607_voice.wav
    [voice_file] => 1765026205_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68818
    [temp_group_table] => contacts_temp_group_68818
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765026302
    [reschedule_last_check_time] => 1765026302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765026428
    [last_credit_update_time] => 1765026428
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765027800}
    [rt_time] => {"1":1765027800}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81590
\compaign_type : Rans per 28.80926 
ans sms 2567
dnd sms 360

require answer perrequire answer per : 636

user answer per : 302
below is the redis data 334 /n/r
only no answer and busy will be convert, total number require 334 /n/r
UPDATE voice_compaign_detail_81590 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 258 UPDATE voice_compaign_detail_81590 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 258 Total Failed : 687 no_answer_count : 230 Busy count :177 congestion_count : 82 failed_count : 198UPDATE voice_compaign_detail_81590 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 230 UPDATE voice_compaign_detail_81590 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 177 UPDATE voice_compaign_detail_81590 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_81590 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 198 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='636', `user_busy_sms`='456', `user_congestion_sms`='82', `user_failed_sms`='524', `user_hangup_sms`='0', `user_no_answer_sms`='509', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='360' WHERE `compaign_id`=81590 LIMIT 1 


Time Diff : 0.083

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767583'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767703'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767763'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767887'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764767942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768065'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768902'  
Array
(
    [0] => 81598
    [compaign_id] => 81598
    [1] => u29720
    [user_id] => u29720
    [2] => 68824,
    [group_ids] => 68824,
    [3] => 
    [sender_id] => 
    [4] => Ghanapur Congress.mp3
    [filename] => Ghanapur Congress.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765027749
    [start_date] => 1765027749
    [9] => 0
    [end_date] => 0
    [10] => 2543
    [total_sms] => 2543
    [11] => 2543
    [sent_sms] => 2543
    [12] => 0
    [duplicate_sms] => 0
    [13] => 413
    [answered_sms] => 413
    [14] => 176
    [busy_sms] => 176
    [15] => 0
    [congestion_sms] => 0
    [16] => 291
    [failed_sms] => 291
    [17] => 0
    [hangup_sms] => 0
    [18] => 272
    [no_answer_sms] => 272
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 990
    [cutting_sms] => 990
    [22] => 401
    [dnd_sms] => 401
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 413
    [user_answered_sms] => 413
    [27] => 176
    [user_busy_sms] => 176
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 291
    [user_failed_sms] => 291
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 272
    [user_no_answer_sms] => 272
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 401
    [user_dnd_sms] => 401
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765027747
    [create_date] => 1765027747
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765027757,"compaign_read_start_time":1765027759,"compaign_read_complete_time":1765027766,"compaign_send_start_time":1765027802,"compaign_send_complete_time":1765027809}
    [action_time] => {"api_allot_time":1765027757,"compaign_read_start_time":1765027759,"compaign_read_complete_time":1765027766,"compaign_send_start_time":1765027802,"compaign_send_complete_time":1765027809}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81598_06122025_065916PM_621
    [common_name] => u29720_81598_06122025_065916PM_621
    [52] => 1765027747_u29720_voice.wav
    [voice_file] => 1765027747_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68824
    [temp_group_table] => contacts_temp_group_68824
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765028041
    [last_credit_update_time] => 1765028041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81598
\compaign_type : Rans per 29.44235 
ans sms 2543
dnd sms 401

require answer perrequire answer per : 631

user answer per : 413
below is the redis data 218 UPDATE voice_compaign_detail_81598 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 218 Total Failed : 772 no_answer_count : 258 Busy count :199 congestion_count : 92 failed_count : 223UPDATE voice_compaign_detail_81598 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 258 UPDATE voice_compaign_detail_81598 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 199 UPDATE voice_compaign_detail_81598 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_81598 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 223 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='631', `user_busy_sms`='375', `user_congestion_sms`='92', `user_failed_sms`='514', `user_hangup_sms`='0', `user_no_answer_sms`='530', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='401' WHERE `compaign_id`=81598 LIMIT 1 


Time Diff : 0.093

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764768962'  
Array
(
    [0] => 81599
    [compaign_id] => 81599
    [1] => u29720
    [user_id] => u29720
    [2] => 68825,
    [group_ids] => 68825,
    [3] => 
    [sender_id] => 
    [4] => Ghanapur Congress.mp3
    [filename] => Ghanapur Congress.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765027820
    [start_date] => 1765027820
    [9] => 0
    [end_date] => 0
    [10] => 676
    [total_sms] => 676
    [11] => 676
    [sent_sms] => 676
    [12] => 0
    [duplicate_sms] => 0
    [13] => 102
    [answered_sms] => 102
    [14] => 46
    [busy_sms] => 46
    [15] => 1
    [congestion_sms] => 1
    [16] => 83
    [failed_sms] => 83
    [17] => 0
    [hangup_sms] => 0
    [18] => 67
    [no_answer_sms] => 67
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 262
    [cutting_sms] => 262
    [22] => 115
    [dnd_sms] => 115
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 102
    [user_answered_sms] => 102
    [27] => 46
    [user_busy_sms] => 46
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 83
    [user_failed_sms] => 83
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 67
    [user_no_answer_sms] => 67
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 115
    [user_dnd_sms] => 115
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765027819
    [create_date] => 1765027819
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765027827,"compaign_read_start_time":1765027828,"compaign_read_complete_time":1765027829,"compaign_send_start_time":1765027863,"compaign_send_complete_time":1765027865}
    [action_time] => {"api_allot_time":1765027827,"compaign_read_start_time":1765027828,"compaign_read_complete_time":1765027829,"compaign_send_start_time":1765027863,"compaign_send_complete_time":1765027865}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81599_06122025_070026PM_914
    [common_name] => u29720_81599_06122025_070026PM_914
    [52] => 1765027747_u29720_voice.wav
    [voice_file] => 1765027747_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68825
    [temp_group_table] => contacts_temp_group_68825
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765028103
    [reschedule_last_check_time] => 1765028103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765028102
    [last_credit_update_time] => 1765028102
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81599
\compaign_type : Rans per 27.21648 
ans sms 676
dnd sms 115

require answer perrequire answer per : 153

user answer per : 102
below is the redis data 51 UPDATE voice_compaign_detail_81599 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 51 Total Failed : 212 no_answer_count : 71 Busy count :55 congestion_count : 26 failed_count : 60UPDATE voice_compaign_detail_81599 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81599 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81599 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81599 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='153', `user_busy_sms`='101', `user_congestion_sms`='26', `user_failed_sms`='143', `user_hangup_sms`='0', `user_no_answer_sms`='138', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='115' WHERE `compaign_id`=81599 LIMIT 1 


Time Diff : 0.392

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769023'  
Array
(
    [0] => 81596
    [compaign_id] => 81596
    [1] => u607
    [user_id] => u607
    [2] => 68822,
    [group_ids] => 68822,
    [3] => 
    [sender_id] => 
    [4] => GTP D3.mp3
    [filename] => GTP D3.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765027800
    [start_date] => 1765027800
    [9] => 0
    [end_date] => 0
    [10] => 1931
    [total_sms] => 1931
    [11] => 1931
    [sent_sms] => 1931
    [12] => 0
    [duplicate_sms] => 0
    [13] => 142
    [answered_sms] => 142
    [14] => 74
    [busy_sms] => 74
    [15] => 0
    [congestion_sms] => 0
    [16] => 480
    [failed_sms] => 480
    [17] => 0
    [hangup_sms] => 0
    [18] => 97
    [no_answer_sms] => 97
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 778
    [cutting_sms] => 778
    [22] => 360
    [dnd_sms] => 360
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 142
    [user_answered_sms] => 142
    [27] => 74
    [user_busy_sms] => 74
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 480
    [user_failed_sms] => 480
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 97
    [user_no_answer_sms] => 97
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 360
    [user_dnd_sms] => 360
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765026731
    [create_date] => 1765026731
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765027935,"compaign_read_start_time":1765027981,"compaign_read_complete_time":1765027985,"compaign_send_start_time":1765028042,"compaign_send_complete_time":1765028045}
    [action_time] => {"api_allot_time":1765027935,"compaign_read_start_time":1765027981,"compaign_read_complete_time":1765027985,"compaign_send_start_time":1765028042,"compaign_send_complete_time":1765028045}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81596_06122025_070006PM_654
    [common_name] => u607_81596_06122025_070006PM_654
    [52] => 1765026205_u607_voice.wav
    [voice_file] => 1765026205_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68822
    [temp_group_table] => contacts_temp_group_68822
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765028222
    [last_credit_update_time] => 1765028222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81596
\compaign_type : Rans per 29.25984 
ans sms 1931
dnd sms 360

require answer perrequire answer per : 460

user answer per : 142
below is the redis data 318 /n/r
only no answer and busy will be convert, total number require 318 /n/r
UPDATE voice_compaign_detail_81596 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 236 UPDATE voice_compaign_detail_81596 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 236 Total Failed : 483 no_answer_count : 162 Busy count :124 congestion_count : 58 failed_count : 139UPDATE voice_compaign_detail_81596 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 162 UPDATE voice_compaign_detail_81596 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_81596 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_81596 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 139 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='313', `user_busy_sms`='360', `user_congestion_sms`='58', `user_failed_sms`='442', `user_hangup_sms`='0', `user_no_answer_sms`='398', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='360' WHERE `compaign_id`=81596 LIMIT 1 


Time Diff : 0.079

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769083'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769203'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 45629
    [total_sms] => 45629
    [11] => 45629
    [sent_sms] => 45629
    [12] => 0
    [duplicate_sms] => 0
    [13] => 485
    [answered_sms] => 485
    [14] => 15000
    [busy_sms] => 15000
    [15] => 2
    [congestion_sms] => 2
    [16] => 28152
    [failed_sms] => 28152
    [17] => 0
    [hangup_sms] => 0
    [18] => 1990
    [no_answer_sms] => 1990
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 487
    [user_answered_sms] => 487
    [27] => 15000
    [user_busy_sms] => 15000
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28152
    [user_failed_sms] => 28152
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1990
    [user_no_answer_sms] => 1990
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 155
    [credit_seq] => 155
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765028351
    [last_credit_update_time] => 1765028351
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.39731 
ans sms 45629
dnd sms 0

require answer perrequire answer per : 13870

user answer per : 487
below is the redis data 13383 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13383 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='487', `user_busy_sms`='15000', `user_congestion_sms`='0', `user_failed_sms`='28152', `user_hangup_sms`='0', `user_no_answer_sms`='1990', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.723

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769264'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769323'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769383'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769506'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769564'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769625'  
Array
(
    [0] => 81602
    [compaign_id] => 81602
    [1] => u29720
    [user_id] => u29720
    [2] => 68828,
    [group_ids] => 68828,
    [3] => 
    [sender_id] => 
    [4] => Ghanapur Congress.mp3
    [filename] => Ghanapur Congress.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765028527
    [start_date] => 1765028527
    [9] => 0
    [end_date] => 0
    [10] => 523
    [total_sms] => 523
    [11] => 523
    [sent_sms] => 523
    [12] => 0
    [duplicate_sms] => 0
    [13] => 69
    [answered_sms] => 69
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 31
    [failed_sms] => 31
    [17] => 0
    [hangup_sms] => 0
    [18] => 92
    [no_answer_sms] => 92
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 182
    [cutting_sms] => 182
    [22] => 115
    [dnd_sms] => 115
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 69
    [user_answered_sms] => 69
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31
    [user_failed_sms] => 31
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 92
    [user_no_answer_sms] => 92
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 115
    [user_dnd_sms] => 115
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765028527
    [create_date] => 1765028527
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765028534,"compaign_read_start_time":1765028535,"compaign_read_complete_time":1765028536,"compaign_send_start_time":1765028583,"compaign_send_complete_time":1765028584}
    [action_time] => {"api_allot_time":1765028534,"compaign_read_start_time":1765028535,"compaign_read_complete_time":1765028536,"compaign_send_start_time":1765028583,"compaign_send_complete_time":1765028584}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81602_06122025_071212PM_938
    [common_name] => u29720_81602_06122025_071212PM_938
    [52] => 1765027747_u29720_voice.wav
    [voice_file] => 1765027747_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68828
    [temp_group_table] => contacts_temp_group_68828
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765028764
    [last_credit_update_time] => 1765028764
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81602
\compaign_type : Rans per 27.53938 
ans sms 523
dnd sms 115

require answer perrequire answer per : 113

user answer per : 69
below is the redis data 44 UPDATE voice_compaign_detail_81602 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 44 Total Failed : 138 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_81602 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81602 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81602 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81602 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='113', `user_busy_sms`='70', `user_congestion_sms`='17', `user_failed_sms`='69', `user_hangup_sms`='0', `user_no_answer_sms`='139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='115' WHERE `compaign_id`=81602 LIMIT 1 


Time Diff : 0.338

Array
(
    [0] => 81603
    [compaign_id] => 81603
    [1] => u29720
    [user_id] => u29720
    [2] => 68829,
    [group_ids] => 68829,
    [3] => 
    [sender_id] => 
    [4] => Ghanapur Congress.mp3
    [filename] => Ghanapur Congress.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765028529
    [start_date] => 1765028529
    [9] => 0
    [end_date] => 0
    [10] => 1511
    [total_sms] => 1511
    [11] => 1511
    [sent_sms] => 1511
    [12] => 0
    [duplicate_sms] => 0
    [13] => 178
    [answered_sms] => 178
    [14] => 149
    [busy_sms] => 149
    [15] => 0
    [congestion_sms] => 0
    [16] => 283
    [failed_sms] => 283
    [17] => 0
    [hangup_sms] => 0
    [18] => 170
    [no_answer_sms] => 170
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 731
    [cutting_sms] => 731
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 178
    [user_answered_sms] => 178
    [27] => 149
    [user_busy_sms] => 149
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 283
    [user_failed_sms] => 283
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 170
    [user_no_answer_sms] => 170
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765028529
    [create_date] => 1765028529
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765028536,"compaign_read_start_time":1765028538,"compaign_read_complete_time":1765028541,"compaign_send_start_time":1765028583,"compaign_send_complete_time":1765028586}
    [action_time] => {"api_allot_time":1765028536,"compaign_read_start_time":1765028538,"compaign_read_complete_time":1765028541,"compaign_send_start_time":1765028583,"compaign_send_complete_time":1765028586}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81603_06122025_071214PM_969
    [common_name] => u29720_81603_06122025_071214PM_969
    [52] => 1765027747_u29720_voice.wav
    [voice_file] => 1765027747_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68829
    [temp_group_table] => contacts_temp_group_68829
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765028764
    [last_credit_update_time] => 1765028764
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81603
\compaign_type : Rans per 26.69953 
ans sms 1511
dnd sms 0

require answer perrequire answer per : 404

user answer per : 178
below is the redis data 226 UPDATE voice_compaign_detail_81603 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 226 Total Failed : 505 no_answer_count : 169 Busy count :130 congestion_count : 60 failed_count : 146UPDATE voice_compaign_detail_81603 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 169 UPDATE voice_compaign_detail_81603 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 130 UPDATE voice_compaign_detail_81603 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_81603 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 146 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='404', `user_busy_sms`='279', `user_congestion_sms`='60', `user_failed_sms`='429', `user_hangup_sms`='0', `user_no_answer_sms`='339', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81603 LIMIT 1 


Time Diff : 0.116

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769747'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769811'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769865'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769926'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764769990'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770045'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770108'  
Array
(
    [0] => 81604
    [compaign_id] => 81604
    [1] => u29720
    [user_id] => u29720
    [2] => 68830,
    [group_ids] => 68830,
    [3] => 
    [sender_id] => 
    [4] => Palamakol.mp3
    [filename] => Palamakol.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029045
    [start_date] => 1765029045
    [9] => 0
    [end_date] => 0
    [10] => 1641
    [total_sms] => 1641
    [11] => 1641
    [sent_sms] => 1641
    [12] => 0
    [duplicate_sms] => 0
    [13] => 204
    [answered_sms] => 204
    [14] => 97
    [busy_sms] => 97
    [15] => 0
    [congestion_sms] => 0
    [16] => 238
    [failed_sms] => 238
    [17] => 0
    [hangup_sms] => 0
    [18] => 172
    [no_answer_sms] => 172
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 631
    [cutting_sms] => 631
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 204
    [user_answered_sms] => 204
    [27] => 97
    [user_busy_sms] => 97
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 238
    [user_failed_sms] => 238
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 172
    [user_no_answer_sms] => 172
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 299
    [user_dnd_sms] => 299
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029044
    [create_date] => 1765029044
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029051,"compaign_read_start_time":1765029053,"compaign_read_complete_time":1765029056,"compaign_send_start_time":1765029068,"compaign_send_complete_time":1765029071}
    [action_time] => {"api_allot_time":1765029051,"compaign_read_start_time":1765029053,"compaign_read_complete_time":1765029056,"compaign_send_start_time":1765029068,"compaign_send_complete_time":1765029071}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81604_06122025_072050PM_261
    [common_name] => u29720_81604_06122025_072050PM_261
    [52] => 1764908751_u29720_voice.wav
    [voice_file] => 1764908751_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68830
    [temp_group_table] => contacts_temp_group_68830
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765029307
    [reschedule_last_check_time] => 1765029307
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765029305
    [last_credit_update_time] => 1765029305
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81604
\compaign_type : Rans per 28.25466 
ans sms 1641
dnd sms 299

require answer perrequire answer per : 380

user answer per : 204
below is the redis data 176 UPDATE voice_compaign_detail_81604 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 176 Total Failed : 455 no_answer_count : 152 Busy count :117 congestion_count : 55 failed_count : 131UPDATE voice_compaign_detail_81604 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 152 UPDATE voice_compaign_detail_81604 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_81604 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81604 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 131 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='380', `user_busy_sms`='214', `user_congestion_sms`='55', `user_failed_sms`='369', `user_hangup_sms`='0', `user_no_answer_sms`='324', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81604 LIMIT 1 


Time Diff : 0.11

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770165'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770226'  
Array
(
    [0] => 81605
    [compaign_id] => 81605
    [1] => u29720
    [user_id] => u29720
    [2] => 68831,
    [group_ids] => 68831,
    [3] => 
    [sender_id] => 
    [4] => Ghanapur Congress.mp3
    [filename] => Ghanapur Congress.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029134
    [start_date] => 1765029134
    [9] => 0
    [end_date] => 0
    [10] => 410
    [total_sms] => 410
    [11] => 410
    [sent_sms] => 410
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 29
    [failed_sms] => 29
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 118
    [cutting_sms] => 118
    [22] => 115
    [dnd_sms] => 115
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 29
    [user_failed_sms] => 29
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 66
    [user_no_answer_sms] => 66
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 115
    [user_dnd_sms] => 115
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029134
    [create_date] => 1765029134
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029142,"compaign_read_start_time":1765029145,"compaign_read_complete_time":1765029145,"compaign_send_start_time":1765029197,"compaign_send_complete_time":1765029199}
    [action_time] => {"api_allot_time":1765029142,"compaign_read_start_time":1765029145,"compaign_read_complete_time":1765029145,"compaign_send_start_time":1765029197,"compaign_send_complete_time":1765029199}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81605_06122025_072220PM_193
    [common_name] => u29720_81605_06122025_072220PM_193
    [52] => 1765027747_u29720_voice.wav
    [voice_file] => 1765027747_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68831
    [temp_group_table] => contacts_temp_group_68831
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765029426
    [last_credit_update_time] => 1765029426
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81605
\compaign_type : Rans per 28.72154 
ans sms 410
dnd sms 115

require answer perrequire answer per : 85

user answer per : 54
below is the redis data 31 UPDATE voice_compaign_detail_81605 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 31 Total Failed : 87 no_answer_count : 30 Busy count :23 congestion_count : 11 failed_count : 23UPDATE voice_compaign_detail_81605 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81605 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81605 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81605 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='85', `user_busy_sms`='51', `user_congestion_sms`='11', `user_failed_sms`='52', `user_hangup_sms`='0', `user_no_answer_sms`='96', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='115' WHERE `compaign_id`=81605 LIMIT 1 


Time Diff : 0.488

Array
(
    [0] => 81606
    [compaign_id] => 81606
    [1] => u83
    [user_id] => u83
    [2] => 68832,
    [group_ids] => 68832,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029134
    [start_date] => 1765029134
    [9] => 0
    [end_date] => 0
    [10] => 503
    [total_sms] => 503
    [11] => 503
    [sent_sms] => 503
    [12] => 0
    [duplicate_sms] => 0
    [13] => 74
    [answered_sms] => 74
    [14] => 44
    [busy_sms] => 44
    [15] => 0
    [congestion_sms] => 0
    [16] => 43
    [failed_sms] => 43
    [17] => 0
    [hangup_sms] => 0
    [18] => 60
    [no_answer_sms] => 60
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 162
    [cutting_sms] => 162
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 74
    [user_answered_sms] => 74
    [27] => 44
    [user_busy_sms] => 44
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 43
    [user_failed_sms] => 43
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 60
    [user_no_answer_sms] => 60
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029134
    [create_date] => 1765029134
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029142,"compaign_read_start_time":1765029148,"compaign_read_complete_time":1765029150,"compaign_send_start_time":1765029198,"compaign_send_complete_time":1765029253}
    [action_time] => {"api_allot_time":1765029142,"compaign_read_start_time":1765029148,"compaign_read_complete_time":1765029150,"compaign_send_start_time":1765029198,"compaign_send_complete_time":1765029253}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81606_06122025_072220PM_602
    [common_name] => u83_81606_06122025_072220PM_602
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68832
    [temp_group_table] => contacts_temp_group_68832
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765029426
    [last_credit_update_time] => 1765029426
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81606
\compaign_type : Rans per 27.57381 
ans sms 503
dnd sms 120

require answer perrequire answer per : 106

user answer per : 74
below is the redis data 32 /n/r
only no answer and busy will be convert, total number require 32 /n/r
UPDATE voice_compaign_detail_81606 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81606 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 Total Failed : 121 no_answer_count : 41 Busy count :32 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_81606 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81606 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81606 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81606 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='106', `user_busy_sms`='90', `user_congestion_sms`='15', `user_failed_sms`='67', `user_hangup_sms`='0', `user_no_answer_sms`='105', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81606 LIMIT 1 


Time Diff : 0.292

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770286'  
Array
(
    [0] => 81607
    [compaign_id] => 81607
    [1] => u29720
    [user_id] => u29720
    [2] => 68833,
    [group_ids] => 68833,
    [3] => 
    [sender_id] => 
    [4] => Ghanapur Congress.mp3
    [filename] => Ghanapur Congress.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029136
    [start_date] => 1765029136
    [9] => 0
    [end_date] => 0
    [10] => 1107
    [total_sms] => 1107
    [11] => 1107
    [sent_sms] => 1107
    [12] => 0
    [duplicate_sms] => 0
    [13] => 127
    [answered_sms] => 127
    [14] => 137
    [busy_sms] => 137
    [15] => 0
    [congestion_sms] => 0
    [16] => 235
    [failed_sms] => 235
    [17] => 0
    [hangup_sms] => 0
    [18] => 124
    [no_answer_sms] => 124
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 484
    [cutting_sms] => 484
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 127
    [user_answered_sms] => 127
    [27] => 137
    [user_busy_sms] => 137
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 235
    [user_failed_sms] => 235
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 124
    [user_no_answer_sms] => 124
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029136
    [create_date] => 1765029136
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029144,"compaign_read_start_time":1765029151,"compaign_read_complete_time":1765029155,"compaign_send_start_time":1765029198,"compaign_send_complete_time":1765029201}
    [action_time] => {"api_allot_time":1765029144,"compaign_read_start_time":1765029151,"compaign_read_complete_time":1765029155,"compaign_send_start_time":1765029198,"compaign_send_complete_time":1765029201}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81607_06122025_072223PM_864
    [common_name] => u29720_81607_06122025_072223PM_864
    [52] => 1765027747_u29720_voice.wav
    [voice_file] => 1765027747_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68833
    [temp_group_table] => contacts_temp_group_68833
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765029426
    [last_credit_update_time] => 1765029426
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81607
\compaign_type : Rans per 29.99267 
ans sms 1107
dnd sms 0

require answer perrequire answer per : 333

user answer per : 127
below is the redis data 206 UPDATE voice_compaign_detail_81607 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 206 Total Failed : 278 no_answer_count : 93 Busy count :72 congestion_count : 33 failed_count : 80UPDATE voice_compaign_detail_81607 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 93 UPDATE voice_compaign_detail_81607 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81607 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81607 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='333', `user_busy_sms`='209', `user_congestion_sms`='33', `user_failed_sms`='315', `user_hangup_sms`='0', `user_no_answer_sms`='217', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81607 LIMIT 1 


Time Diff : 0.233

Array
(
    [0] => 81608
    [compaign_id] => 81608
    [1] => u29720
    [user_id] => u29720
    [2] => 68834,
    [group_ids] => 68834,
    [3] => 
    [sender_id] => 
    [4] => Narkuda.mp3
    [filename] => Narkuda.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029146
    [start_date] => 1765029146
    [9] => 0
    [end_date] => 0
    [10] => 1661
    [total_sms] => 1661
    [11] => 1661
    [sent_sms] => 1661
    [12] => 0
    [duplicate_sms] => 0
    [13] => 239
    [answered_sms] => 239
    [14] => 105
    [busy_sms] => 105
    [15] => 0
    [congestion_sms] => 0
    [16] => 157
    [failed_sms] => 157
    [17] => 0
    [hangup_sms] => 0
    [18] => 148
    [no_answer_sms] => 148
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 637
    [cutting_sms] => 637
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 239
    [user_answered_sms] => 239
    [27] => 105
    [user_busy_sms] => 105
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 157
    [user_failed_sms] => 157
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 148
    [user_no_answer_sms] => 148
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 375
    [user_dnd_sms] => 375
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029145
    [create_date] => 1765029145
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029154,"compaign_read_start_time":1765029157,"compaign_read_complete_time":1765029162,"compaign_send_start_time":1765029198,"compaign_send_complete_time":1765029201}
    [action_time] => {"api_allot_time":1765029154,"compaign_read_start_time":1765029157,"compaign_read_complete_time":1765029162,"compaign_send_start_time":1765029198,"compaign_send_complete_time":1765029201}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81608_06122025_072233PM_390
    [common_name] => u29720_81608_06122025_072233PM_390
    [52] => 1764908679_u29720_voice.wav
    [voice_file] => 1764908679_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68834
    [temp_group_table] => contacts_temp_group_68834
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765029307
    [reschedule_last_check_time] => 1765029307
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765029427
    [last_credit_update_time] => 1765029427
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81608
\compaign_type : Rans per 26.30925 
ans sms 1661
dnd sms 375

require answer perrequire answer per : 339

user answer per : 239
below is the redis data 100 UPDATE voice_compaign_detail_81608 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 100 Total Failed : 537 no_answer_count : 180 Busy count :138 congestion_count : 64 failed_count : 155UPDATE voice_compaign_detail_81608 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 180 UPDATE voice_compaign_detail_81608 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_81608 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81608 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='339', `user_busy_sms`='243', `user_congestion_sms`='64', `user_failed_sms`='312', `user_hangup_sms`='0', `user_no_answer_sms`='328', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81608 LIMIT 1 


Time Diff : 0.154

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770345'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770410'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770468'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770527'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770586'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770649'  
Array
(
    [0] => 81609
    [compaign_id] => 81609
    [1] => u607
    [user_id] => u607
    [2] => 68835,
    [group_ids] => 68835,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-06 at 15.48.19_2a4e9a72 (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-12-06 at 15.48.19_2a4e9a72 (online-audio-converter.com).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029415
    [start_date] => 1765029415
    [9] => 0
    [end_date] => 0
    [10] => 959
    [total_sms] => 959
    [11] => 959
    [sent_sms] => 959
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 61
    [busy_sms] => 61
    [15] => 0
    [congestion_sms] => 0
    [16] => 269
    [failed_sms] => 269
    [17] => 0
    [hangup_sms] => 0
    [18] => 89
    [no_answer_sms] => 89
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 353
    [cutting_sms] => 353
    [22] => 184
    [dnd_sms] => 184
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 61
    [user_busy_sms] => 61
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 269
    [user_failed_sms] => 269
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 89
    [user_no_answer_sms] => 89
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 184
    [user_dnd_sms] => 184
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029414
    [create_date] => 1765029414
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029564,"compaign_read_start_time":1765029565,"compaign_read_complete_time":1765029567,"compaign_send_start_time":1765029612,"compaign_send_complete_time":1765029614}
    [action_time] => {"api_allot_time":1765029564,"compaign_read_start_time":1765029565,"compaign_read_complete_time":1765029567,"compaign_send_start_time":1765029612,"compaign_send_complete_time":1765029614}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81609_06122025_072714PM_344
    [common_name] => u607_81609_06122025_072714PM_344
    [52] => 1765029414_u607_voice.wav
    [voice_file] => 1765029414_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_68835
    [temp_group_table] => contacts_temp_group_68835
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765029789
    [last_credit_update_time] => 1765029789
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765031400}
    [rt_time] => {"1":1765031400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81609
\compaign_type : Rans per 27.88358 
ans sms 959
dnd sms 184

require answer perrequire answer per : 217

user answer per : 3
below is the redis data 214 /n/r
only no answer and busy will be convert, total number require 214 /n/r
UPDATE voice_compaign_detail_81609 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 159 UPDATE voice_compaign_detail_81609 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 159 Total Failed : 171 no_answer_count : 58 Busy count :44 congestion_count : 21 failed_count : 48UPDATE voice_compaign_detail_81609 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_81609 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81609 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81609 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='153', `user_busy_sms`='203', `user_congestion_sms`='21', `user_failed_sms`='181', `user_hangup_sms`='0', `user_no_answer_sms`='217', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='184' WHERE `compaign_id`=81609 LIMIT 1 


Time Diff : 0.188

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770705'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770766'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770827'  
Array
(
    [0] => 81610
    [compaign_id] => 81610
    [1] => u29720
    [user_id] => u29720
    [2] => 68837,
    [group_ids] => 68837,
    [3] => 
    [sender_id] => 
    [4] => Palamakol.mp3
    [filename] => Palamakol.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029731
    [start_date] => 1765029731
    [9] => 0
    [end_date] => 0
    [10] => 962
    [total_sms] => 962
    [11] => 962
    [sent_sms] => 962
    [12] => 0
    [duplicate_sms] => 0
    [13] => 139
    [answered_sms] => 139
    [14] => 91
    [busy_sms] => 91
    [15] => 0
    [congestion_sms] => 0
    [16] => 212
    [failed_sms] => 212
    [17] => 0
    [hangup_sms] => 0
    [18] => 108
    [no_answer_sms] => 108
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 412
    [cutting_sms] => 412
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 139
    [user_answered_sms] => 139
    [27] => 91
    [user_busy_sms] => 91
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 212
    [user_failed_sms] => 212
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 108
    [user_no_answer_sms] => 108
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029731
    [create_date] => 1765029731
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029739,"compaign_read_start_time":1765029740,"compaign_read_complete_time":1765029742,"compaign_send_start_time":1765029790,"compaign_send_complete_time":1765029794}
    [action_time] => {"api_allot_time":1765029739,"compaign_read_start_time":1765029740,"compaign_read_complete_time":1765029742,"compaign_send_start_time":1765029790,"compaign_send_complete_time":1765029794}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81610_06122025_073218PM_882
    [common_name] => u29720_81610_06122025_073218PM_882
    [52] => 1764908751_u29720_voice.wav
    [voice_file] => 1764908751_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68837
    [temp_group_table] => contacts_temp_group_68837
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765030025
    [last_credit_update_time] => 1765030025
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81610
\compaign_type : Rans per 29.83493 
ans sms 962
dnd sms 0

require answer perrequire answer per : 288

user answer per : 139
below is the redis data 149 UPDATE voice_compaign_detail_81610 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 149 Total Failed : 263 no_answer_count : 88 Busy count :68 congestion_count : 32 failed_count : 75UPDATE voice_compaign_detail_81610 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_81610 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 UPDATE voice_compaign_detail_81610 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81610 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 75 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='288', `user_busy_sms`='159', `user_congestion_sms`='32', `user_failed_sms`='287', `user_hangup_sms`='0', `user_no_answer_sms`='196', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81610 LIMIT 1 


Time Diff : 0.217

Array
(
    [0] => 81611
    [compaign_id] => 81611
    [1] => u29720
    [user_id] => u29720
    [2] => 68836,
    [group_ids] => 68836,
    [3] => 
    [sender_id] => 
    [4] => Narkuda.mp3
    [filename] => Narkuda.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765029732
    [start_date] => 1765029732
    [9] => 0
    [end_date] => 0
    [10] => 1322
    [total_sms] => 1322
    [11] => 1322
    [sent_sms] => 1322
    [12] => 0
    [duplicate_sms] => 0
    [13] => 124
    [answered_sms] => 124
    [14] => 86
    [busy_sms] => 86
    [15] => 0
    [congestion_sms] => 0
    [16] => 156
    [failed_sms] => 156
    [17] => 0
    [hangup_sms] => 0
    [18] => 119
    [no_answer_sms] => 119
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 462
    [cutting_sms] => 462
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 124
    [user_answered_sms] => 124
    [27] => 86
    [user_busy_sms] => 86
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 156
    [user_failed_sms] => 156
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 119
    [user_no_answer_sms] => 119
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 375
    [user_dnd_sms] => 375
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765029732
    [create_date] => 1765029732
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765029740,"compaign_read_start_time":1765029743,"compaign_read_complete_time":1765029748,"compaign_send_start_time":1765029790,"compaign_send_complete_time":1765029794}
    [action_time] => {"api_allot_time":1765029740,"compaign_read_start_time":1765029743,"compaign_read_complete_time":1765029748,"compaign_send_start_time":1765029790,"compaign_send_complete_time":1765029794}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81611_06122025_073219PM_832
    [common_name] => u29720_81611_06122025_073219PM_832
    [52] => 1764908679_u29720_voice.wav
    [voice_file] => 1764908679_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68836
    [temp_group_table] => contacts_temp_group_68836
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765030025
    [last_credit_update_time] => 1765030025
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81611
\compaign_type : Rans per 26.82781 
ans sms 1322
dnd sms 375

require answer perrequire answer per : 255

user answer per : 124
below is the redis data 131 UPDATE voice_compaign_detail_81611 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 131 Total Failed : 331 no_answer_count : 111 Busy count :85 congestion_count : 40 failed_count : 95UPDATE voice_compaign_detail_81611 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 111 UPDATE voice_compaign_detail_81611 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_81611 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81611 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='255', `user_busy_sms`='171', `user_congestion_sms`='40', `user_failed_sms`='251', `user_hangup_sms`='0', `user_no_answer_sms`='230', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81611 LIMIT 1 


Time Diff : 0.159

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770885'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764770944'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771006'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771068'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771131'  
Array
(
    [0] => 81613
    [compaign_id] => 81613
    [1] => u29722
    [user_id] => u29722
    [2] => 68838,
    [group_ids] => 68838,
    [3] => 
    [sender_id] => 
    [4] => jogini sri latha yellaiah.mp3
    [filename] => jogini sri latha yellaiah.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765030053
    [start_date] => 1765030053
    [9] => 0
    [end_date] => 0
    [10] => 2578
    [total_sms] => 2578
    [11] => 2578
    [sent_sms] => 2578
    [12] => 0
    [duplicate_sms] => 0
    [13] => 88
    [answered_sms] => 88
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 1176
    [failed_sms] => 1176
    [17] => 0
    [hangup_sms] => 0
    [18] => 71
    [no_answer_sms] => 71
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1193
    [cutting_sms] => 1193
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 88
    [user_answered_sms] => 88
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1176
    [user_failed_sms] => 1176
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 71
    [user_no_answer_sms] => 71
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765030053
    [create_date] => 1765030053
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765030059,"compaign_read_start_time":1765030061,"compaign_read_complete_time":1765030065,"compaign_send_start_time":1765030092,"compaign_send_complete_time":1765030096}
    [action_time] => {"api_allot_time":1765030059,"compaign_read_start_time":1765030061,"compaign_read_complete_time":1765030065,"compaign_send_start_time":1765030092,"compaign_send_complete_time":1765030096}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81613_06122025_073738PM_127
    [common_name] => u29722_81613_06122025_073738PM_127
    [52] => 1764836698_u29722_voice.wav
    [voice_file] => 1764836698_u29722_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68838
    [temp_group_table] => contacts_temp_group_68838
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765030268
    [last_credit_update_time] => 1765030268
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1930
    [user_voice_plan_id] => 1930
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"28"}]
    [alloted_apis] => [{"cli":"","g_id":"28"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,r104,u29722
    [uphierarchy] => admin,sr83,sr180,r104,u29722
    [113] => 
    [extra_params_json] => 
)


Compaign : 81613
\compaign_type : Rans per 26.34687 
ans sms 2578
dnd sms 0

require answer perrequire answer per : 680

user answer per : 88
below is the redis data 592 UPDATE voice_compaign_detail_81613 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 592 Total Failed : 601 no_answer_count : 201 Busy count :155 congestion_count : 72 failed_count : 173UPDATE voice_compaign_detail_81613 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 201 UPDATE voice_compaign_detail_81613 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 UPDATE voice_compaign_detail_81613 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81613 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 173 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='680', `user_busy_sms`='205', `user_congestion_sms`='72', `user_failed_sms`='1349', `user_hangup_sms`='0', `user_no_answer_sms`='272', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81613 LIMIT 1 


Time Diff : 0.07

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771186'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771247'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771308'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771364'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771427'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 48109
    [total_sms] => 48109
    [11] => 48109
    [sent_sms] => 48109
    [12] => 0
    [duplicate_sms] => 0
    [13] => 505
    [answered_sms] => 505
    [14] => 15928
    [busy_sms] => 15928
    [15] => 2
    [congestion_sms] => 2
    [16] => 29545
    [failed_sms] => 29545
    [17] => 0
    [hangup_sms] => 0
    [18] => 2129
    [no_answer_sms] => 2129
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 507
    [user_answered_sms] => 507
    [27] => 15928
    [user_busy_sms] => 15928
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 29545
    [user_failed_sms] => 29545
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2129
    [user_no_answer_sms] => 2129
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 165
    [credit_seq] => 165
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765030565
    [last_credit_update_time] => 1765030565
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.71853 
ans sms 48109
dnd sms 0

require answer perrequire answer per : 12855

user answer per : 507
below is the redis data 12348 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12348 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='507', `user_busy_sms`='15928', `user_congestion_sms`='0', `user_failed_sms`='29545', `user_hangup_sms`='0', `user_no_answer_sms`='2129', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.732

Array
(
    [0] => 81614
    [compaign_id] => 81614
    [1] => u29720
    [user_id] => u29720
    [2] => 68840,
    [group_ids] => 68840,
    [3] => 
    [sender_id] => 
    [4] => Palamakol.mp3
    [filename] => Palamakol.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765030341
    [start_date] => 1765030341
    [9] => 0
    [end_date] => 0
    [10] => 674
    [total_sms] => 674
    [11] => 674
    [sent_sms] => 674
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 69
    [busy_sms] => 69
    [15] => 0
    [congestion_sms] => 0
    [16] => 175
    [failed_sms] => 175
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 312
    [cutting_sms] => 312
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 52
    [user_answered_sms] => 52
    [27] => 69
    [user_busy_sms] => 69
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 175
    [user_failed_sms] => 175
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 66
    [user_no_answer_sms] => 66
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765030341
    [create_date] => 1765030341
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765030348,"compaign_read_start_time":1765030349,"compaign_read_complete_time":1765030350,"compaign_send_start_time":1765030388,"compaign_send_complete_time":1765030389}
    [action_time] => {"api_allot_time":1765030348,"compaign_read_start_time":1765030349,"compaign_read_complete_time":1765030350,"compaign_send_start_time":1765030388,"compaign_send_complete_time":1765030389}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81614_06122025_074227PM_730
    [common_name] => u29720_81614_06122025_074227PM_730
    [52] => 1764908751_u29720_voice.wav
    [voice_file] => 1764908751_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68840
    [temp_group_table] => contacts_temp_group_68840
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765030625
    [last_credit_update_time] => 1765030625
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81614
\compaign_type : Rans per 27.23946 
ans sms 674
dnd sms 0

require answer perrequire answer per : 184

user answer per : 52
below is the redis data 132 UPDATE voice_compaign_detail_81614 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 132 Total Failed : 180 no_answer_count : 61 Busy count :47 congestion_count : 22 failed_count : 50UPDATE voice_compaign_detail_81614 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_81614 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81614 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81614 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='184', `user_busy_sms`='116', `user_congestion_sms`='22', `user_failed_sms`='225', `user_hangup_sms`='0', `user_no_answer_sms`='127', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81614 LIMIT 1 


Time Diff : 0.264

Array
(
    [0] => 81615
    [compaign_id] => 81615
    [1] => u29720
    [user_id] => u29720
    [2] => 68841,
    [group_ids] => 68841,
    [3] => 
    [sender_id] => 
    [4] => Narkuda.mp3
    [filename] => Narkuda.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765030342
    [start_date] => 1765030342
    [9] => 0
    [end_date] => 0
    [10] => 1067
    [total_sms] => 1067
    [11] => 1067
    [sent_sms] => 1067
    [12] => 0
    [duplicate_sms] => 0
    [13] => 70
    [answered_sms] => 70
    [14] => 66
    [busy_sms] => 66
    [15] => 0
    [congestion_sms] => 0
    [16] => 128
    [failed_sms] => 128
    [17] => 0
    [hangup_sms] => 0
    [18] => 89
    [no_answer_sms] => 89
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 339
    [cutting_sms] => 339
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 70
    [user_answered_sms] => 70
    [27] => 66
    [user_busy_sms] => 66
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 128
    [user_failed_sms] => 128
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 89
    [user_no_answer_sms] => 89
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 375
    [user_dnd_sms] => 375
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765030342
    [create_date] => 1765030342
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765030348,"compaign_read_start_time":1765030353,"compaign_read_complete_time":1765030354,"compaign_send_start_time":1765030388,"compaign_send_complete_time":1765030460}
    [action_time] => {"api_allot_time":1765030348,"compaign_read_start_time":1765030353,"compaign_read_complete_time":1765030354,"compaign_send_start_time":1765030388,"compaign_send_complete_time":1765030460}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81615_06122025_074227PM_465
    [common_name] => u29720_81615_06122025_074227PM_465
    [52] => 1764908679_u29720_voice.wav
    [voice_file] => 1764908679_u29720_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68841
    [temp_group_table] => contacts_temp_group_68841
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765030625
    [last_credit_update_time] => 1765030625
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1928
    [user_voice_plan_id] => 1928
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr1,u29720
    [uphierarchy] => admin,sr1,u29720
    [113] => 
    [extra_params_json] => 
)


Compaign : 81615
\compaign_type : Rans per 27.98724 
ans sms 1067
dnd sms 375

require answer perrequire answer per : 194

user answer per : 70
below is the redis data 124 UPDATE voice_compaign_detail_81615 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 124 Total Failed : 215 no_answer_count : 72 Busy count :56 congestion_count : 26 failed_count : 61UPDATE voice_compaign_detail_81615 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81615 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_81615 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81615 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='194', `user_busy_sms`='122', `user_congestion_sms`='26', `user_failed_sms`='189', `user_hangup_sms`='0', `user_no_answer_sms`='161', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81615 LIMIT 1 


Time Diff : 0.132

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771484'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771549'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771608'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771665'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771726'  
Array
(
    [0] => 81303
    [compaign_id] => 81303
    [1] => sr31
    [user_id] => sr31
    [2] => 68578,
    [group_ids] => 68578,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765030500
    [start_date] => 1765030500
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 28
    [failed_sms] => 28
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 21
    [cutting_sms] => 21
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28
    [user_failed_sms] => 28
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 30
    [user_no_answer_sms] => 30
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765001291
    [create_date] => 1765001291
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765030649,"compaign_read_start_time":1765030649,"compaign_read_complete_time":1765030650,"compaign_send_start_time":1765030692,"compaign_send_complete_time":1765030693}
    [action_time] => {"api_allot_time":1765030649,"compaign_read_start_time":1765030649,"compaign_read_complete_time":1765030650,"compaign_send_start_time":1765030692,"compaign_send_complete_time":1765030693}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81303_06122025_074518PM_908
    [common_name] => sr31_81303_06122025_074518PM_908
    [52] => 1765001291_sr31_voice.wav
    [voice_file] => 1765001291_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68578
    [temp_group_table] => contacts_temp_group_68578
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1765030805
    [reschedule_last_check_time] => 1765030805
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765030866
    [last_credit_update_time] => 1765030866
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1765031400}
    [rt_time] => {"1":1765031400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81303
\compaign_type : Rans per 29.7926 
ans sms 169
dnd sms 69

require answer perrequire answer per : 30

user answer per : 0
below is the redis data 30 /n/r
only no answer and busy will be convert, total number require 30 /n/r
UPDATE voice_compaign_detail_81303 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81303 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 24 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='30', `user_busy_sms`='32', `user_congestion_sms`='0', `user_failed_sms`='1', `user_hangup_sms`='0', `user_no_answer_sms`='37', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81303 LIMIT 1 


Time Diff : 1.219

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771787'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771843'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771908'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764771965'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772027'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772088'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772146'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772209'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772266'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772328'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772387'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772446'  
Array
(
    [0] => 81617
    [compaign_id] => 81617
    [1] => u83
    [user_id] => u83
    [2] => 68842,
    [group_ids] => 68842,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765031232
    [start_date] => 1765031232
    [9] => 0
    [end_date] => 0
    [10] => 397
    [total_sms] => 397
    [11] => 397
    [sent_sms] => 397
    [12] => 0
    [duplicate_sms] => 0
    [13] => 43
    [answered_sms] => 43
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 47
    [failed_sms] => 47
    [17] => 0
    [hangup_sms] => 0
    [18] => 44
    [no_answer_sms] => 44
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 106
    [cutting_sms] => 106
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 43
    [user_answered_sms] => 43
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 47
    [user_failed_sms] => 47
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 44
    [user_no_answer_sms] => 44
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765031232
    [create_date] => 1765031232
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765031368,"compaign_read_start_time":1765031370,"compaign_read_complete_time":1765031374,"compaign_send_start_time":1765031417,"compaign_send_complete_time":1765031418}
    [action_time] => {"api_allot_time":1765031368,"compaign_read_start_time":1765031370,"compaign_read_complete_time":1765031374,"compaign_send_start_time":1765031417,"compaign_send_complete_time":1765031418}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81617_06122025_075718PM_390
    [common_name] => u83_81617_06122025_075718PM_390
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68842
    [temp_group_table] => contacts_temp_group_68842
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765031589
    [last_credit_update_time] => 1765031589
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81617
\compaign_type : Rans per 26.34262 
ans sms 397
dnd sms 120

require answer perrequire answer per : 73

user answer per : 43
below is the redis data 30 /n/r
only no answer and busy will be convert, total number require 30 /n/r
UPDATE voice_compaign_detail_81617 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81617 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 Total Failed : 78 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_81617 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81617 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81617 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81617 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='73', `user_busy_sms`='65', `user_congestion_sms`='10', `user_failed_sms`='51', `user_hangup_sms`='0', `user_no_answer_sms`='78', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81617 LIMIT 1 


Time Diff : 0.443

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772507'  
Array
(
    [0] => 81612
    [compaign_id] => 81612
    [1] => u607
    [user_id] => u607
    [2] => 68839,
    [group_ids] => 68839,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-06 at 15.48.19_2a4e9a72 (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-12-06 at 15.48.19_2a4e9a72 (online-audio-converter.com).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765031400
    [start_date] => 1765031400
    [9] => 0
    [end_date] => 0
    [10] => 806
    [total_sms] => 806
    [11] => 806
    [sent_sms] => 806
    [12] => 0
    [duplicate_sms] => 0
    [13] => 119
    [answered_sms] => 119
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 123
    [failed_sms] => 123
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 287
    [cutting_sms] => 287
    [22] => 184
    [dnd_sms] => 184
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 119
    [user_answered_sms] => 119
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 123
    [user_failed_sms] => 123
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 51
    [user_no_answer_sms] => 51
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 184
    [user_dnd_sms] => 184
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765030042
    [create_date] => 1765030042
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765031414,"compaign_read_start_time":1765031419,"compaign_read_complete_time":1765031421,"compaign_send_start_time":1765031467,"compaign_send_complete_time":1765031476}
    [action_time] => {"api_allot_time":1765031414,"compaign_read_start_time":1765031419,"compaign_read_complete_time":1765031421,"compaign_send_start_time":1765031467,"compaign_send_complete_time":1765031476}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81612_06122025_080012PM_957
    [common_name] => u607_81612_06122025_080012PM_957
    [52] => 1765029414_u607_voice.wav
    [voice_file] => 1765029414_u607_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68839
    [temp_group_table] => contacts_temp_group_68839
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765031646
    [last_credit_update_time] => 1765031646
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1008
    [user_voice_plan_id] => 1008
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.2
    [pulse_rate] => 0.2
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81612
\compaign_type : Rans per 28.07178 
ans sms 806
dnd sms 184

require answer perrequire answer per : 175

user answer per : 119
below is the redis data 56 /n/r
only no answer and busy will be convert, total number require 56 /n/r
UPDATE voice_compaign_detail_81612 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81612 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 44 Total Failed : 223 no_answer_count : 75 Busy count :58 congestion_count : 27 failed_count : 63UPDATE voice_compaign_detail_81612 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 75 UPDATE voice_compaign_detail_81612 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_81612 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81612 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='175', `user_busy_sms`='118', `user_congestion_sms`='27', `user_failed_sms`='162', `user_hangup_sms`='0', `user_no_answer_sms`='140', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='184' WHERE `compaign_id`=81612 LIMIT 1 


Time Diff : 0.261

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772569'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772628'  
Array
(
    [0] => 81616
    [compaign_id] => 81616
    [1] => sr31
    [user_id] => sr31
    [2] => 68843,
    [group_ids] => 68843,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [filename] => WhatsApp Audio 2025-12-02 at 3.18.18 PM.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765031400
    [start_date] => 1765031400
    [9] => 0
    [end_date] => 0
    [10] => 139
    [total_sms] => 139
    [11] => 139
    [sent_sms] => 139
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 31
    [failed_sms] => 31
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6
    [cutting_sms] => 6
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31
    [user_failed_sms] => 31
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 19
    [user_no_answer_sms] => 19
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr31
    [created_by] => sr31
    [38] => 1
    [isScheduled] => 1
    [39] => 1765031232
    [create_date] => 1765031232
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765031542,"compaign_read_start_time":1765031542,"compaign_read_complete_time":1765031543,"compaign_send_start_time":1765031591,"compaign_send_complete_time":1765031594}
    [action_time] => {"api_allot_time":1765031542,"compaign_read_start_time":1765031542,"compaign_read_complete_time":1765031543,"compaign_send_start_time":1765031591,"compaign_send_complete_time":1765031594}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81616_06122025_080012PM_937
    [common_name] => sr31_81616_06122025_080012PM_937
    [52] => 1765001291_sr31_voice.wav
    [voice_file] => 1765001291_sr31_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68843
    [temp_group_table] => contacts_temp_group_68843
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765031825
    [last_credit_update_time] => 1765031825
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 100
    [user_voice_plan_id] => 100
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr31
    [uphierarchy] => admin,sr31
    [113] => 
    [extra_params_json] => 
)


Compaign : 81616
\compaign_type : Rans per 26.99269 
ans sms 139
dnd sms 69

require answer perrequire answer per : 19

user answer per : 1
below is the redis data 18 /n/r
only no answer and busy will be convert, total number require 18 /n/r
UPDATE voice_compaign_detail_81616 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81616 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13 Total Failed : 2 no_answer_count : 1 Busy count :1 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_81616 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81616 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81616 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='19', `user_busy_sms`='19', `user_congestion_sms`='0', `user_failed_sms`='9', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81616 LIMIT 1 


Time Diff : 1.504

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772688'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772748'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772806'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772867'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772926'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764772988'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773048'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773108'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773170'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773226'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773292'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773349'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773409'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 50366
    [total_sms] => 50366
    [11] => 50366
    [sent_sms] => 50366
    [12] => 0
    [duplicate_sms] => 0
    [13] => 522
    [answered_sms] => 522
    [14] => 16772
    [busy_sms] => 16772
    [15] => 2
    [congestion_sms] => 2
    [16] => 30821
    [failed_sms] => 30821
    [17] => 0
    [hangup_sms] => 0
    [18] => 2249
    [no_answer_sms] => 2249
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 524
    [user_answered_sms] => 524
    [27] => 16772
    [user_busy_sms] => 16772
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30821
    [user_failed_sms] => 30821
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2249
    [user_no_answer_sms] => 2249
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 174
    [credit_seq] => 174
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765032609
    [last_credit_update_time] => 1765032609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.18176 
ans sms 50366
dnd sms 0

require answer perrequire answer per : 15202

user answer per : 524
below is the redis data 14678 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14678 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='524', `user_busy_sms`='16772', `user_congestion_sms`='0', `user_failed_sms`='30821', `user_hangup_sms`='0', `user_no_answer_sms`='2249', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.738

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773469'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773530'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773587'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773650'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773709'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773767'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773824'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773886'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764773946'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774008'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774069'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774131'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 51094
    [total_sms] => 51094
    [11] => 51094
    [sent_sms] => 51094
    [12] => 0
    [duplicate_sms] => 0
    [13] => 526
    [answered_sms] => 526
    [14] => 17055
    [busy_sms] => 17055
    [15] => 2
    [congestion_sms] => 2
    [16] => 31222
    [failed_sms] => 31222
    [17] => 0
    [hangup_sms] => 0
    [18] => 2289
    [no_answer_sms] => 2289
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 528
    [user_answered_sms] => 528
    [27] => 17055
    [user_busy_sms] => 17055
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31222
    [user_failed_sms] => 31222
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2289
    [user_no_answer_sms] => 2289
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 177
    [credit_seq] => 177
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765033330
    [last_credit_update_time] => 1765033330
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.98883 
ans sms 51094
dnd sms 0

require answer perrequire answer per : 14812

user answer per : 528
below is the redis data 14284 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14284 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='528', `user_busy_sms`='17055', `user_congestion_sms`='0', `user_failed_sms`='31222', `user_hangup_sms`='0', `user_no_answer_sms`='2289', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.742

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774185'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774246'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774306'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774372'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774431'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774487'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774545'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774612'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774667'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774730'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774789'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774847'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774910'  
Array
(
    [0] => 81618
    [compaign_id] => 81618
    [1] => u371
    [user_id] => u371
    [2] => 68844,
    [group_ids] => 68844,
    [3] => 
    [sender_id] => 
    [4] => Kotagiri DV S.mp3
    [filename] => Kotagiri DV S.mp3
    [5] => 25
    [duration] => 25
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765033800
    [start_date] => 1765033800
    [9] => 0
    [end_date] => 0
    [10] => 471
    [total_sms] => 471
    [11] => 471
    [sent_sms] => 471
    [12] => 0
    [duplicate_sms] => 0
    [13] => 87
    [answered_sms] => 87
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 97
    [failed_sms] => 97
    [17] => 0
    [hangup_sms] => 0
    [18] => 72
    [no_answer_sms] => 72
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 192
    [cutting_sms] => 192
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 87
    [user_answered_sms] => 87
    [27] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 97
    [user_failed_sms] => 97
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 72
    [user_no_answer_sms] => 72
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765033800
    [create_date] => 1765033800
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765033816,"compaign_read_start_time":1765033820,"compaign_read_complete_time":1765033821,"compaign_send_start_time":1765033872,"compaign_send_complete_time":1765033874}
    [action_time] => {"api_allot_time":1765033816,"compaign_read_start_time":1765033820,"compaign_read_complete_time":1765033821,"compaign_send_start_time":1765033872,"compaign_send_complete_time":1765033874}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81618_06122025_084013PM_650
    [common_name] => u371_81618_06122025_084013PM_650
    [52] => 1765004815_u371_voice.wav
    [voice_file] => 1765004815_u371_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68844
    [temp_group_table] => contacts_temp_group_68844
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765034107
    [last_credit_update_time] => 1765034107
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 628
    [user_voice_plan_id] => 628
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr135,u371
    [uphierarchy] => admin,sr135,u371
    [113] => 
    [extra_params_json] => 
)


Compaign : 81618
\compaign_type : Rans per 25.00997 
ans sms 471
dnd sms 0

require answer perrequire answer per : 118

user answer per : 87
below is the redis data 31 /n/r
only no answer and busy will be convert, total number require 31 /n/r
UPDATE voice_compaign_detail_81618 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81618 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 Total Failed : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_81618 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81618 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81618 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81618 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='118', `user_busy_sms`='84', `user_congestion_sms`='19', `user_failed_sms`='124', `user_hangup_sms`='0', `user_no_answer_sms`='126', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81618 LIMIT 1 


Time Diff : 0.378

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764774965'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775024'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775086'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775148'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775206'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775269'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775328'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775387'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775449'  
Array
(
    [0] => 81619
    [compaign_id] => 81619
    [1] => u83
    [user_id] => u83
    [2] => 68845,
    [group_ids] => 68845,
    [3] => 
    [sender_id] => 
    [4] => sarva_sbhy.mp3
    [filename] => sarva_sbhy.mp3
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765034340
    [start_date] => 1765034340
    [9] => 0
    [end_date] => 0
    [10] => 398
    [total_sms] => 398
    [11] => 398
    [sent_sms] => 398
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 39
    [busy_sms] => 39
    [15] => 0
    [congestion_sms] => 0
    [16] => 39
    [failed_sms] => 39
    [17] => 0
    [hangup_sms] => 0
    [18] => 44
    [no_answer_sms] => 44
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 111
    [cutting_sms] => 111
    [22] => 120
    [dnd_sms] => 120
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 39
    [user_busy_sms] => 39
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 39
    [user_failed_sms] => 39
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 44
    [user_no_answer_sms] => 44
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 120
    [user_dnd_sms] => 120
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765034340
    [create_date] => 1765034340
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1765034352,"compaign_read_start_time":1765034355,"compaign_read_complete_time":1765034356,"compaign_send_start_time":1765034408,"compaign_send_complete_time":1765034409}
    [action_time] => {"api_allot_time":1765034352,"compaign_read_start_time":1765034355,"compaign_read_complete_time":1765034356,"compaign_send_start_time":1765034408,"compaign_send_complete_time":1765034409}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81619_06122025_084911PM_448
    [common_name] => u83_81619_06122025_084911PM_448
    [52] => 1765006623_u83_voice.wav
    [voice_file] => 1765006623_u83_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_68845
    [temp_group_table] => contacts_temp_group_68845
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765034588
    [last_credit_update_time] => 1765034588
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 156
    [user_voice_plan_id] => 156
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr51,u83
    [uphierarchy] => admin,sr51,u83
    [113] => 
    [extra_params_json] => 
)


Compaign : 81619
\compaign_type : Rans per 29.84266 
ans sms 398
dnd sms 120

require answer perrequire answer per : 83

user answer per : 45
below is the redis data 38 /n/r
only no answer and busy will be convert, total number require 38 /n/r
UPDATE voice_compaign_detail_81619 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81619 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 29 Total Failed : 68 no_answer_count : 23 Busy count :18 congestion_count : 9 failed_count : 18UPDATE voice_compaign_detail_81619 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81619 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81619 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81619 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='83', `user_busy_sms`='66', `user_congestion_sms`='9', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='78', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='120' WHERE `compaign_id`=81619 LIMIT 1 


Time Diff : 0.445

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775511'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775567'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775630'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775686'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775747'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775807'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775868'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775928'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764775987'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776045'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776112'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776167'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 53123
    [total_sms] => 53123
    [11] => 53123
    [sent_sms] => 53123
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 32531
    [failed_sms] => 32531
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32531
    [user_failed_sms] => 32531
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 186
    [credit_seq] => 186
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765035366
    [last_credit_update_time] => 1765035366
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.77089 
ans sms 53123
dnd sms 0

require answer perrequire answer per : 15284

user answer per : 534
below is the redis data 14750 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14750 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='32531', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.752

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776230'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776288'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776347'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776405'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776468'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776526'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776647'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776710'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776774'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776825'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776885'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764776951'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777008'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777065'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777128'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777188'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777249'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777310'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 54326
    [total_sms] => 54326
    [11] => 54326
    [sent_sms] => 54326
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 33734
    [failed_sms] => 33734
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 33734
    [user_failed_sms] => 33734
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 191
    [credit_seq] => 191
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765036450
    [last_credit_update_time] => 1765036450
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.37828 
ans sms 54326
dnd sms 0

require answer perrequire answer per : 15417

user answer per : 534
below is the redis data 14883 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14883 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='33734', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.756

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777370'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777433'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777487'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777549'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777613'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777668'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777724'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777790'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777845'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777909'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764777969'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037111
    [last_credit_update_time] => 1765037111
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.43628 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15090

user answer per : 534
below is the redis data 14556 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14556 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778031'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037111
    [last_credit_update_time] => 1765037111
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.02561 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14315

user answer per : 534
below is the redis data 13781 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13781 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 291
    [total_sms] => 291
    [11] => 291
    [sent_sms] => 291
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 291
    [failed_sms] => 291
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 291
    [user_failed_sms] => 291
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037229
    [last_credit_update_time] => 1765037229
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.3751 
ans sms 291
dnd sms 0

require answer perrequire answer per : 86

user answer per : 0
below is the redis data 86 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 86 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='296', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 7.423

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778085'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037111
    [last_credit_update_time] => 1765037111
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.5288 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15691

user answer per : 534
below is the redis data 15157 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15157 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778146'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 194
    [credit_seq] => 194
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037111
    [last_credit_update_time] => 1765037111
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.66874 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14118

user answer per : 534
below is the redis data 13584 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13584 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778208'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037351
    [last_credit_update_time] => 1765037351
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.03189 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15418

user answer per : 534
below is the redis data 14884 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14884 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778270'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037351
    [last_credit_update_time] => 1765037351
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.36345 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15600

user answer per : 534
below is the redis data 15066 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15066 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778326'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037351
    [last_credit_update_time] => 1765037351
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.52488 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15139

user answer per : 534
below is the redis data 14605 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14605 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778388'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 195
    [credit_seq] => 195
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037351
    [last_credit_update_time] => 1765037351
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.48259 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15666

user answer per : 534
below is the redis data 15132 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15132 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778448'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037589
    [last_credit_update_time] => 1765037589
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.13184 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13823

user answer per : 534
below is the redis data 13289 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13289 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778509'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037589
    [last_credit_update_time] => 1765037589
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.86061 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15324

user answer per : 534
below is the redis data 14790 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14790 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 846
    [total_sms] => 846
    [11] => 846
    [sent_sms] => 846
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 846
    [failed_sms] => 846
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 846
    [user_failed_sms] => 846
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 4
    [credit_seq] => 4
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037709
    [last_credit_update_time] => 1765037709
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.47948 
ans sms 846
dnd sms 0

require answer perrequire answer per : 225

user answer per : 0
below is the redis data 225 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 225 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='846', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 2.553

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778563'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037589
    [last_credit_update_time] => 1765037589
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.69699 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16884

user answer per : 534
below is the redis data 16350 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16350 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778628'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 196
    [credit_seq] => 196
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037589
    [last_credit_update_time] => 1765037589
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.82682 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16405

user answer per : 534
below is the redis data 15871 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15871 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778687'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 197
    [credit_seq] => 197
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037832
    [last_credit_update_time] => 1765037832
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.94392 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16470

user answer per : 534
below is the redis data 15936 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15936 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778750'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 197
    [credit_seq] => 197
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037832
    [last_credit_update_time] => 1765037832
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.56065 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14059

user answer per : 534
below is the redis data 13525 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13525 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778803'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 197
    [credit_seq] => 197
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037832
    [last_credit_update_time] => 1765037832
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.07665 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15443

user answer per : 534
below is the redis data 14909 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14909 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778867'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 197
    [credit_seq] => 197
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765037832
    [last_credit_update_time] => 1765037832
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.7826 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14181

user answer per : 534
below is the redis data 13647 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13647 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778925'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 198
    [credit_seq] => 198
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038072
    [last_credit_update_time] => 1765038072
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.86963 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16979

user answer per : 534
below is the redis data 16445 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16445 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764778990'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 198
    [credit_seq] => 198
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038072
    [last_credit_update_time] => 1765038072
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.74097 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15258

user answer per : 534
below is the redis data 14724 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14724 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1298
    [total_sms] => 1298
    [11] => 1298
    [sent_sms] => 1298
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1298
    [failed_sms] => 1298
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1298
    [user_failed_sms] => 1298
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038187
    [last_credit_update_time] => 1765038187
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.24318 
ans sms 1298
dnd sms 0

require answer perrequire answer per : 341

user answer per : 0
below is the redis data 341 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 341 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1299', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.664

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779046'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 198
    [credit_seq] => 198
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038072
    [last_credit_update_time] => 1765038072
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.8125 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14197

user answer per : 534
below is the redis data 13663 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13663 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779105'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 198
    [credit_seq] => 198
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038072
    [last_credit_update_time] => 1765038072
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.03451 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14869

user answer per : 534
below is the redis data 14335 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14335 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779171'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 199
    [credit_seq] => 199
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038309
    [last_credit_update_time] => 1765038309
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.46769 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14558

user answer per : 534
below is the redis data 14024 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14024 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779227'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 199
    [credit_seq] => 199
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038309
    [last_credit_update_time] => 1765038309
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.92766 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16461

user answer per : 534
below is the redis data 15927 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15927 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779291'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 199
    [credit_seq] => 199
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038309
    [last_credit_update_time] => 1765038309
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.3921 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14516

user answer per : 534
below is the redis data 13982 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13982 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779353'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 199
    [credit_seq] => 199
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038309
    [last_credit_update_time] => 1765038309
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.16641 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14942

user answer per : 534
below is the redis data 14408 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14408 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779406'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 200
    [credit_seq] => 200
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038553
    [last_credit_update_time] => 1765038553
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.34958 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15043

user answer per : 534
below is the redis data 14509 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14509 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779468'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 200
    [credit_seq] => 200
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038553
    [last_credit_update_time] => 1765038553
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.50159 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16226

user answer per : 534
below is the redis data 15692 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15692 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 8
    [credit_seq] => 8
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038609
    [last_credit_update_time] => 1765038609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.61803 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 491

user answer per : 0
below is the redis data 491 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 491 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779524'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 200
    [credit_seq] => 200
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038553
    [last_credit_update_time] => 1765038553
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.26901 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13898

user answer per : 534
below is the redis data 13364 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13364 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 8
    [credit_seq] => 8
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038609
    [last_credit_update_time] => 1765038609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.07289 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 499

user answer per : 0
below is the redis data 499 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 499 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779589'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 200
    [credit_seq] => 200
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038553
    [last_credit_update_time] => 1765038553
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.88904 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16439

user answer per : 534
below is the redis data 15905 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15905 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 8
    [credit_seq] => 8
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038609
    [last_credit_update_time] => 1765038609
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.55329 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 490

user answer per : 0
below is the redis data 490 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 490 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779652'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 201
    [credit_seq] => 201
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038789
    [last_credit_update_time] => 1765038789
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.83984 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16412

user answer per : 534
below is the redis data 15878 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15878 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 9
    [credit_seq] => 9
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038849
    [last_credit_update_time] => 1765038849
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.95027 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 571

user answer per : 0
below is the redis data 571 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 571 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779708'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 201
    [credit_seq] => 201
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038789
    [last_credit_update_time] => 1765038789
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.61528 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14639

user answer per : 534
below is the redis data 14105 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14105 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 9
    [credit_seq] => 9
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038849
    [last_credit_update_time] => 1765038849
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.02246 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 554

user answer per : 0
below is the redis data 554 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 554 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779768'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 201
    [credit_seq] => 201
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038789
    [last_credit_update_time] => 1765038789
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.75568 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14716

user answer per : 534
below is the redis data 14182 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14182 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 9
    [credit_seq] => 9
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038849
    [last_credit_update_time] => 1765038849
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.58766 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 491

user answer per : 0
below is the redis data 491 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 491 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779827'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 202
    [credit_seq] => 202
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039027
    [last_credit_update_time] => 1765039027
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.0552 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16531

user answer per : 534
below is the redis data 15997 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15997 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 9
    [credit_seq] => 9
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038849
    [last_credit_update_time] => 1765038849
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.9788 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 516

user answer per : 0
below is the redis data 516 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 516 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779886'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 202
    [credit_seq] => 202
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039027
    [last_credit_update_time] => 1765039027
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.5545 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15705

user answer per : 534
below is the redis data 15171 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15171 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 9
    [credit_seq] => 9
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765038849
    [last_credit_update_time] => 1765038849
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.71317 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 530

user answer per : 0
below is the redis data 530 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 530 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764779947'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 202
    [credit_seq] => 202
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039027
    [last_credit_update_time] => 1765039027
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.09987 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13805

user answer per : 534
below is the redis data 13271 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13271 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039088
    [last_credit_update_time] => 1765039088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.49345 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 544

user answer per : 0
below is the redis data 544 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 544 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780008'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 202
    [credit_seq] => 202
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039027
    [last_credit_update_time] => 1765039027
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.18261 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16601

user answer per : 534
below is the redis data 16067 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16067 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039088
    [last_credit_update_time] => 1765039088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.21159 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 520

user answer per : 0
below is the redis data 520 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 520 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780067'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 203
    [credit_seq] => 203
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039210
    [last_credit_update_time] => 1765039210
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.27309 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15551

user answer per : 534
below is the redis data 15017 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15017 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039088
    [last_credit_update_time] => 1765039088
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.57795 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 546

user answer per : 0
below is the redis data 546 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 546 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780131'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 203
    [credit_seq] => 203
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039210
    [last_credit_update_time] => 1765039210
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.89435 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15342

user answer per : 534
below is the redis data 14808 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14808 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039330
    [last_credit_update_time] => 1765039330
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.52183 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 563

user answer per : 0
below is the redis data 563 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 563 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780189'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 203
    [credit_seq] => 203
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039210
    [last_credit_update_time] => 1765039210
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.06888 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14888

user answer per : 534
below is the redis data 14354 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14354 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039330
    [last_credit_update_time] => 1765039330
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.98081 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 571

user answer per : 0
below is the redis data 571 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 571 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780248'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 203
    [credit_seq] => 203
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039210
    [last_credit_update_time] => 1765039210
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.6674 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15768

user answer per : 534
below is the redis data 15234 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15234 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039330
    [last_credit_update_time] => 1765039330
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.56881 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 490

user answer per : 0
below is the redis data 490 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 490 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780305'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 204
    [credit_seq] => 204
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039449
    [last_credit_update_time] => 1765039449
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.58865 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16274

user answer per : 534
below is the redis data 15740 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15740 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039330
    [last_credit_update_time] => 1765039330
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.48011 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 507

user answer per : 0
below is the redis data 507 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 507 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780365'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 204
    [credit_seq] => 204
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039449
    [last_credit_update_time] => 1765039449
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.8579 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15322

user answer per : 534
below is the redis data 14788 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14788 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 11
    [credit_seq] => 11
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039330
    [last_credit_update_time] => 1765039330
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.68105 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 492

user answer per : 0
below is the redis data 492 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 492 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780427'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 204
    [credit_seq] => 204
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039449
    [last_credit_update_time] => 1765039449
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.63975 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16302

user answer per : 534
below is the redis data 15768 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15768 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039567
    [last_credit_update_time] => 1765039567
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.71835 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 474

user answer per : 0
below is the redis data 474 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 474 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780493'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 204
    [credit_seq] => 204
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039449
    [last_credit_update_time] => 1765039449
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.44946 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13998

user answer per : 534
below is the redis data 13464 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13464 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039567
    [last_credit_update_time] => 1765039567
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.94069 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 497

user answer per : 0
below is the redis data 497 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 497 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780545'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 205
    [credit_seq] => 205
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039694
    [last_credit_update_time] => 1765039694
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.08536 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16547

user answer per : 534
below is the redis data 16013 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16013 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039567
    [last_credit_update_time] => 1765039567
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.7821 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 494

user answer per : 0
below is the redis data 494 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 494 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780607'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 205
    [credit_seq] => 205
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039694
    [last_credit_update_time] => 1765039694
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.21618 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14419

user answer per : 534
below is the redis data 13885 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13885 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 12
    [credit_seq] => 12
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039567
    [last_credit_update_time] => 1765039567
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.19092 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 520

user answer per : 0
below is the redis data 520 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 520 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780669'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 205
    [credit_seq] => 205
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039694
    [last_credit_update_time] => 1765039694
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.54299 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15699

user answer per : 534
below is the redis data 15165 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15165 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039808
    [last_credit_update_time] => 1765039808
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.87212 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 496

user answer per : 0
below is the redis data 496 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 496 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780729'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 205
    [credit_seq] => 205
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039694
    [last_credit_update_time] => 1765039694
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.46965 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14009

user answer per : 534
below is the redis data 13475 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13475 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039808
    [last_credit_update_time] => 1765039808
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.75489 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 549

user answer per : 0
below is the redis data 549 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 549 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780788'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 206
    [credit_seq] => 206
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039933
    [last_credit_update_time] => 1765039933
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.09355 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16552

user answer per : 534
below is the redis data 16018 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16018 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039808
    [last_credit_update_time] => 1765039808
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.50608 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 563

user answer per : 0
below is the redis data 563 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 563 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780853'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 206
    [credit_seq] => 206
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039933
    [last_credit_update_time] => 1765039933
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.99532 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14848

user answer per : 534
below is the redis data 14314 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14314 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040045
    [last_credit_update_time] => 1765040045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.93466 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 497

user answer per : 0
below is the redis data 497 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 497 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780905'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 206
    [credit_seq] => 206
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039933
    [last_credit_update_time] => 1765039933
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.98002 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17040

user answer per : 534
below is the redis data 16506 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16506 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040045
    [last_credit_update_time] => 1765040045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.27295 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 503

user answer per : 0
below is the redis data 503 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 503 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764780967'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 206
    [credit_seq] => 206
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765039933
    [last_credit_update_time] => 1765039933
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.8132 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14198

user answer per : 534
below is the redis data 13664 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13664 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040045
    [last_credit_update_time] => 1765040045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.93569 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 478

user answer per : 0
below is the redis data 478 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 478 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781024'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 207
    [credit_seq] => 207
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040168
    [last_credit_update_time] => 1765040168
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.88037 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15335

user answer per : 534
below is the redis data 14801 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14801 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 14
    [credit_seq] => 14
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040045
    [last_credit_update_time] => 1765040045
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.32503 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 504

user answer per : 0
below is the redis data 504 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 504 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781088'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 207
    [credit_seq] => 207
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040168
    [last_credit_update_time] => 1765040168
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.39038 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16165

user answer per : 534
below is the redis data 15631 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15631 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040226
    [last_credit_update_time] => 1765040226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.26184 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 503

user answer per : 0
below is the redis data 503 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 503 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781147'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 207
    [credit_seq] => 207
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040168
    [last_credit_update_time] => 1765040168
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.80283 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16392

user answer per : 534
below is the redis data 15858 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15858 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040226
    [last_credit_update_time] => 1765040226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.6863 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 529

user answer per : 0
below is the redis data 529 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 529 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781204'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 207
    [credit_seq] => 207
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040168
    [last_credit_update_time] => 1765040168
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.01567 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14859

user answer per : 534
below is the redis data 14325 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14325 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 15
    [credit_seq] => 15
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040226
    [last_credit_update_time] => 1765040226
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.53715 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 526

user answer per : 0
below is the redis data 526 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 526 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781270'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 208
    [credit_seq] => 208
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040411
    [last_credit_update_time] => 1765040411
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.3951 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14518

user answer per : 534
below is the redis data 13984 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13984 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040408
    [last_credit_update_time] => 1765040408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.56114 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 527

user answer per : 0
below is the redis data 527 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 527 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781330'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 208
    [credit_seq] => 208
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040411
    [last_credit_update_time] => 1765040411
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.25266 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14439

user answer per : 534
below is the redis data 13905 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13905 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040408
    [last_credit_update_time] => 1765040408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.20914 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 557

user answer per : 0
below is the redis data 557 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 557 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781388'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 208
    [credit_seq] => 208
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040411
    [last_credit_update_time] => 1765040411
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.97382 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15936

user answer per : 534
below is the redis data 15402 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15402 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 16
    [credit_seq] => 16
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040408
    [last_credit_update_time] => 1765040408
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.31515 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 559

user answer per : 0
below is the redis data 559 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 559 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781447'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 208
    [credit_seq] => 208
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040411
    [last_credit_update_time] => 1765040411
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.78 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14179

user answer per : 534
below is the redis data 13645 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13645 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 17
    [credit_seq] => 17
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040646
    [last_credit_update_time] => 1765040646
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.53851 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 508

user answer per : 0
below is the redis data 508 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 508 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781505'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 209
    [credit_seq] => 209
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040648
    [last_credit_update_time] => 1765040648
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.84781 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15867

user answer per : 534
below is the redis data 15333 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15333 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 17
    [credit_seq] => 17
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040646
    [last_credit_update_time] => 1765040646
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.62174 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 546

user answer per : 0
below is the redis data 546 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 546 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781573'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 209
    [credit_seq] => 209
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040648
    [last_credit_update_time] => 1765040648
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.93086 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14812

user answer per : 534
below is the redis data 14278 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14278 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 17
    [credit_seq] => 17
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040646
    [last_credit_update_time] => 1765040646
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.24362 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 521

user answer per : 0
below is the redis data 521 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 521 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781627'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 209
    [credit_seq] => 209
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040648
    [last_credit_update_time] => 1765040648
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.45661 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14552

user answer per : 534
below is the redis data 14018 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14018 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 17
    [credit_seq] => 17
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040646
    [last_credit_update_time] => 1765040646
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.54531 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 490

user answer per : 0
below is the redis data 490 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 490 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781684'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 210
    [credit_seq] => 210
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040831
    [last_credit_update_time] => 1765040831
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.53023 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16242

user answer per : 534
below is the redis data 15708 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15708 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040829
    [last_credit_update_time] => 1765040829
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.36278 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 560

user answer per : 0
below is the redis data 560 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 560 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781748'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 210
    [credit_seq] => 210
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040831
    [last_credit_update_time] => 1765040831
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.41515 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13979

user answer per : 534
below is the redis data 13445 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13445 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040829
    [last_credit_update_time] => 1765040829
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.18378 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 557

user answer per : 0
below is the redis data 557 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 557 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781809'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 210
    [credit_seq] => 210
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040831
    [last_credit_update_time] => 1765040831
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.50124 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14576

user answer per : 534
below is the redis data 14042 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14042 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 18
    [credit_seq] => 18
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040829
    [last_credit_update_time] => 1765040829
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.39737 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 505

user answer per : 0
below is the redis data 505 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 505 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781869'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 210
    [credit_seq] => 210
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765040831
    [last_credit_update_time] => 1765040831
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.34874 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15592

user answer per : 534
below is the redis data 15058 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15058 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041010
    [last_credit_update_time] => 1765041010
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.91348 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 497

user answer per : 0
below is the redis data 497 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 497 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781929'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 211
    [credit_seq] => 211
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041069
    [last_credit_update_time] => 1765041069
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.67006 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16869

user answer per : 534
below is the redis data 16335 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16335 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041010
    [last_credit_update_time] => 1765041010
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.6026 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 546

user answer per : 0
below is the redis data 546 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 546 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764781986'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 211
    [credit_seq] => 211
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041069
    [last_credit_update_time] => 1765041069
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.48063 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15665

user answer per : 534
below is the redis data 15131 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15131 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 19
    [credit_seq] => 19
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041010
    [last_credit_update_time] => 1765041010
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.21015 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 465

user answer per : 0
below is the redis data 465 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 465 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782048'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 211
    [credit_seq] => 211
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041069
    [last_credit_update_time] => 1765041069
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.09662 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13804

user answer per : 534
below is the redis data 13270 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13270 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041243
    [last_credit_update_time] => 1765041243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.58543 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 546

user answer per : 0
below is the redis data 546 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 546 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782105'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 211
    [credit_seq] => 211
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041069
    [last_credit_update_time] => 1765041069
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.13906 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16027

user answer per : 534
below is the redis data 15493 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15493 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041243
    [last_credit_update_time] => 1765041243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.44852 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 470

user answer per : 0
below is the redis data 470 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 470 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782164'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 212
    [credit_seq] => 212
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041307
    [last_credit_update_time] => 1765041307
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.02308 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15963

user answer per : 534
below is the redis data 15429 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15429 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041243
    [last_credit_update_time] => 1765041243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.58052 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 527

user answer per : 0
below is the redis data 527 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 527 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782225'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 212
    [credit_seq] => 212
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041307
    [last_credit_update_time] => 1765041307
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.12895 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16571

user answer per : 534
below is the redis data 16037 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16037 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 20
    [credit_seq] => 20
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041243
    [last_credit_update_time] => 1765041243
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.23526 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 539

user answer per : 0
below is the redis data 539 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 539 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782282'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 212
    [credit_seq] => 212
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041307
    [last_credit_update_time] => 1765041307
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.58746 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14074

user answer per : 534
below is the redis data 13540 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13540 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041425
    [last_credit_update_time] => 1765041425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.95474 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 571

user answer per : 0
below is the redis data 571 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 571 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782343'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 212
    [credit_seq] => 212
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041307
    [last_credit_update_time] => 1765041307
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.36554 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16152

user answer per : 534
below is the redis data 15618 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15618 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041425
    [last_credit_update_time] => 1765041425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.11401 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 500

user answer per : 0
below is the redis data 500 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 500 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782404'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 213
    [credit_seq] => 213
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041545
    [last_credit_update_time] => 1765041545
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.14176 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14378

user answer per : 534
below is the redis data 13844 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13844 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041425
    [last_credit_update_time] => 1765041425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.01064 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 554

user answer per : 0
below is the redis data 554 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 554 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782465'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 213
    [credit_seq] => 213
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041545
    [last_credit_update_time] => 1765041545
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.33406 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16684

user answer per : 534
below is the redis data 16150 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16150 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 21
    [credit_seq] => 21
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041425
    [last_credit_update_time] => 1765041425
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.52171 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 489

user answer per : 0
below is the redis data 489 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 489 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782530'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 213
    [credit_seq] => 213
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041545
    [last_credit_update_time] => 1765041545
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.21945 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14421

user answer per : 534
below is the redis data 13887 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13887 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041666
    [last_credit_update_time] => 1765041666
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.91308 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 533

user answer per : 0
below is the redis data 533 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 533 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782584'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 214
    [credit_seq] => 214
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041731
    [last_credit_update_time] => 1765041731
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.60662 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15184

user answer per : 534
below is the redis data 14650 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14650 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041666
    [last_credit_update_time] => 1765041666
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.11029 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 555

user answer per : 0
below is the redis data 555 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 555 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782646'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 214
    [credit_seq] => 214
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041731
    [last_credit_update_time] => 1765041731
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.17114 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15495

user answer per : 534
below is the redis data 14961 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14961 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041666
    [last_credit_update_time] => 1765041666
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.82609 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 569

user answer per : 0
below is the redis data 569 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 569 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782707'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 214
    [credit_seq] => 214
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041731
    [last_credit_update_time] => 1765041731
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.97936 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15939

user answer per : 534
below is the redis data 15405 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15405 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 22
    [credit_seq] => 22
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041666
    [last_credit_update_time] => 1765041666
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.48923 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 507

user answer per : 0
below is the redis data 507 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 507 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782769'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 215
    [credit_seq] => 215
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041969
    [last_credit_update_time] => 1765041969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.30777 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16120

user answer per : 534
below is the redis data 15586 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15586 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 23
    [credit_seq] => 23
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041907
    [last_credit_update_time] => 1765041907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.23977 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 558

user answer per : 0
below is the redis data 558 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 558 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782828'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 215
    [credit_seq] => 215
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041969
    [last_credit_update_time] => 1765041969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.23897 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13882

user answer per : 534
below is the redis data 13348 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13348 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 23
    [credit_seq] => 23
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041907
    [last_credit_update_time] => 1765041907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.40728 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 487

user answer per : 0
below is the redis data 487 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 487 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782883'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 215
    [credit_seq] => 215
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041969
    [last_credit_update_time] => 1765041969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.60775 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14635

user answer per : 534
below is the redis data 14101 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14101 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 23
    [credit_seq] => 23
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041907
    [last_credit_update_time] => 1765041907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.17437 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 464

user answer per : 0
below is the redis data 464 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 464 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764782945'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 215
    [credit_seq] => 215
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041969
    [last_credit_update_time] => 1765041969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.35447 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16145

user answer per : 534
below is the redis data 15611 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15611 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 23
    [credit_seq] => 23
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041907
    [last_credit_update_time] => 1765041907
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.24554 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 539

user answer per : 0
below is the redis data 539 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 539 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783002'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 215
    [credit_seq] => 215
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765041969
    [last_credit_update_time] => 1765041969
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.32882 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16681

user answer per : 534
below is the redis data 16147 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16147 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042146
    [last_credit_update_time] => 1765042146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.76352 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 531

user answer per : 0
below is the redis data 531 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 531 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783063'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 216
    [credit_seq] => 216
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042204
    [last_credit_update_time] => 1765042204
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.91253 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14802

user answer per : 534
below is the redis data 14268 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14268 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042146
    [last_credit_update_time] => 1765042146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.48351 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 489

user answer per : 0
below is the redis data 489 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 489 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783125'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 216
    [credit_seq] => 216
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042204
    [last_credit_update_time] => 1765042204
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.16687 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16592

user answer per : 534
below is the redis data 16058 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16058 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042146
    [last_credit_update_time] => 1765042146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.5805 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 509

user answer per : 0
below is the redis data 509 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 509 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783184'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 216
    [credit_seq] => 216
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042204
    [last_credit_update_time] => 1765042204
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.64072 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15203

user answer per : 534
below is the redis data 14669 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14669 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 24
    [credit_seq] => 24
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042146
    [last_credit_update_time] => 1765042146
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.35247 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 505

user answer per : 0
below is the redis data 505 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 505 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783242'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 216
    [credit_seq] => 216
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042204
    [last_credit_update_time] => 1765042204
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.73237 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14153

user answer per : 534
below is the redis data 13619 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13619 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042384
    [last_credit_update_time] => 1765042384
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.94032 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 497

user answer per : 0
below is the redis data 497 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 497 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783303'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 217
    [credit_seq] => 217
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042444
    [last_credit_update_time] => 1765042444
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.50691 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16229

user answer per : 534
below is the redis data 15695 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15695 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042384
    [last_credit_update_time] => 1765042384
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.38925 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 561

user answer per : 0
below is the redis data 561 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 561 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783361'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 217
    [credit_seq] => 217
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042444
    [last_credit_update_time] => 1765042444
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.71184 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15242

user answer per : 534
below is the redis data 14708 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14708 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042384
    [last_credit_update_time] => 1765042384
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.169 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 501

user answer per : 0
below is the redis data 501 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 501 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783422'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 217
    [credit_seq] => 217
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042444
    [last_credit_update_time] => 1765042444
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.33999 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13937

user answer per : 534
below is the redis data 13403 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13403 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 25
    [credit_seq] => 25
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042384
    [last_credit_update_time] => 1765042384
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.93016 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 552

user answer per : 0
below is the redis data 552 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 552 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783483'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 217
    [credit_seq] => 217
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042444
    [last_credit_update_time] => 1765042444
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.70049 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15786

user answer per : 534
below is the redis data 15252 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15252 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042622
    [last_credit_update_time] => 1765042622
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.73399 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 530

user answer per : 0
below is the redis data 530 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 530 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783541'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 218
    [credit_seq] => 218
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042684
    [last_credit_update_time] => 1765042684
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.58025 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14620

user answer per : 534
below is the redis data 14086 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14086 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042622
    [last_credit_update_time] => 1765042622
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.71709 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 567

user answer per : 0
below is the redis data 567 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 567 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783602'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 218
    [credit_seq] => 218
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042684
    [last_credit_update_time] => 1765042684
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.6389 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15752

user answer per : 534
below is the redis data 15218 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15218 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042622
    [last_credit_update_time] => 1765042622
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.07143 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 555

user answer per : 0
below is the redis data 555 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 555 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783662'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 218
    [credit_seq] => 218
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042684
    [last_credit_update_time] => 1765042684
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.22591 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16075

user answer per : 534
below is the redis data 15541 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15541 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 26
    [credit_seq] => 26
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042622
    [last_credit_update_time] => 1765042622
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.60977 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 565

user answer per : 0
below is the redis data 565 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 565 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783722'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 218
    [credit_seq] => 218
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042684
    [last_credit_update_time] => 1765042684
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.28193 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16656

user answer per : 534
below is the redis data 16122 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16122 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 27
    [credit_seq] => 27
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042862
    [last_credit_update_time] => 1765042862
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.60843 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 528

user answer per : 0
below is the redis data 528 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 528 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783783'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 219
    [credit_seq] => 219
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042923
    [last_credit_update_time] => 1765042923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.30341 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13917

user answer per : 534
below is the redis data 13383 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13383 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 27
    [credit_seq] => 27
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042862
    [last_credit_update_time] => 1765042862
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.63327 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 547

user answer per : 0
below is the redis data 547 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 547 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783843'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 219
    [credit_seq] => 219
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042923
    [last_credit_update_time] => 1765042923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.10959 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15461

user answer per : 534
below is the redis data 14927 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14927 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 27
    [credit_seq] => 27
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042862
    [last_credit_update_time] => 1765042862
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.50362 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 471

user answer per : 0
below is the redis data 471 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 471 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783901'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 219
    [credit_seq] => 219
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042923
    [last_credit_update_time] => 1765042923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.10462 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13808

user answer per : 534
below is the redis data 13274 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13274 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043101
    [last_credit_update_time] => 1765043101
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.97687 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 571

user answer per : 0
below is the redis data 571 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 571 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764783962'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 219
    [credit_seq] => 219
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765042923
    [last_credit_update_time] => 1765042923
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.98004 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14290

user answer per : 534
below is the redis data 13756 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13756 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043101
    [last_credit_update_time] => 1765043101
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.22296 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 539

user answer per : 0
below is the redis data 539 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 539 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784021'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 220
    [credit_seq] => 220
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043162
    [last_credit_update_time] => 1765043162
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.18736 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16604

user answer per : 534
below is the redis data 16070 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16070 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043101
    [last_credit_update_time] => 1765043101
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.70163 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 493

user answer per : 0
below is the redis data 493 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 493 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784081'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 220
    [credit_seq] => 220
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043162
    [last_credit_update_time] => 1765043162
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.49996 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16775

user answer per : 534
below is the redis data 16241 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16241 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 28
    [credit_seq] => 28
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043101
    [last_credit_update_time] => 1765043101
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.19541 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 520

user answer per : 0
below is the redis data 520 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 520 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784143'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 220
    [credit_seq] => 220
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043162
    [last_credit_update_time] => 1765043162
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.41342 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16178

user answer per : 534
below is the redis data 15644 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15644 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043282
    [last_credit_update_time] => 1765043282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.41947 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 543

user answer per : 0
below is the redis data 543 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 543 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784201'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 220
    [credit_seq] => 220
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043162
    [last_credit_update_time] => 1765043162
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.01483 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14309

user answer per : 534
below is the redis data 13775 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13775 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043282
    [last_credit_update_time] => 1765043282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.76569 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 475

user answer per : 0
below is the redis data 475 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 475 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784262'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 221
    [credit_seq] => 221
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043402
    [last_credit_update_time] => 1765043402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.6206 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15742

user answer per : 534
below is the redis data 15208 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15208 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 29
    [credit_seq] => 29
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043282
    [last_credit_update_time] => 1765043282
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.46195 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 543

user answer per : 0
below is the redis data 543 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 543 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784322'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 221
    [credit_seq] => 221
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043402
    [last_credit_update_time] => 1765043402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.77936 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16929

user answer per : 534
below is the redis data 16395 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16395 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043522
    [last_credit_update_time] => 1765043522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.91566 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 533

user answer per : 0
below is the redis data 533 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 533 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784382'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 221
    [credit_seq] => 221
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043402
    [last_credit_update_time] => 1765043402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.57925 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14069

user answer per : 534
below is the redis data 13535 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13535 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043522
    [last_credit_update_time] => 1765043522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.14411 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 482

user answer per : 0
below is the redis data 482 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 482 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784441'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 221
    [credit_seq] => 221
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043402
    [last_credit_update_time] => 1765043402
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.42205 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16183

user answer per : 534
below is the redis data 15649 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15649 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043522
    [last_credit_update_time] => 1765043522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.09649 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 555

user answer per : 0
below is the redis data 555 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 555 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784502'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 222
    [credit_seq] => 222
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043642
    [last_credit_update_time] => 1765043642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.57183 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16265

user answer per : 534
below is the redis data 15731 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15731 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 30
    [credit_seq] => 30
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043522
    [last_credit_update_time] => 1765043522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.9608 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 553

user answer per : 0
below is the redis data 553 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 553 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784561'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 222
    [credit_seq] => 222
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043642
    [last_credit_update_time] => 1765043642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.92954 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17012

user answer per : 534
below is the redis data 16478 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16478 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043522
    [last_credit_update_time] => 1765043522
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.89162 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 478

user answer per : 0
below is the redis data 478 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 478 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784621'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 222
    [credit_seq] => 222
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043642
    [last_credit_update_time] => 1765043642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.9004 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16446

user answer per : 534
below is the redis data 15912 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15912 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043761
    [last_credit_update_time] => 1765043761
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.17858 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 538

user answer per : 0
below is the redis data 538 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 538 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784681'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 222
    [credit_seq] => 222
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043642
    [last_credit_update_time] => 1765043642
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.99728 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14849

user answer per : 534
below is the redis data 14315 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14315 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043761
    [last_credit_update_time] => 1765043761
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.34664 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 486

user answer per : 0
below is the redis data 486 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 486 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784741'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 223
    [credit_seq] => 223
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043881
    [last_credit_update_time] => 1765043881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.96726 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16482

user answer per : 534
below is the redis data 15948 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15948 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043761
    [last_credit_update_time] => 1765043761
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.00733 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 461

user answer per : 0
below is the redis data 461 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 461 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784802'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 223
    [credit_seq] => 223
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043881
    [last_credit_update_time] => 1765043881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.34933 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15593

user answer per : 534
below is the redis data 15059 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15059 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 31
    [credit_seq] => 31
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043761
    [last_credit_update_time] => 1765043761
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.36828 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 505

user answer per : 0
below is the redis data 505 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 505 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784861'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 223
    [credit_seq] => 223
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043881
    [last_credit_update_time] => 1765043881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.56067 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15709

user answer per : 534
below is the redis data 15175 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15175 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044002
    [last_credit_update_time] => 1765044002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.78998 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 476

user answer per : 0
below is the redis data 476 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 476 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784921'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 223
    [credit_seq] => 223
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765043881
    [last_credit_update_time] => 1765043881
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.93034 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17012

user answer per : 534
below is the redis data 16478 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16478 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044002
    [last_credit_update_time] => 1765044002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.57636 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 546

user answer per : 0
below is the redis data 546 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 546 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764784982'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 224
    [credit_seq] => 224
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044122
    [last_credit_update_time] => 1765044122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.64862 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15757

user answer per : 534
below is the redis data 15223 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15223 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 32
    [credit_seq] => 32
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044002
    [last_credit_update_time] => 1765044002
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.46777 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 470

user answer per : 0
below is the redis data 470 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 470 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785041'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 224
    [credit_seq] => 224
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044122
    [last_credit_update_time] => 1765044122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.77367 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14176

user answer per : 534
below is the redis data 13642 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13642 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044241
    [last_credit_update_time] => 1765044241
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.51039 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 544

user answer per : 0
below is the redis data 544 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 544 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785102'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 224
    [credit_seq] => 224
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044122
    [last_credit_update_time] => 1765044122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.66331 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14665

user answer per : 534
below is the redis data 14131 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14131 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044241
    [last_credit_update_time] => 1765044241
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.96057 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 497

user answer per : 0
below is the redis data 497 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 497 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785161'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 224
    [credit_seq] => 224
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044122
    [last_credit_update_time] => 1765044122
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.39787 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13969

user answer per : 534
below is the redis data 13435 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13435 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044241
    [last_credit_update_time] => 1765044241
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.6037 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 509

user answer per : 0
below is the redis data 509 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 509 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785221'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 225
    [credit_seq] => 225
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044361
    [last_credit_update_time] => 1765044361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.62011 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14642

user answer per : 534
below is the redis data 14108 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14108 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044241
    [last_credit_update_time] => 1765044241
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.31745 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 522

user answer per : 0
below is the redis data 522 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 522 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785281'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 225
    [credit_seq] => 225
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044361
    [last_credit_update_time] => 1765044361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.14141 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16028

user answer per : 534
below is the redis data 15494 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15494 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 33
    [credit_seq] => 33
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044241
    [last_credit_update_time] => 1765044241
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.52898 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 471

user answer per : 0
below is the redis data 471 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 471 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785342'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 225
    [credit_seq] => 225
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044361
    [last_credit_update_time] => 1765044361
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.03941 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15972

user answer per : 534
below is the redis data 15438 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15438 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044481
    [last_credit_update_time] => 1765044481
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.30709 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 541

user answer per : 0
below is the redis data 541 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 541 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785401'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 226
    [credit_seq] => 226
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044545
    [last_credit_update_time] => 1765044545
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.16362 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 13840

user answer per : 534
below is the redis data 13306 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13306 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044481
    [last_credit_update_time] => 1765044481
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.80827 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 476

user answer per : 0
below is the redis data 476 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 476 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785462'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 226
    [credit_seq] => 226
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044545
    [last_credit_update_time] => 1765044545
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.7627 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16920

user answer per : 534
below is the redis data 16386 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16386 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 34
    [credit_seq] => 34
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044481
    [last_credit_update_time] => 1765044481
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.03251 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 517

user answer per : 0
below is the redis data 517 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 517 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785521'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 226
    [credit_seq] => 226
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044545
    [last_credit_update_time] => 1765044545
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.30592 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15569

user answer per : 534
below is the redis data 15035 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15035 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044721
    [last_credit_update_time] => 1765044721
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.01059 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 554

user answer per : 0
below is the redis data 554 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 554 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785581'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 226
    [credit_seq] => 226
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044545
    [last_credit_update_time] => 1765044545
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.44251 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14544

user answer per : 534
below is the redis data 14010 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14010 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044721
    [last_credit_update_time] => 1765044721
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.80277 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 513

user answer per : 0
below is the redis data 513 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 513 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785642'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044784
    [last_credit_update_time] => 1765044784
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.71871 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15796

user answer per : 534
below is the redis data 15262 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15262 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044721
    [last_credit_update_time] => 1765044721
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.01731 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 480

user answer per : 0
below is the redis data 480 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 480 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785701'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044784
    [last_credit_update_time] => 1765044784
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.68898 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14679

user answer per : 534
below is the redis data 14145 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14145 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 35
    [credit_seq] => 35
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044721
    [last_credit_update_time] => 1765044721
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.60846 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 509

user answer per : 0
below is the redis data 509 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 509 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785762'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044784
    [last_credit_update_time] => 1765044784
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.12258 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14368

user answer per : 534
below is the redis data 13834 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13834 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044962
    [last_credit_update_time] => 1765044962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.9977 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 498

user answer per : 0
below is the redis data 498 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 498 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785821'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 227
    [credit_seq] => 227
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044784
    [last_credit_update_time] => 1765044784
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.27798 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15553

user answer per : 534
below is the redis data 15019 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15019 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044962
    [last_credit_update_time] => 1765044962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.47655 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 507

user answer per : 0
below is the redis data 507 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 507 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785881'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 228
    [credit_seq] => 228
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045023
    [last_credit_update_time] => 1765045023
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.78229 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14181

user answer per : 534
below is the redis data 13647 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13647 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044962
    [last_credit_update_time] => 1765044962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.33334 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 523

user answer per : 0
below is the redis data 523 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 523 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764785942'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 228
    [credit_seq] => 228
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045023
    [last_credit_update_time] => 1765045023
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 25.56141 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14059

user answer per : 534
below is the redis data 13525 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13525 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 36
    [credit_seq] => 36
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765044962
    [last_credit_update_time] => 1765044962
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.60435 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 546

user answer per : 0
below is the redis data 546 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 546 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786001'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 228
    [credit_seq] => 228
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045023
    [last_credit_update_time] => 1765045023
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.9779 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15938

user answer per : 534
below is the redis data 15404 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15404 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 37
    [credit_seq] => 37
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045201
    [last_credit_update_time] => 1765045201
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.15086 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 556

user answer per : 0
below is the redis data 556 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 556 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786062'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 228
    [credit_seq] => 228
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045023
    [last_credit_update_time] => 1765045023
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.24056 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14433

user answer per : 534
below is the redis data 13899 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13899 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 37
    [credit_seq] => 37
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045201
    [last_credit_update_time] => 1765045201
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.04103 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 462

user answer per : 0
below is the redis data 462 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 462 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786122'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 229
    [credit_seq] => 229
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045268
    [last_credit_update_time] => 1765045268
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 29.25208 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 16089

user answer per : 534
below is the redis data 15555 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15555 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 37
    [credit_seq] => 37
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045201
    [last_credit_update_time] => 1765045201
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 28.20796 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 520

user answer per : 0
below is the redis data 520 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 520 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786181'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 229
    [credit_seq] => 229
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045268
    [last_credit_update_time] => 1765045268
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.48925 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14570

user answer per : 534
below is the redis data 14036 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14036 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 37
    [credit_seq] => 37
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045201
    [last_credit_update_time] => 1765045201
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 27.80548 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 513

user answer per : 0
below is the redis data 513 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 513 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786241'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 229
    [credit_seq] => 229
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045268
    [last_credit_update_time] => 1765045268
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.8241 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15304

user answer per : 534
below is the redis data 14770 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14770 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 37
    [credit_seq] => 37
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045201
    [last_credit_update_time] => 1765045201
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 25.91552 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 478

user answer per : 0
below is the redis data 478 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 478 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786301'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 229
    [credit_seq] => 229
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045268
    [last_credit_update_time] => 1765045268
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.03101 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14318

user answer per : 534
below is the redis data 13784 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13784 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045441
    [last_credit_update_time] => 1765045441
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.09734 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 537

user answer per : 0
below is the redis data 537 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 537 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786362'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 230
    [credit_seq] => 230
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045504
    [last_credit_update_time] => 1765045504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 26.00354 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 14302

user answer per : 534
below is the redis data 13768 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13768 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045441
    [last_credit_update_time] => 1765045441
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 30.66838 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 566

user answer per : 0
below is the redis data 566 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 566 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786421'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 230
    [credit_seq] => 230
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045504
    [last_credit_update_time] => 1765045504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 30.90862 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 17000

user answer per : 534
below is the redis data 16466 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16466 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045441
    [last_credit_update_time] => 1765045441
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.85034 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 495

user answer per : 0
below is the redis data 495 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 495 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786481'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 230
    [credit_seq] => 230
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045504
    [last_credit_update_time] => 1765045504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 27.75674 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15267

user answer per : 534
below is the redis data 14733 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14733 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 38
    [credit_seq] => 38
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045441
    [last_credit_update_time] => 1765045441
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 29.50687 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 544

user answer per : 0
below is the redis data 544 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 544 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786541'  
Array
(
    [0] => 81161
    [compaign_id] => 81161
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1764991803
    [start_date] => 1764991803
    [9] => 0
    [end_date] => 0
    [10] => 55000
    [total_sms] => 55000
    [11] => 55000
    [sent_sms] => 55000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 532
    [answered_sms] => 532
    [14] => 17685
    [busy_sms] => 17685
    [15] => 2
    [congestion_sms] => 2
    [16] => 34408
    [failed_sms] => 34408
    [17] => 0
    [hangup_sms] => 0
    [18] => 2373
    [no_answer_sms] => 2373
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 534
    [user_answered_sms] => 534
    [27] => 17685
    [user_busy_sms] => 17685
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34408
    [user_failed_sms] => 34408
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2373
    [user_no_answer_sms] => 2373
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 230
    [credit_seq] => 230
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045504
    [last_credit_update_time] => 1765045504
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81161
\compaign_type : ATans per 28.62391 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15744

user answer per : 534
below is the redis data 15210 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15210 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='534', `user_busy_sms`='17685', `user_congestion_sms`='0', `user_failed_sms`='34408', `user_hangup_sms`='0', `user_no_answer_sms`='2373', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81161 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81622
    [compaign_id] => 81622
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765037019
    [start_date] => 1765037019
    [9] => 0
    [end_date] => 0
    [10] => 1843
    [total_sms] => 1843
    [11] => 1843
    [sent_sms] => 1843
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1843
    [failed_sms] => 1843
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1843
    [user_failed_sms] => 1843
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 39
    [credit_seq] => 39
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045681
    [last_credit_update_time] => 1765045681
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81622
\compaign_type : ATans per 26.43021 
ans sms 1843
dnd sms 0

require answer perrequire answer per : 488

user answer per : 0
below is the redis data 488 UPDATE voice_compaign_detail_81622 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 488 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1843', `user_hangup_sms`='0', `user_no_answer_sms`='0', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81622 LIMIT 1 


Time Diff : 1.172